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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 107.4 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 242.1 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 192.5 kB / 294.4 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04085/0.04085, allocations: 8.792 MB / 355.4 MB, free: 15.92 MB / 302.1 MB " [Timeout remaining time 180] 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002275/0.002275, allocations: 79.86 kB / 472.1 MB, free: 5.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3135, allocations: 51.56 MB / 0.5114 GB, free: 12.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.05353/0.367, allocations: 45.34 MB / 0.5557 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03356/0.4007, allocations: 11.78 MB / 0.5672 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01458/0.4153, allocations: 350.9 kB / 0.5675 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0323/0.4476, allocations: 12.34 MB / 0.5796 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02058/0.4682, allocations: 4.797 MB / 0.5843 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01176/0.48, allocations: 2.93 MB / 0.5871 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03766/0.5177, allocations: 20.95 MB / 0.6076 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08844/0.6062, allocations: 41.93 MB / 0.6485 GB, free: 136 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02184/0.6281, allocations: 10.94 MB / 0.6592 GB, free: 5.172 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.596/1.224, allocations: 12.01 MB / 0.671 GB, free: 49.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01095/1.235, allocations: 3.134 MB / 0.674 GB, free: 49.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01506/1.25, allocations: 3.536 MB / 0.6775 GB, free: 49.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01549/1.266, allocations: 6.252 MB / 0.6836 GB, free: 49.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02922/1.295, allocations: 11.9 MB / 0.6952 GB, free: 46.38 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05239/1.348, allocations: 41.53 MB / 0.7358 GB, free: 20.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.348, allocations: 0 / 0.7358 GB, free: 20.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/1.348, allocations: 0 / 0.7358 GB, free: 20.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001462/1.349, allocations: 0 / 0.7358 GB, free: 20.84 MB / 478.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.07901/1.428, allocations: 24.33 MB / 0.7595 GB, free: 15.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.428, allocations: 12.03 kB / 0.7595 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01122/1.439, allocations: 2.943 MB / 0.7624 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06438/1.504, allocations: 11.44 MB / 0.7736 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03313/1.537, allocations: 13.47 MB / 0.7867 GB, free: 3.996 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001717/1.539, allocations: 1.364 MB / 0.7881 GB, free: 2.648 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009241/1.548, allocations: 1.789 MB / 0.7898 GB, free: 0.875 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08584/1.634, allocations: 29.59 MB / 0.8187 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001012/1.635, allocations: 30.47 kB / 0.8187 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009144/1.644, allocations: 0.7351 MB / 0.8194 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001392/1.645, allocations: 0.9946 MB / 0.8204 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06534/1.711, allocations: 27.29 MB / 0.8471 GB, free: 6.168 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4312/2.142, allocations: 93.17 MB / 0.938 GB, free: 164 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03357/2.176, allocations: 51.97 MB / 0.9888 GB, free: 116.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009858/2.186, allocations: 7.294 MB / 0.9959 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03195/2.218, allocations: 20.04 MB / 1.015 GB, free: 99.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/2.218, allocations: 106.4 kB / 1.016 GB, free: 99.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=677): time 7.905e-06/2.218, allocations: 0 / 1.016 GB, free: 99.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=685): time 0.0796/2.297, allocations: 38.53 MB / 1.053 GB, free: 61.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/2.297, allocations: 147.1 kB / 1.053 GB, free: 61.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/2.307, allocations: 7.117 MB / 1.06 GB, free: 54.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.002014/2.31, allocations: 137.7 kB / 1.06 GB, free: 54.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004688/2.314, allocations: 8.076 MB / 1.068 GB, free: 46.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00323/2.317, allocations: 2.444 MB / 1.071 GB, free: 43.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003065/2.321, allocations: 1.871 MB / 1.073 GB, free: 41.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/2.321, allocations: 301.1 kB / 1.073 GB, free: 41.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006643/2.327, allocations: 4.86 MB / 1.078 GB, free: 36.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008188/2.335, allocations: 8.333 MB / 1.086 GB, free: 26.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/2.351, allocations: 13.99 MB / 1.099 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/2.351, allocations: 32 kB / 1.099 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.3068/2.658, allocations: 16.12 MB / 1.115 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.864e-05/2.658, allocations: 58 kB / 1.115 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001542/2.658, allocations: 111.4 kB / 1.115 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006046/2.664, allocations: 2.581 MB / 1.118 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008039/2.672, allocations: 2.102 MB / 1.12 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02966/2.702, allocations: 30.81 MB / 1.15 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007163/2.709, allocations: 0.5264 MB / 1.15 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/2.711, allocations: 464.5 kB / 1.151 GB, free: 169.3 MB / 0.5919 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.01161/2.723, allocations: 6.762 MB / 1.158 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001718/2.724, allocations: 0.8081 MB / 1.158 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01906/2.743, allocations: 13.08 MB / 1.171 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01102/2.754, allocations: 8.217 MB / 1.179 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-05/2.754, allocations: 27.5 kB / 1.179 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001147/2.755, allocations: 34.5 kB / 1.179 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04448/2.799, allocations: 27.93 MB / 1.206 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/2.799, allocations: 4 kB / 1.206 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004805/2.804, allocations: 1.112 MB / 1.208 GB, free: 131.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006061/2.81, allocations: 2.636 MB / 1.21 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001333/2.811, allocations: 152 kB / 1.21 GB, free: 128.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02978/2.841, allocations: 35.88 MB / 1.245 GB, free: 91.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/2.841, allocations: 4 kB / 1.245 GB, free: 91.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02496/2.866, allocations: 18.82 MB / 1.264 GB, free: 73.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004411/2.871, allocations: 1.8 MB / 1.265 GB, free: 71.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002448/2.873, allocations: 128 kB / 1.266 GB, free: 71.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005581/2.879, allocations: 391.7 kB / 1.266 GB, free: 70.85 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001891/2.881, allocations: 0.5336 MB / 1.266 GB, free: 70.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000514/2.881, allocations: 196 kB / 1.267 GB, free: 70.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008784/2.89, allocations: 4.786 MB / 1.271 GB, free: 65.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.51e-07/2.89, allocations: 4 kB / 1.271 GB, free: 65.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01233/2.902, allocations: 3.056 MB / 1.274 GB, free: 62.31 MB / 0.5919 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,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,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.0254/2.928, allocations: 19.66 MB / 1.293 GB, free: 42.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01825/2.946, allocations: 13.39 MB / 1.307 GB, free: 28.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/2.946, allocations: 7.938 kB / 1.307 GB, free: 28.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01013/2.956, allocations: 7.576 MB / 1.314 GB, free: 21.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01113/2.967, allocations: 2.155 MB / 1.316 GB, free: 18.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.407/3.374, allocations: 103.6 MB / 1.417 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01512/3.39, allocations: 11.35 MB / 1.428 GB, free: 141.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008309/3.398, allocations: 3.292 MB / 1.432 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008771/3.407, allocations: 6.814 MB / 1.438 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of SimCode: time 6.72e-07/3.407, allocations: 0 / 1.438 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5859/3.993, allocations: 246.1 MB / 1.679 GB, free: 92.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.93/33.92, allocations: 7.984 kB / 1.679 GB, free: 92.62 MB / 0.5919 GB " [Timeout remaining time 626] (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: 43.9473200860084] Failed to read output from testmodel.py, exit status != 0: 34.133756913011894 34.152358633 32.801529559 Calling exit ...