Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.001309/0.001309, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.513/1.513, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.002194/0.002194, allocations: 226.7 kB / 309.2 MB, free: 3.145 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.04359/0.04359, allocations: 8.917 MB / 374.6 MB, free: 1.902 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_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",fmuType="me",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.002965/0.002965, allocations: 91.86 kB / 0.4892 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3541, allocations: 55.6 MB / 0.5435 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.05765/0.4117, allocations: 46.25 MB / 0.5887 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05128/0.463, allocations: 12.14 MB / 0.6006 GB, free: 80 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01532/0.4783, allocations: 432.7 kB / 0.601 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04706/0.5254, allocations: 12.56 MB / 0.6132 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02898/0.5544, allocations: 5.006 MB / 0.6181 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01553/0.5699, allocations: 3.123 MB / 0.6212 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03987/0.6098, allocations: 21.25 MB / 0.6419 GB, free: 8.121 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06696/0.6767, allocations: 26.85 MB / 0.6681 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02398/0.7007, allocations: 11.25 MB / 0.6791 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02584/0.7265, allocations: 12.34 MB / 0.6912 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01004/0.7366, allocations: 3.133 MB / 0.6942 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.6117/1.348, allocations: 3.587 MB / 0.6977 GB, free: 45.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01231/1.361, allocations: 6.27 MB / 0.7039 GB, free: 45.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02867/1.389, allocations: 11.92 MB / 0.7155 GB, free: 44.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0636/1.453, allocations: 41.61 MB / 0.7561 GB, free: 26.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.453, allocations: 0 / 0.7561 GB, free: 26.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/1.453, allocations: 1.375 kB / 0.7561 GB, free: 26.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001455/1.454, allocations: 0 / 0.7561 GB, free: 26.1 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.08744/1.542, allocations: 24.32 MB / 0.7799 GB, free: 10.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/1.542, allocations: 7.594 kB / 0.7799 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0115/1.553, allocations: 2.951 MB / 0.7828 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06129/1.615, allocations: 11.31 MB / 0.7938 GB, free: 15.84 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.034/1.649, allocations: 13.61 MB / 0.8071 GB, free: 2.684 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001671/1.65, allocations: 1.363 MB / 0.8084 GB, free: 1.336 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009503/1.66, allocations: 1.798 MB / 0.8102 GB, free: 15.55 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1071/1.767, allocations: 29.64 MB / 0.8391 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001422/1.768, allocations: 23.89 kB / 0.8392 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01091/1.779, allocations: 0.7427 MB / 0.8399 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001854/1.781, allocations: 0.9946 MB / 0.8409 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08896/1.87, allocations: 27.35 MB / 0.8676 GB, free: 4.719 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5264/2.396, allocations: 92 MB / 0.9574 GB, free: 160.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03127/2.428, allocations: 18.94 MB / 0.9759 GB, free: 159.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01229/2.44, allocations: 6.701 MB / 0.9825 GB, free: 158.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04865/2.489, allocations: 19.5 MB / 1.002 GB, free: 149.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/2.489, allocations: 118.2 kB / 1.002 GB, free: 149.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=677): time 1.179e-05/2.489, allocations: 3.984 kB / 1.002 GB, free: 149.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=685): time 0.0995/2.588, allocations: 37.34 MB / 1.038 GB, free: 122.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/2.588, allocations: 151 kB / 1.038 GB, free: 122 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01865/2.607, allocations: 7.155 MB / 1.045 GB, free: 114.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001732/2.609, allocations: 133.7 kB / 1.045 GB, free: 114.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005632/2.614, allocations: 8.087 MB / 1.053 GB, free: 106.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003795/2.618, allocations: 2.434 MB / 1.056 GB, free: 104.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004895/2.623, allocations: 1.894 MB / 1.057 GB, free: 102.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/2.623, allocations: 301.1 kB / 1.058 GB, free: 102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007407/2.63, allocations: 4.875 MB / 1.063 GB, free: 97.13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00951/2.64, allocations: 8.344 MB / 1.071 GB, free: 87.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01724/2.657, allocations: 14.02 MB / 1.084 GB, free: 71.53 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/2.657, allocations: 36 kB / 1.084 GB, free: 71.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02794/2.685, allocations: 15.95 MB / 1.1 GB, free: 55.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/2.685, allocations: 52 kB / 1.1 GB, free: 55.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002128/2.686, allocations: 112 kB / 1.1 GB, free: 55.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00587/2.691, allocations: 2.582 MB / 1.103 GB, free: 52.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008192/2.7, allocations: 2.106 MB / 1.105 GB, free: 50.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03038/2.73, allocations: 29.97 MB / 1.134 GB, free: 19.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008659/2.739, allocations: 0.5347 MB / 1.134 GB, free: 19.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001876/2.741, allocations: 463.9 kB / 1.135 GB, free: 18.69 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01244/2.753, allocations: 6.764 MB / 1.142 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/2.755, allocations: 0.8112 MB / 1.142 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3561/3.111, allocations: 12.7 MB / 1.155 GB, free: 180.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01742/3.128, allocations: 8.192 MB / 1.163 GB, free: 180.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001417/3.129, allocations: 30.92 kB / 1.163 GB, free: 180.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001959/3.129, allocations: 40.12 kB / 1.163 GB, free: 180.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06138/3.19, allocations: 27.74 MB / 1.19 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/3.19, allocations: 3.969 kB / 1.19 GB, free: 171.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005375/3.196, allocations: 1.116 MB / 1.191 GB, free: 171.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00691/3.202, allocations: 2.638 MB / 1.194 GB, free: 170.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001628/3.204, allocations: 160.9 kB / 1.194 GB, free: 170.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0345/3.239, allocations: 34.77 MB / 1.228 GB, free: 147 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/3.239, allocations: 11.19 kB / 1.228 GB, free: 147 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02766/3.266, allocations: 18.49 MB / 1.246 GB, free: 135.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007812/3.274, allocations: 1.787 MB / 1.247 GB, free: 134.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003356/3.277, allocations: 128 kB / 1.248 GB, free: 134.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006134/3.284, allocations: 386.1 kB / 1.248 GB, free: 134.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001895/3.285, allocations: 0.5638 MB / 1.249 GB, free: 133.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001002/3.286, allocations: 207.8 kB / 1.249 GB, free: 133.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009188/3.296, allocations: 4.81 MB / 1.253 GB, free: 128.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/3.296, allocations: 0 / 1.253 GB, free: 128.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01546/3.311, allocations: 3.062 MB / 1.256 GB, free: 125.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0343/3.345, allocations: 19.32 MB / 1.275 GB, free: 106.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02137/3.367, allocations: 12.81 MB / 1.288 GB, free: 93.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/3.367, allocations: 2.844 kB / 1.288 GB, free: 93.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01209/3.379, allocations: 7.144 MB / 1.295 GB, free: 86.26 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01511/3.394, allocations: 2.173 MB / 1.297 GB, free: 84.14 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4835/3.877, allocations: 103.4 MB / 1.398 GB, free: 205 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02238/3.9, allocations: 11.36 MB / 1.409 GB, free: 203.9 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01326/3.913, allocations: 3.297 MB / 1.412 GB, free: 203.7 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01574/3.929, allocations: 6.866 MB / 1.419 GB, free: 203.7 MB / 0.6232 GB Notification: Performance of SimCode: time 1.272e-06/3.929, allocations: 4.531 kB / 1.419 GB, free: 203.7 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7443/4.673, allocations: 253.1 MB / 1.666 GB, free: 174.6 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.98/37.66, allocations: 4.656 kB / 1.666 GB, free: 174.6 MB / 0.6232 GB " [Timeout remaining time 622] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMS_Start.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 48.003758667968214] Failed to read output from testmodel.py, exit status != 0: 37.9150019378867 37.935025592 36.478217059 Calling exit ...