Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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.001549/0.001549, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.502/1.502, allocations: 177.2 MB / 200.1 MB, free: 8.492 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.002081/0.002081, allocations: 170.1 kB / 256.6 MB, free: 4.293 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.0405/0.0405, allocations: 6.664 MB / 319.6 MB, free: 5.375 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_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") [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.002623/0.002623, allocations: 87.88 kB / 446.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1228, allocations: 55.58 MB / 0.4903 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.3216/0.4444, allocations: 23.25 MB / 0.513 GB, free: 40.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.4622, allocations: 7.862 MB / 0.5206 GB, free: 39.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008292/0.4705, allocations: 236 kB / 0.5209 GB, free: 39.42 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02076/0.4912, allocations: 9.187 MB / 0.5298 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01272/0.5039, allocations: 3.373 MB / 0.5331 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006243/0.5102, allocations: 1.811 MB / 0.5349 GB, free: 31.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01548/0.5257, allocations: 12.38 MB / 0.547 GB, free: 25.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02791/0.5536, allocations: 15.83 MB / 0.5624 GB, free: 16.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01355/0.5671, allocations: 6.66 MB / 0.5689 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01509/0.5822, allocations: 6.978 MB / 0.5758 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007077/0.5893, allocations: 1.833 MB / 0.5775 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/0.5999, allocations: 2.211 MB / 0.5797 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007277/0.6072, allocations: 3.612 MB / 0.5832 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01751/0.6247, allocations: 5.362 MB / 0.5885 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04121/0.6659, allocations: 24.88 MB / 0.6128 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6659, allocations: 0 / 0.6128 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6659, allocations: 0 / 0.6128 GB, free: 15.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008143/0.6667, allocations: 0 / 0.6128 GB, free: 15.09 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.05182/0.7185, allocations: 14.67 MB / 0.6271 GB, free: 332 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.7186, allocations: 11.98 kB / 0.6271 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05016/0.7687, allocations: 8.45 MB / 0.6354 GB, free: 7.844 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02271/0.7914, allocations: 7.811 MB / 0.643 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001214/0.7927, allocations: 0.8029 MB / 0.6438 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005929/0.7986, allocations: 1.058 MB / 0.6448 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05904/0.8576, allocations: 18.55 MB / 0.6629 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006356/0.8583, allocations: 15.95 kB / 0.6629 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005111/0.8634, allocations: 455.9 kB / 0.6634 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009822/0.8644, allocations: 0.6633 MB / 0.664 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04546/0.9098, allocations: 17.48 MB / 0.6811 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6345/1.544, allocations: 50.36 MB / 0.7303 GB, free: 119.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/1.565, allocations: 12.66 MB / 0.7426 GB, free: 118.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00545/1.571, allocations: 3.729 MB / 0.7463 GB, free: 118.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000481/1.571, allocations: 120.7 kB / 0.7464 GB, free: 118.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.454e-05/1.571, allocations: 90.94 kB / 0.7465 GB, free: 118.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=518): time 8.305e-06/1.571, allocations: 3.25 kB / 0.7465 GB, free: 118.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=524): time 0.05257/1.624, allocations: 21.28 MB / 0.7673 GB, free: 111.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.624, allocations: 105.8 kB / 0.7674 GB, free: 111.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008588/1.633, allocations: 4.001 MB / 0.7713 GB, free: 110.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/1.634, allocations: 111.5 kB / 0.7714 GB, free: 110.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00328/1.637, allocations: 4.689 MB / 0.776 GB, free: 107.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002261/1.639, allocations: 1.87 MB / 0.7778 GB, free: 105.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002216/1.641, allocations: 1.369 MB / 0.7791 GB, free: 105.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.75e-05/1.641, allocations: 303 kB / 0.7794 GB, free: 104.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005263/1.647, allocations: 3.435 MB / 0.7828 GB, free: 103.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006484/1.653, allocations: 5.896 MB / 0.7885 GB, free: 99.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/1.665, allocations: 10.02 MB / 0.7983 GB, free: 92.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001476/1.665, allocations: 21.81 kB / 0.7983 GB, free: 92.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01873/1.684, allocations: 10.89 MB / 0.809 GB, free: 88.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.854e-05/1.684, allocations: 37.81 kB / 0.809 GB, free: 88.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000171/1.684, allocations: 74.66 kB / 0.8091 GB, free: 88.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003236/1.687, allocations: 1.363 MB / 0.8104 GB, free: 88.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006428/1.694, allocations: 1.626 MB / 0.812 GB, free: 87.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/1.708, allocations: 10.91 MB / 0.8226 GB, free: 82.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005582/1.714, allocations: 403.4 kB / 0.823 GB, free: 81.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.715, allocations: 343 kB / 0.8234 GB, free: 81.91 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006557/1.722, allocations: 4.163 MB / 0.8274 GB, free: 79.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.723, allocations: 477.8 kB / 0.8279 GB, free: 79.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/1.735, allocations: 8.39 MB / 0.8361 GB, free: 74.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00965/1.745, allocations: 7.03 MB / 0.8429 GB, free: 67.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/1.745, allocations: 12 kB / 0.8429 GB, free: 67.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.576e-05/1.745, allocations: 29.67 kB / 0.843 GB, free: 67.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03018/1.775, allocations: 16.14 MB / 0.8587 GB, free: 51.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.775, allocations: 0 / 0.8587 GB, free: 51.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003731/1.779, allocations: 0.9439 MB / 0.8597 GB, free: 50.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002911/1.782, allocations: 1.214 MB / 0.8608 GB, free: 49.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006198/1.783, allocations: 116.6 kB / 0.8609 GB, free: 49.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.794, allocations: 9.64 MB / 0.8704 GB, free: 39.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.794, allocations: 3.938 kB / 0.8704 GB, free: 39.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/1.81, allocations: 12.21 MB / 0.8823 GB, free: 27.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003209/1.813, allocations: 1.09 MB / 0.8834 GB, free: 26.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008881/1.814, allocations: 96 kB / 0.8834 GB, free: 25.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.817, allocations: 267.8 kB / 0.8837 GB, free: 25.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007978/1.818, allocations: 376.2 kB / 0.8841 GB, free: 25.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003172/1.818, allocations: 152 kB / 0.8842 GB, free: 25.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003767/1.822, allocations: 2.579 MB / 0.8867 GB, free: 22.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/1.822, allocations: 3.469 kB / 0.8867 GB, free: 22.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007306/1.829, allocations: 1.918 MB / 0.8886 GB, free: 20.65 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.phi) * 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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008255/1.83, allocations: 298.1 kB / 0.8889 GB, free: 20.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0142/1.844, allocations: 8.348 MB / 0.897 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/1.844, allocations: 0 / 0.897 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007248/1.851, allocations: 3.885 MB / 0.9008 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00564/1.857, allocations: 1.013 MB / 0.9018 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0369/1.894, allocations: 19.49 MB / 0.9209 GB, free: 3.484 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0126/1.907, allocations: 6.583 MB / 0.9273 GB, free: 12.84 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007065/1.914, allocations: 2.292 MB / 0.9295 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/1.915, allocations: 436.4 kB / 0.9299 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of SimCode: time 9.92e-07/1.915, allocations: 0 / 0.9299 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of Templates: time 0.3751/2.29, allocations: 71.85 MB / 1 GB, free: 139.8 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.347181232995354] Failed to read output from testmodel.py, exit status != 0: 2.29922379902564 2.308933172 1.640283413 Calling exit ...