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.001106/0.001106, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.9287/0.9287, allocations: 177.2 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] 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.001459/0.001459, allocations: 160.2 kB / 256 MB, free: 13.34 MB / 250.7 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.0224/0.0224, allocations: 6.658 MB / 319 MB, free: 26.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.238e-05, allocations: 2.281 kB / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.0216/0.02162, allocations: 39.4 MB / 484.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02294/0.04456, allocations: 11.81 MB / 496.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006885/0.05144, allocations: 433.6 kB / 497 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01381/0.06525, allocations: 12.25 MB / 0.4974 GB, free: 5.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.07723, allocations: 5.058 MB / 0.5023 GB, free: 408 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005401/0.08263, allocations: 3.041 MB / 0.5053 GB, free: 13.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01867/0.1013, allocations: 21.99 MB / 0.5268 GB, free: 7.297 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3613/0.4626, allocations: 26.56 MB / 0.5527 GB, free: 19.39 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0152/0.4778, allocations: 16.55 MB / 0.5688 GB, free: 19.39 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.489, allocations: 10.49 MB / 0.5791 GB, free: 19.39 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003325/0.4923, allocations: 3.121 MB / 0.5821 GB, free: 19.39 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003623/0.4959, allocations: 3.567 MB / 0.5856 GB, free: 19.39 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003028/0.4989, allocations: 6.369 MB / 0.5918 GB, free: 18.96 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.006706/0.5056, allocations: 7.996 MB / 0.5997 GB, free: 15.78 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02912/0.5348, allocations: 42.05 MB / 0.6407 GB, free: 9.977 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.5348, allocations: 1.344 kB / 0.6407 GB, free: 9.977 MB / 442.8 MB Notification: Performance of FrontEnd: time 4.438e-06/0.5348, allocations: 7.922 kB / 0.6407 GB, free: 9.969 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001105/0.5359, allocations: 0 / 0.6407 GB, free: 9.969 MB / 442.8 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.04768/0.5836, allocations: 24.08 MB / 0.6642 GB, free: 1.961 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.5836, allocations: 8.031 kB / 0.6643 GB, free: 1.953 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006325/0.5899, allocations: 2.945 MB / 0.6671 GB, free: 15.01 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03008/0.62, allocations: 11.34 MB / 0.6782 GB, free: 3.789 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02397/0.644, allocations: 13.28 MB / 0.6912 GB, free: 6.961 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/0.645, allocations: 1.362 MB / 0.6925 GB, free: 5.613 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005855/0.6508, allocations: 1.799 MB / 0.6943 GB, free: 3.832 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05907/0.7099, allocations: 30.13 MB / 0.7237 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003723/0.7103, allocations: 23.47 kB / 0.7237 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002473/0.7128, allocations: 0.7437 MB / 0.7244 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006087/0.7134, allocations: 0.9907 MB / 0.7254 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3586/1.072, allocations: 27.32 MB / 0.7521 GB, free: 176.6 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08745/1.159, allocations: 84.55 MB / 0.8347 GB, free: 111 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0158/1.175, allocations: 18.82 MB / 0.853 GB, free: 95.24 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005856/1.181, allocations: 6.722 MB / 0.8596 GB, free: 88.5 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01788/1.199, allocations: 18.07 MB / 0.8772 GB, free: 70.8 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/1.199, allocations: 112.5 kB / 0.8774 GB, free: 70.69 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=677): time 7.674e-06/1.199, allocations: 0 / 0.8774 GB, free: 70.69 MB / 0.5263 GB Notification: Performance of matching and sorting (n=685): time 0.04741/1.246, allocations: 37.53 MB / 0.914 GB, free: 33.8 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.246, allocations: 147.1 kB / 0.9141 GB, free: 33.64 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006009/1.252, allocations: 7.381 MB / 0.9214 GB, free: 26.42 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.0004459/1.253, allocations: 133.7 kB / 0.9215 GB, free: 26.28 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.001877/1.255, allocations: 8.033 MB / 0.9293 GB, free: 18.33 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009669/1.256, allocations: 2.401 MB / 0.9317 GB, free: 15.96 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/1.257, allocations: 1.851 MB / 0.9335 GB, free: 14.1 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 2.142e-05/1.257, allocations: 309.1 kB / 0.9338 GB, free: 13.8 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003975/1.261, allocations: 4.879 MB / 0.9385 GB, free: 8.91 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1808/1.442, allocations: 8.302 MB / 0.9466 GB, free: 158 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/1.454, allocations: 13.9 MB / 0.9602 GB, free: 151.6 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.391e-05/1.454, allocations: 31.59 kB / 0.9602 GB, free: 151.6 MB / 0.5263 GB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.01622/1.471, allocations: 15.88 MB / 0.9758 GB, free: 145.6 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/1.471, allocations: 50.72 kB / 0.9758 GB, free: 145.6 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/1.471, allocations: 108.9 kB / 0.9759 GB, free: 145.6 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/1.474, allocations: 2.545 MB / 0.9784 GB, free: 144.9 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003918/1.478, allocations: 2.085 MB / 0.9804 GB, free: 144.6 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/1.497, allocations: 29.64 MB / 1.009 GB, free: 123.8 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005556/1.503, allocations: 0.5191 MB / 1.01 GB, free: 123.4 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008768/1.504, allocations: 458.8 kB / 1.01 GB, free: 122.9 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 493 * 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 (1072): * Single equations (assignments): 1062 * 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,41.0%), (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.007982/1.512, allocations: 6.754 MB / 1.017 GB, free: 117.2 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/1.513, allocations: 0.7975 MB / 1.018 GB, free: 116.9 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/1.525, allocations: 12.74 MB / 1.03 GB, free: 106.2 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006727/1.532, allocations: 8.202 MB / 1.038 GB, free: 98.45 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-05/1.532, allocations: 28 kB / 1.038 GB, free: 98.42 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/1.532, allocations: 35.86 kB / 1.038 GB, free: 98.39 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02637/1.558, allocations: 26.61 MB / 1.064 GB, free: 71.75 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/1.558, allocations: 11.88 kB / 1.064 GB, free: 71.74 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/1.56, allocations: 1.12 MB / 1.065 GB, free: 70.62 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003537/1.564, allocations: 2.631 MB / 1.068 GB, free: 67.95 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003073/1.564, allocations: 163.7 kB / 1.068 GB, free: 67.8 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/1.583, allocations: 34.42 MB / 1.102 GB, free: 32.52 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.583, allocations: 8.5 kB / 1.102 GB, free: 32.51 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/1.599, allocations: 18.53 MB / 1.12 GB, free: 14.16 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002867/1.602, allocations: 1.797 MB / 1.121 GB, free: 12.37 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006286/1.603, allocations: 132 kB / 1.122 GB, free: 12.24 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.604, allocations: 379.6 kB / 1.122 GB, free: 11.87 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008613/1.605, allocations: 0.5645 MB / 1.123 GB, free: 11.3 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002873/1.606, allocations: 207.7 kB / 1.123 GB, free: 11.1 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.004301/1.61, allocations: 4.856 MB / 1.127 GB, free: 6.27 MB / 0.5263 GB Notification: Performance of sort global known variables: time 4.21e-07/1.61, allocations: 0 / 1.127 GB, free: 6.27 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.006435/1.616, allocations: 3.063 MB / 1.13 GB, free: 3.211 MB / 0.5263 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.2/1.816, allocations: 19.36 MB / 1.149 GB, free: 163.9 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.01514/1.832, allocations: 12.8 MB / 1.162 GB, free: 162.3 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.832, allocations: 0 / 1.162 GB, free: 162.3 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.006821/1.838, allocations: 7.152 MB / 1.169 GB, free: 159.7 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006443/1.845, allocations: 2.162 MB / 1.171 GB, free: 158.9 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1382/1.983, allocations: 103.6 MB / 1.272 GB, free: 75.66 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01119/1.994, allocations: 11.08 MB / 1.283 GB, free: 64.52 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.00644/2.001, allocations: 3.276 MB / 1.286 GB, free: 61.23 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00718/2.008, allocations: 6.835 MB / 1.293 GB, free: 54.39 MB / 0.5419 GB Notification: Performance of SimCode: time 1.704e-06/2.008, allocations: 0 / 1.293 GB, free: 54.39 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4119/2.42, allocations: 256.5 MB / 1.543 GB, free: 11.15 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/18.35, allocations: 4 kB / 1.543 GB, free: 11.15 MB / 0.5575 GB " [Timeout remaining time 641] (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: 24.143030904233456] Failed to read output from testmodel.py, exit status != 0: 18.537991352379322 18.552966964 18.015354769 Calling exit ...