Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.664/1.664, allocations: 230.6 MB / 253.4 MB, free: 14.49 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 207.9 kB / 310 MB, free: 3.102 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04244/0.04244, allocations: 8.919 MB / 375.4 MB, free: 6.781 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 80.25 kB / 0.49 GB, free: 44.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1075, allocations: 55.62 MB / 0.5443 GB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.3341/0.4416, allocations: 27.21 MB / 0.5709 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01962/0.4613, allocations: 8.221 MB / 0.5789 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00786/0.4691, allocations: 236.8 kB / 0.5791 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02348/0.4926, allocations: 9.473 MB / 0.5884 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01616/0.5087, allocations: 3.462 MB / 0.5917 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007111/0.5159, allocations: 1.866 MB / 0.5936 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0259/0.5418, allocations: 12.37 MB / 0.6056 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03879/0.5805, allocations: 16.05 MB / 0.6213 GB, free: 192 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01684/0.5974, allocations: 6.628 MB / 0.6278 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01724/0.6146, allocations: 7.312 MB / 0.6349 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007375/0.622, allocations: 1.84 MB / 0.6367 GB, free: 372 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/0.633, allocations: 2.234 MB / 0.6389 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008007/0.641, allocations: 3.624 MB / 0.6424 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01859/0.6596, allocations: 6.926 MB / 0.6492 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04029/0.6999, allocations: 24.81 MB / 0.6734 GB, free: 10.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.6999, allocations: 0 / 0.6734 GB, free: 10.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6999, allocations: 0 / 0.6734 GB, free: 10.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008571/0.7007, allocations: 3.938 kB / 0.6734 GB, free: 10.65 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.05812/0.7589, allocations: 14.69 MB / 0.6878 GB, free: 11.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.909e-05/0.7589, allocations: 19.92 kB / 0.6878 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005112/0.7594, allocations: 327.6 kB / 0.6881 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008721/0.7682, allocations: 1.788 MB / 0.6899 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05133/0.8195, allocations: 8.433 MB / 0.6981 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02355/0.843, allocations: 7.773 MB / 0.7057 GB, free: 9.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001245/0.8443, allocations: 0.8106 MB / 0.7065 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006377/0.8507, allocations: 1.058 MB / 0.7075 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05712/0.9078, allocations: 18.34 MB / 0.7254 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006892/0.9085, allocations: 23.89 kB / 0.7254 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005412/0.9139, allocations: 447.9 kB / 0.7259 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000915/0.9148, allocations: 0.6711 MB / 0.7265 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04691/0.9617, allocations: 17.6 MB / 0.7437 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7062/1.668, allocations: 56.91 MB / 0.7993 GB, free: 132.9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02806/1.696, allocations: 12.84 MB / 0.8118 GB, free: 132.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007871/1.704, allocations: 3.748 MB / 0.8155 GB, free: 132.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008865/1.705, allocations: 159.9 kB / 0.8156 GB, free: 132.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/1.705, allocations: 89.23 kB / 0.8157 GB, free: 132.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=520): time 8.065e-06/1.705, allocations: 0 / 0.8157 GB, free: 132.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=599): time 0.08461/1.79, allocations: 34.1 MB / 0.849 GB, free: 116.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/1.79, allocations: 117.2 kB / 0.8491 GB, free: 116.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006892/1.796, allocations: 4.191 MB / 0.8532 GB, free: 114.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001339/1.798, allocations: 121.3 kB / 0.8533 GB, free: 114.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003288/1.801, allocations: 4.679 MB / 0.8579 GB, free: 110.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002683/1.804, allocations: 2.125 MB / 0.86 GB, free: 108.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002933/1.807, allocations: 1.466 MB / 0.8614 GB, free: 108 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/1.807, allocations: 301.1 kB / 0.8617 GB, free: 107.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005989/1.813, allocations: 3.93 MB / 0.8655 GB, free: 105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008135/1.821, allocations: 6.404 MB / 0.8718 GB, free: 97.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01636/1.837, allocations: 11.13 MB / 0.8827 GB, free: 85.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/1.837, allocations: 24 kB / 0.8827 GB, free: 85.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02808/1.865, allocations: 13.12 MB / 0.8955 GB, free: 71.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-05/1.866, allocations: 43.94 kB / 0.8956 GB, free: 71.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/1.866, allocations: 76 kB / 0.8956 GB, free: 71.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00769/1.873, allocations: 2.86 MB / 0.8984 GB, free: 69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006578/1.88, allocations: 1.63 MB / 0.9 GB, free: 67.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03302/1.913, allocations: 23.94 MB / 0.9234 GB, free: 43.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007301/1.92, allocations: 423.5 kB / 0.9238 GB, free: 42.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/1.922, allocations: 363.9 kB / 0.9241 GB, free: 42.45 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (846): * Single equations (assignments): 843 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,56,41.3%), (14,56,37.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00833/1.93, allocations: 4.255 MB / 0.9283 GB, free: 38.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/1.932, allocations: 0.5162 MB / 0.9288 GB, free: 37.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/1.95, allocations: 10.67 MB / 0.9392 GB, free: 26.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0158/1.965, allocations: 9.141 MB / 0.9481 GB, free: 17.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.111e-05/1.966, allocations: 24 kB / 0.9482 GB, free: 17.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001505/1.966, allocations: 27.89 kB / 0.9482 GB, free: 17.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04564/2.011, allocations: 23.11 MB / 0.9708 GB, free: 10.31 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.327e-05/2.011, allocations: 0 / 0.9708 GB, free: 10.31 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00497/2.016, allocations: 0.9712 MB / 0.9717 GB, free: 9.332 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008165/2.025, allocations: 2.564 MB / 0.9742 GB, free: 6.758 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001284/2.026, allocations: 132 kB / 0.9743 GB, free: 6.629 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03398/2.06, allocations: 20.15 MB / 0.994 GB, free: 2.273 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/2.06, allocations: 0 / 0.994 GB, free: 2.273 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3175/2.377, allocations: 15.21 MB / 1.009 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006315/2.384, allocations: 1.28 MB / 1.01 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00261/2.386, allocations: 108.6 kB / 1.01 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00549/2.392, allocations: 284.4 kB / 1.01 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002309/2.394, allocations: 448.8 kB / 1.011 GB, free: 173.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001123/2.395, allocations: 174.6 kB / 1.011 GB, free: 173.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.007444/2.403, allocations: 2.821 MB / 1.014 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.2e-07/2.403, allocations: 0 / 1.014 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01244/2.415, allocations: 2.143 MB / 1.016 GB, free: 172 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (voltageSource.plug_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (511): * Single equations (assignments): 508 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,50,40.3%), (14,56,38.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03737/2.452, allocations: 16 MB / 1.032 GB, free: 165.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.02062/2.473, allocations: 10.31 MB / 1.042 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/2.473, allocations: 0 / 1.042 GB, free: 161.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01126/2.484, allocations: 5.212 MB / 1.047 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/2.495, allocations: 1.164 MB / 1.048 GB, free: 158.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1769/2.671, allocations: 70.64 MB / 1.117 GB, free: 93.21 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01892/2.69, allocations: 7.189 MB / 1.124 GB, free: 85.97 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007692/2.698, allocations: 2.343 MB / 1.126 GB, free: 83.62 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006893/2.705, allocations: 4.041 MB / 1.13 GB, free: 79.58 MB / 0.5763 GB Notification: Performance of SimCode: time 1.933e-06/2.705, allocations: 0 / 1.13 GB, free: 79.58 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5391/3.244, allocations: 171.9 MB / 1.298 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.13/27.37, allocations: 4.938 kB / 1.298 GB, free: 138.6 MB / 0.5919 GB " [Timeout remaining time 632] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.412064858945087] Failed to read output from testmodel.py, exit status != 0: 27.634376971051097 27.655595982 26.951215172 Calling exit ...