Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.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.001529/0.001529, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.517/1.517, allocations: 230.6 MB / 252.6 MB, free: 8.32 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.001601/0.001601, allocations: 212.4 kB / 309.2 MB, free: 3.168 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.04319/0.04319, allocations: 8.917 MB / 374.6 MB, free: 1.922 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.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") [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.002598/0.002598, allocations: 84.3 kB / 0.4897 GB, free: 6.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3815, allocations: 55.6 MB / 0.544 GB, free: 27.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.03365/0.4151, allocations: 25.09 MB / 0.5685 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03079/0.4459, allocations: 8.298 MB / 0.5766 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0104/0.4563, allocations: 213.9 kB / 0.5768 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03736/0.4937, allocations: 8.497 MB / 0.5851 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02384/0.5175, allocations: 3.161 MB / 0.5882 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01229/0.5298, allocations: 1.885 MB / 0.59 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02972/0.5595, allocations: 11.34 MB / 0.6011 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04037/0.5999, allocations: 14.67 MB / 0.6154 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01482/0.6147, allocations: 6.079 MB / 0.6214 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01694/0.6316, allocations: 6.569 MB / 0.6278 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006704/0.6383, allocations: 1.719 MB / 0.6295 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.6489, allocations: 2.16 MB / 0.6316 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008466/0.6573, allocations: 3.41 MB / 0.6349 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01897/0.6763, allocations: 6.354 MB / 0.6411 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03958/0.7159, allocations: 23.2 MB / 0.6638 GB, free: 2.074 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.7159, allocations: 3.938 kB / 0.6638 GB, free: 2.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.7159, allocations: 4 kB / 0.6638 GB, free: 2.066 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007725/0.7167, allocations: 0 / 0.6638 GB, free: 2.066 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04863/0.7653, allocations: 13.57 MB / 0.677 GB, free: 4.395 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.7654, allocations: 8.031 kB / 0.677 GB, free: 4.387 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03741/0.8028, allocations: 6.252 MB / 0.6831 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02071/0.8235, allocations: 7.37 MB / 0.6903 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/0.8245, allocations: 0.7224 MB / 0.691 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004959/0.8295, allocations: 0.9374 MB / 0.692 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6588/1.488, allocations: 16.17 MB / 0.7077 GB, free: 98.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005919/1.489, allocations: 12.88 kB / 0.7078 GB, free: 98.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004225/1.493, allocations: 399.9 kB / 0.7081 GB, free: 98.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000636/1.494, allocations: 0.5627 MB / 0.7087 GB, free: 98.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03985/1.534, allocations: 15.14 MB / 0.7235 GB, free: 92.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1038/1.637, allocations: 51.42 MB / 0.7737 GB, free: 54.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/1.652, allocations: 8.64 MB / 0.7821 GB, free: 47.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005394/1.658, allocations: 3.323 MB / 0.7854 GB, free: 43.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006187/1.658, allocations: 145.4 kB / 0.7855 GB, free: 43.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.921e-05/1.658, allocations: 82 kB / 0.7856 GB, free: 43.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=447): time 8.887e-06/1.658, allocations: 0 / 0.7856 GB, free: 43.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=452): time 0.05011/1.709, allocations: 20.55 MB / 0.8057 GB, free: 23.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/1.709, allocations: 98.95 kB / 0.8057 GB, free: 23.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007178/1.716, allocations: 4.513 MB / 0.8102 GB, free: 18.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007205/1.717, allocations: 101.7 kB / 0.8103 GB, free: 18.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002275/1.719, allocations: 4.336 MB / 0.8145 GB, free: 14.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.72, allocations: 1.611 MB / 0.8161 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002867/1.723, allocations: 1.216 MB / 0.8172 GB, free: 11.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/1.723, allocations: 301.1 kB / 0.8175 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004512/1.728, allocations: 3.069 MB / 0.8205 GB, free: 8.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005536/1.733, allocations: 5.214 MB / 0.8256 GB, free: 2.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/1.748, allocations: 8.883 MB / 0.8343 GB, free: 8.254 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.277e-05/1.748, allocations: 20 kB / 0.8343 GB, free: 8.234 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02441/1.773, allocations: 9.868 MB / 0.844 GB, free: 14.35 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.432e-05/1.773, allocations: 44.05 kB / 0.844 GB, free: 14.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/1.773, allocations: 68 kB / 0.8441 GB, free: 14.24 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004385/1.778, allocations: 1.408 MB / 0.8454 GB, free: 12.82 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006122/1.784, allocations: 1.384 MB / 0.8468 GB, free: 11.44 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/1.805, allocations: 12.47 MB / 0.859 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005699/1.811, allocations: 355.6 kB / 0.8593 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001898/1.813, allocations: 295.9 kB / 0.8596 GB, free: 14.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * 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 {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01061/1.824, allocations: 3.896 MB / 0.8634 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002101/1.826, allocations: 484.9 kB / 0.8639 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02125/1.847, allocations: 8.472 MB / 0.8721 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01208/1.859, allocations: 6.232 MB / 0.8782 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.86e-05/1.859, allocations: 12 kB / 0.8782 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.05e-05/1.859, allocations: 27.91 kB / 0.8783 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04143/1.901, allocations: 17.44 MB / 0.8953 GB, free: 9.355 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.971e-05/1.901, allocations: 8 kB / 0.8953 GB, free: 9.348 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003944/1.905, allocations: 0.8152 MB / 0.8961 GB, free: 8.531 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004128/1.909, allocations: 1.289 MB / 0.8974 GB, free: 7.234 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007569/1.909, allocations: 116 kB / 0.8975 GB, free: 7.121 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/1.929, allocations: 11.35 MB / 0.9085 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.465e-05/1.929, allocations: 15.88 kB / 0.9086 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02418/1.953, allocations: 11.2 MB / 0.9195 GB, free: 176 kB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3225/2.275, allocations: 1.064 MB / 0.9205 GB, free: 182.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/2.276, allocations: 87.81 kB / 0.9206 GB, free: 182.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002656/2.279, allocations: 230.3 kB / 0.9208 GB, free: 182.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007657/2.28, allocations: 352.5 kB / 0.9212 GB, free: 182.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003292/2.28, allocations: 143.5 kB / 0.9213 GB, free: 182.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005232/2.285, allocations: 3.115 MB / 0.9244 GB, free: 181.9 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.11e-07/2.285, allocations: 1.812 kB / 0.9244 GB, free: 181.9 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007554/2.293, allocations: 1.728 MB / 0.926 GB, free: 181.9 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.x) * 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 (417): * Single equations (assignments): 414 * 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 {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00215/2.295, allocations: 0.523 MB / 0.9266 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0135/2.309, allocations: 7.696 MB / 0.9341 GB, free: 179.3 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/2.309, allocations: 3.188 kB / 0.9341 GB, free: 179.3 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006946/2.316, allocations: 3.691 MB / 0.9377 GB, free: 177.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006136/2.322, allocations: 1.061 MB / 0.9387 GB, free: 177.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03764/2.359, allocations: 18.36 MB / 0.9566 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/2.373, allocations: 6.509 MB / 0.963 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007714/2.381, allocations: 2.116 MB / 0.9651 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002012/2.383, allocations: 401.6 kB / 0.9654 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of SimCode: time 1.342e-06/2.383, allocations: 0 / 0.9654 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.1174/2.5, allocations: 78.25 MB / 1.042 GB, free: 97.25 MB / 0.5763 GB " [Timeout remaining time 657] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.681831206893548] Failed to read output from testmodel.py, exit status != 0: 2.5106799241621047 2.519387211 1.800575967 Calling exit ...