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.001722/0.001722, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.536/1.536, allocations: 177.2 MB / 200.1 MB, free: 9.465 MB / 190.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.001766/0.001766, allocations: 161.4 kB / 256.6 MB, free: 0.9062 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.04057/0.04057, allocations: 6.656 MB / 319.6 MB, free: 12.03 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: translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") [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.002537/0.002537, allocations: 79.88 kB / 446.4 MB, free: 2.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3808, allocations: 55.59 MB / 0.4903 GB, free: 76.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.03575/0.4165, allocations: 39.36 MB / 0.5287 GB, free: 50.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02768/0.4442, allocations: 11.79 MB / 0.5402 GB, free: 41.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01317/0.4574, allocations: 433.2 kB / 0.5406 GB, free: 41.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02987/0.4872, allocations: 12.22 MB / 0.5526 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02014/0.5074, allocations: 4.933 MB / 0.5574 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01123/0.5186, allocations: 3.024 MB / 0.5603 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.03181/0.5504, allocations: 21.25 MB / 0.5811 GB, free: 16.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0531/0.6035, allocations: 26.48 MB / 0.6069 GB, free: 5.949 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02553/0.6291, allocations: 11.28 MB / 0.618 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02929/0.6583, allocations: 11.82 MB / 0.6295 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01056/0.6689, allocations: 3.117 MB / 0.6325 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01392/0.6828, allocations: 3.539 MB / 0.636 GB, free: 8.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01269/0.6955, allocations: 6.254 MB / 0.6421 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02609/0.7216, allocations: 9.265 MB / 0.6512 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.6093/1.331, allocations: 41.7 MB / 0.6919 GB, free: 59.2 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/1.331, allocations: 0 / 0.6919 GB, free: 59.2 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.754e-06/1.331, allocations: 2.625 kB / 0.6919 GB, free: 59.2 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001732/1.333, allocations: 0 / 0.6919 GB, free: 59.2 MB / 0.4982 GB 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.1104/1.443, allocations: 24.27 MB / 0.7156 GB, free: 47.36 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 7.505e-05/1.443, allocations: 9.375 kB / 0.7156 GB, free: 47.36 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07051/1.514, allocations: 11.33 MB / 0.7267 GB, free: 42.2 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03344/1.547, allocations: 13.29 MB / 0.7396 GB, free: 34.02 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001191/1.548, allocations: 1.362 MB / 0.741 GB, free: 33.41 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008765/1.557, allocations: 1.785 MB / 0.7427 GB, free: 32.82 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08938/1.646, allocations: 30.13 MB / 0.7721 GB, free: 2.629 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009003/1.647, allocations: 23.36 kB / 0.7722 GB, free: 2.609 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00783/1.655, allocations: 0.7459 MB / 0.7729 GB, free: 1.883 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008433/1.656, allocations: 0.9868 MB / 0.7738 GB, free: 0.8906 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07039/1.726, allocations: 27.33 MB / 0.8005 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1941/1.92, allocations: 81.9 MB / 0.8805 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3274/2.248, allocations: 18.83 MB / 0.8989 GB, free: 195.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01271/2.261, allocations: 6.705 MB / 0.9055 GB, free: 195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03827/2.299, allocations: 18 MB / 0.923 GB, free: 187.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.985e-05/2.299, allocations: 105.5 kB / 0.9231 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=677): time 1.089e-05/2.299, allocations: 1.031 kB / 0.9231 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=685): time 0.1062/2.405, allocations: 37.49 MB / 0.9597 GB, free: 168.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/2.405, allocations: 147.1 kB / 0.9599 GB, free: 168.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01554/2.421, allocations: 6.853 MB / 0.9666 GB, free: 162.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001651/2.422, allocations: 133.7 kB / 0.9667 GB, free: 162.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.006121/2.429, allocations: 8.059 MB / 0.9746 GB, free: 154.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003928/2.433, allocations: 2.437 MB / 0.9769 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005765/2.438, allocations: 1.863 MB / 0.9788 GB, free: 150 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.767e-05/2.438, allocations: 310.8 kB / 0.9791 GB, free: 149.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01314/2.451, allocations: 4.883 MB / 0.9838 GB, free: 144.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01597/2.467, allocations: 8.299 MB / 0.9919 GB, free: 135 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02846/2.496, allocations: 13.91 MB / 1.006 GB, free: 119.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/2.496, allocations: 32 kB / 1.006 GB, free: 119.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.04825/2.544, allocations: 15.83 MB / 1.021 GB, free: 103.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/2.544, allocations: 52.81 kB / 1.021 GB, free: 103.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002364/2.545, allocations: 111.9 kB / 1.021 GB, free: 103.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/2.556, allocations: 2.537 MB / 1.024 GB, free: 100.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01544/2.572, allocations: 2.082 MB / 1.026 GB, free: 98.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0539/2.626, allocations: 29.45 MB / 1.054 GB, free: 68.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01316/2.639, allocations: 0.5151 MB / 1.055 GB, free: 67.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002792/2.642, allocations: 463.9 kB / 1.055 GB, free: 67.48 MB / 0.6075 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.0145/2.656, allocations: 6.745 MB / 1.062 GB, free: 60.72 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001747/2.658, allocations: 0.7607 MB / 1.063 GB, free: 59.95 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02228/2.68, allocations: 12.7 MB / 1.075 GB, free: 47.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01271/2.693, allocations: 8.204 MB / 1.083 GB, free: 38.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.055e-05/2.693, allocations: 28 kB / 1.083 GB, free: 38.78 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001349/2.693, allocations: 35.86 kB / 1.083 GB, free: 38.74 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04312/2.736, allocations: 24.11 MB / 1.107 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/2.736, allocations: 4 kB / 1.107 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00503/2.741, allocations: 1.119 MB / 1.108 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006447/2.748, allocations: 2.653 MB / 1.11 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001485/2.749, allocations: 159.9 kB / 1.111 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3012/3.05, allocations: 34.14 MB / 1.144 GB, free: 160.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/3.05, allocations: 3.094 kB / 1.144 GB, free: 160.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03237/3.083, allocations: 18.5 MB / 1.162 GB, free: 155.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007048/3.09, allocations: 1.747 MB / 1.164 GB, free: 154.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00315/3.093, allocations: 125 kB / 1.164 GB, free: 154.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006196/3.099, allocations: 388.6 kB / 1.164 GB, free: 154.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002134/3.101, allocations: 0.5643 MB / 1.165 GB, free: 154.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000641/3.102, allocations: 205.8 kB / 1.165 GB, free: 154.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008338/3.11, allocations: 4.475 MB / 1.169 GB, free: 152.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.51e-07/3.11, allocations: 3.812 kB / 1.169 GB, free: 152.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01578/3.126, allocations: 3.053 MB / 1.172 GB, free: 152.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.002583/3.129, allocations: 350.9 kB / 1.173 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02235/3.151, allocations: 12.81 MB / 1.185 GB, free: 146.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/3.151, allocations: 3.75 kB / 1.185 GB, free: 146.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01142/3.162, allocations: 7.151 MB / 1.192 GB, free: 143.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01148/3.174, allocations: 1.922 MB / 1.194 GB, free: 142.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06537/3.239, allocations: 32.48 MB / 1.226 GB, free: 118.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02441/3.264, allocations: 11.07 MB / 1.237 GB, free: 109.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01/3.274, allocations: 3.207 MB / 1.24 GB, free: 107.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/3.276, allocations: 0.5765 MB / 1.24 GB, free: 107 MB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/3.276, allocations: 0 / 1.24 GB, free: 107 MB / 0.6075 GB Notification: Performance of Templates: time 0.1968/3.473, allocations: 122.4 MB / 1.36 GB, free: 1.875 MB / 0.6232 GB " [Timeout remaining time 657] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.91516653902363] Failed to read output from testmodel.py, exit status != 0: 3.484109805081971 3.703364574 2.369019879 Calling exit ...