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.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.001436/0.001442, allocations: 111.6 kB / 17.08 MB, free: 6.012 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.294/1.294, allocations: 222.9 MB / 242.7 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 179] 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.001373/0.001373, allocations: 189.2 kB / 295 MB, free: 12.66 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.03836/0.03836, allocations: 8.796 MB / 356 MB, free: 15.91 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: 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: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 79.88 kB / 473.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2217, allocations: 51.56 MB / 0.5126 GB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02829/0.25, allocations: 27.02 MB / 0.5389 GB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.2651, allocations: 8.051 MB / 0.5468 GB, free: 9.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004048/0.2692, allocations: 203.4 kB / 0.547 GB, free: 9.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01952/0.2887, allocations: 9.313 MB / 0.5561 GB, free: 336 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009937/0.2987, allocations: 3.322 MB / 0.5593 GB, free: 13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004858/0.3036, allocations: 1.808 MB / 0.5611 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01539/0.319, allocations: 12.14 MB / 0.573 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03206/0.3511, allocations: 24.39 MB / 0.5968 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008541/0.3596, allocations: 6.452 MB / 0.6031 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.37, allocations: 7.156 MB / 0.6101 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003512/0.3735, allocations: 1.84 MB / 0.6119 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004898/0.3785, allocations: 2.207 MB / 0.614 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003767/0.3822, allocations: 3.612 MB / 0.6176 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009033/0.3913, allocations: 6.915 MB / 0.6243 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02594/0.4172, allocations: 24.79 MB / 0.6485 GB, free: 1.297 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4173, allocations: 0 / 0.6485 GB, free: 1.297 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4173, allocations: 0 / 0.6485 GB, free: 1.297 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004281/0.4177, allocations: 0 / 0.6485 GB, free: 1.297 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.03755/0.4553, allocations: 14.75 MB / 0.6629 GB, free: 2.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4553, allocations: 12.03 kB / 0.6629 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3749/0.8302, allocations: 8.525 MB / 0.6713 GB, free: 118.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.8422, allocations: 7.665 MB / 0.6787 GB, free: 114.4 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005267/0.8427, allocations: 0.8071 MB / 0.6795 GB, free: 114.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003508/0.8463, allocations: 1.061 MB / 0.6806 GB, free: 113.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03257/0.8788, allocations: 18.29 MB / 0.6984 GB, free: 97.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002523/0.8791, allocations: 15.94 kB / 0.6984 GB, free: 97.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001702/0.8808, allocations: 454.9 kB / 0.6989 GB, free: 97.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000418/0.8813, allocations: 0.6672 MB / 0.6995 GB, free: 96.76 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02594/0.9072, allocations: 17.53 MB / 0.7166 GB, free: 79.21 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06712/0.9744, allocations: 58.2 MB / 0.7735 GB, free: 20.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02711/1.002, allocations: 37.48 MB / 0.8101 GB, free: 11 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006757/1.008, allocations: 4.099 MB / 0.8141 GB, free: 6.883 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005329/1.009, allocations: 201 kB / 0.8143 GB, free: 6.664 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.618e-05/1.009, allocations: 86.62 kB / 0.8144 GB, free: 6.566 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=518): time 6.161e-06/1.009, allocations: 0 / 0.8144 GB, free: 6.566 MB / 0.4982 GB Notification: Performance of matching and sorting (n=524): time 0.0477/1.057, allocations: 21.59 MB / 0.8354 GB, free: 0.9297 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/1.057, allocations: 111.5 kB / 0.8355 GB, free: 0.8047 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00622/1.063, allocations: 4.18 MB / 0.8396 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007208/1.064, allocations: 109.7 kB / 0.8397 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0034/1.067, allocations: 4.675 MB / 0.8443 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002087/1.069, allocations: 1.859 MB / 0.8461 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002151/1.071, allocations: 1.363 MB / 0.8474 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.072, allocations: 309.1 kB / 0.8477 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005423/1.077, allocations: 3.441 MB / 0.8511 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007615/1.085, allocations: 5.877 MB / 0.8568 GB, free: 9.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/1.099, allocations: 10.02 MB / 0.8666 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-05/1.099, allocations: 24 kB / 0.8666 GB, free: 14.59 MB / 0.5607 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02053/1.12, allocations: 10.97 MB / 0.8774 GB, free: 3.531 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/1.12, allocations: 38.34 kB / 0.8774 GB, free: 3.496 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/1.12, allocations: 80 kB / 0.8775 GB, free: 3.418 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003902/1.124, allocations: 1.422 MB / 0.8789 GB, free: 1.992 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005876/1.13, allocations: 1.618 MB / 0.8804 GB, free: 380 kB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2031/1.333, allocations: 11.47 MB / 0.8916 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004463/1.337, allocations: 410.4 kB / 0.892 GB, free: 187.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007701/1.338, allocations: 333.2 kB / 0.8924 GB, free: 187.6 MB / 0.5607 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.005269/1.343, allocations: 4.165 MB / 0.8964 GB, free: 185.7 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008993/1.344, allocations: 0.4945 MB / 0.8969 GB, free: 185.7 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/1.355, allocations: 8.477 MB / 0.9052 GB, free: 182.3 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008565/1.364, allocations: 7.076 MB / 0.9121 GB, free: 179.5 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/1.364, allocations: 15.62 kB / 0.9121 GB, free: 179.5 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.756e-05/1.364, allocations: 32.33 kB / 0.9121 GB, free: 179.5 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02266/1.387, allocations: 18.77 MB / 0.9305 GB, free: 168.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/1.387, allocations: 4 kB / 0.9305 GB, free: 168.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003124/1.39, allocations: 0.9353 MB / 0.9314 GB, free: 167.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/1.393, allocations: 1.286 MB / 0.9326 GB, free: 165.9 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003145/1.393, allocations: 115.5 kB / 0.9328 GB, free: 165.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/1.404, allocations: 10.17 MB / 0.9427 GB, free: 155.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.404, allocations: 4 kB / 0.9427 GB, free: 155.7 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/1.418, allocations: 12.3 MB / 0.9547 GB, free: 143.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/1.42, allocations: 1.183 MB / 0.9559 GB, free: 142.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005507/1.421, allocations: 92 kB / 0.9559 GB, free: 142.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/1.423, allocations: 275.8 kB / 0.9562 GB, free: 141.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005693/1.423, allocations: 352.3 kB / 0.9565 GB, free: 141.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002593/1.424, allocations: 148 kB / 0.9567 GB, free: 141.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.002891/1.426, allocations: 2.819 MB / 0.9594 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.31e-07/1.426, allocations: 3.844 kB / 0.9594 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.004608/1.431, allocations: 1.936 MB / 0.9613 GB, free: 136.6 MB / 0.5607 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.0005135/1.432, allocations: 304.1 kB / 0.9616 GB, free: 136.3 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00994/1.442, allocations: 8.729 MB / 0.9701 GB, free: 127.5 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.442, allocations: 4.125 kB / 0.9701 GB, free: 127.5 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00486/1.446, allocations: 4.182 MB / 0.9742 GB, free: 123.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/1.451, allocations: 1.121 MB / 0.9753 GB, free: 122.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/1.473, allocations: 19.18 MB / 0.9941 GB, free: 102.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004713/1.478, allocations: 6.799 MB / 1.001 GB, free: 96.09 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/1.48, allocations: 463.3 kB / 1.001 GB, free: 95.64 MB / 0.5607 GB Notification: Performance of SimCode: time 7.82e-07/1.48, allocations: 4 kB / 1.001 GB, free: 95.63 MB / 0.5607 GB Notification: Performance of Templates: time 0.3305/1.811, allocations: 182.2 MB / 1.179 GB, free: 116.6 MB / 0.5607 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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.091466824989766] Failed to read output from testmodel.py, exit status != 0: 1.815983028151095 1.823838966 1.4049488319999999 Calling exit ...