Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006073/0.006073, allocations: 171.5 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03754/0.03754, allocations: 8.794 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.2 MB / 250.7 MB, free: 6.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 99.58 kB / 304 MB, free: 4.043 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003907, allocations: 12 kB / 367.2 MB, free: 4.879 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3148, allocations: 52.54 MB / 419.7 MB, free: 48.2 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.4539, allocations: 117.1 MB / 0.5242 GB, free: 3.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.4542, allocations: 79.97 kB / 0.5243 GB, free: 3.879 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5388/0.993, allocations: 156 MB / 0.6766 GB, free: 26.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.993, allocations: 0 / 0.6766 GB, free: 26.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002374/0.9933, allocations: 87.88 kB / 0.6767 GB, free: 26.87 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01064/1.004, allocations: 3.878 MB / 0.6804 GB, free: 22.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/1.004, allocations: 8.562 kB / 0.6805 GB, free: 22.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001879/1.006, allocations: 0.5606 MB / 0.681 GB, free: 22.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/1.011, allocations: 0.8734 MB / 0.6819 GB, free: 21.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008893/1.02, allocations: 3.556 MB / 0.6853 GB, free: 17.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/1.02, allocations: 279.4 kB / 0.6856 GB, free: 17.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/1.021, allocations: 363.9 kB / 0.6859 GB, free: 17.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007695/1.029, allocations: 4.608 MB / 0.6904 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.319e-05/1.029, allocations: 11.91 kB / 0.6905 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003219/1.029, allocations: 152 kB / 0.6906 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/1.029, allocations: 151.3 kB / 0.6907 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005939/1.035, allocations: 3.675 MB / 0.6943 GB, free: 8.492 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02432/1.06, allocations: 15.54 MB / 0.7095 GB, free: 8.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006264/1.066, allocations: 6.259 MB / 0.7156 GB, free: 1.441 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007917/1.074, allocations: 4.161 MB / 0.7197 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/1.074, allocations: 51.88 kB / 0.7197 GB, free: 13.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=134): time 3.367e-06/1.074, allocations: 4 kB / 0.7197 GB, free: 13.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=166): time 0.01287/1.087, allocations: 6.205 MB / 0.7258 GB, free: 6.734 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/1.087, allocations: 68.72 kB / 0.7259 GB, free: 6.656 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/1.09, allocations: 1.788 MB / 0.7276 GB, free: 4.836 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/1.09, allocations: 57.64 kB / 0.7277 GB, free: 4.773 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/1.091, allocations: 1.68 MB / 0.7293 GB, free: 3.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005513/1.092, allocations: 0.57 MB / 0.7299 GB, free: 2.492 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/1.092, allocations: 44 kB / 0.7299 GB, free: 2.449 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002197/1.092, allocations: 398.4 kB / 0.7303 GB, free: 2.055 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/1.094, allocations: 0.7814 MB / 0.731 GB, free: 1.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2367/1.33, allocations: 1.512 MB / 0.7325 GB, free: 75.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/1.342, allocations: 2.668 MB / 0.7351 GB, free: 75.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-05/1.342, allocations: 5 kB / 0.7351 GB, free: 75.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=287) (initialization): time 0.004641/1.347, allocations: 2.907 MB / 0.738 GB, free: 75.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/1.347, allocations: 14.84 kB / 0.738 GB, free: 75.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/1.347, allocations: 27.72 kB / 0.738 GB, free: 75.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009553/1.348, allocations: 398 kB / 0.7384 GB, free: 75.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.349, allocations: 487.8 kB / 0.7389 GB, free: 75.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00441/1.354, allocations: 4.229 MB / 0.743 GB, free: 73.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/1.356, allocations: 93.05 kB / 0.7431 GB, free: 73.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/1.356, allocations: 98.48 kB / 0.7432 GB, free: 73.87 MB / 458.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: smee.is[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002173/1.358, allocations: 1.089 MB / 0.7442 GB, free: 73.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/1.359, allocations: 226.9 kB / 0.7445 GB, free: 73.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/1.362, allocations: 2.079 MB / 0.7465 GB, free: 73.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.362, allocations: 13.84 kB / 0.7465 GB, free: 73.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/1.362, allocations: 6.844 kB / 0.7465 GB, free: 73.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/1.362, allocations: 9.375 kB / 0.7465 GB, free: 73.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008339/1.37, allocations: 5.553 MB / 0.7519 GB, free: 73.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/1.37, allocations: 0 / 0.7519 GB, free: 73.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/1.372, allocations: 282.8 kB / 0.7522 GB, free: 73.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007757/1.372, allocations: 310.5 kB / 0.7525 GB, free: 73.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.373, allocations: 45.17 kB / 0.7525 GB, free: 73.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004094/1.377, allocations: 3.819 MB / 0.7563 GB, free: 71.74 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.377, allocations: 7.094 kB / 0.7563 GB, free: 71.74 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/1.382, allocations: 3.264 MB / 0.7595 GB, free: 71.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.383, allocations: 477.1 kB / 0.7599 GB, free: 70.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/1.383, allocations: 37.5 kB / 0.76 GB, free: 70.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.384, allocations: 61.8 kB / 0.76 GB, free: 70.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/1.385, allocations: 119 kB / 0.7601 GB, free: 70.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.424e-05/1.385, allocations: 46.69 kB / 0.7602 GB, free: 70.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002114/1.387, allocations: 1.35 MB / 0.7615 GB, free: 70.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.387, allocations: 0 / 0.7615 GB, free: 70.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002543/1.389, allocations: 0.6957 MB / 0.7622 GB, free: 70.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 5 (smee.phiMechanical,smee.is[2],smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,68.8%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005183/1.395, allocations: 4.82 MB / 0.7669 GB, free: 68.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003464/1.398, allocations: 2.339 MB / 0.7692 GB, free: 68.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.398, allocations: 0 / 0.7692 GB, free: 68.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/1.4, allocations: 1.13 MB / 0.7703 GB, free: 68.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/1.402, allocations: 0.5428 MB / 0.7708 GB, free: 68.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03625/1.439, allocations: 34.23 MB / 0.8042 GB, free: 44.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002496/1.441, allocations: 2.509 MB / 0.8067 GB, free: 43.24 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002247/1.443, allocations: 0.4941 MB / 0.8072 GB, free: 43.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/1.445, allocations: 1.323 MB / 0.8084 GB, free: 42.08 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/1.445, allocations: 0 / 0.8084 GB, free: 42.08 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08843/1.533, allocations: 57.65 MB / 0.8647 GB, free: 25.14 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/1.534, allocations: 203.4 kB / 0.8649 GB, free: 24.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/5.077, allocations: 0 / 0.8649 GB, free: 24.9 MB / 458.7 MB (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1)