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.001495/0.001495, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.561/1.561, allocations: 230.6 MB / 252.6 MB, free: 8.305 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.002057/0.002057, allocations: 210.7 kB / 309.2 MB, free: 3.152 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.04472/0.04472, allocations: 8.911 MB / 374.6 MB, free: 1.906 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.002598/0.002598, allocations: 83.88 kB / 0.4897 GB, free: 6.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.37, allocations: 55.61 MB / 0.544 GB, free: 27.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.0235/0.3935, allocations: 27.23 MB / 0.5706 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02331/0.4168, allocations: 8.211 MB / 0.5786 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008561/0.4253, allocations: 236.8 kB / 0.5788 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02666/0.452, allocations: 9.469 MB / 0.5881 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01651/0.4685, allocations: 3.463 MB / 0.5914 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007825/0.4763, allocations: 1.864 MB / 0.5933 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02457/0.5009, allocations: 12.37 MB / 0.6054 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03653/0.5374, allocations: 16.03 MB / 0.621 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01417/0.5516, allocations: 6.64 MB / 0.6275 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01552/0.5671, allocations: 7.304 MB / 0.6346 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006197/0.5733, allocations: 1.848 MB / 0.6364 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00967/0.583, allocations: 2.234 MB / 0.6386 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007457/0.5904, allocations: 3.62 MB / 0.6421 GB, free: 8.203 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01674/0.6072, allocations: 6.923 MB / 0.6489 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04434/0.6515, allocations: 24.82 MB / 0.6731 GB, free: 8.355 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6515, allocations: 0 / 0.6731 GB, free: 8.355 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6515, allocations: 0 / 0.6731 GB, free: 8.355 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008205/0.6523, allocations: 0 / 0.6731 GB, free: 8.355 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04988/0.7022, allocations: 14.69 MB / 0.6875 GB, free: 9.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.7023, allocations: 12.03 kB / 0.6875 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04807/0.7503, allocations: 8.436 MB / 0.6957 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6313/1.382, allocations: 7.765 MB / 0.7033 GB, free: 100.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008674/1.382, allocations: 0.8086 MB / 0.7041 GB, free: 100.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005711/1.388, allocations: 1.06 MB / 0.7051 GB, free: 99.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05161/1.44, allocations: 18.33 MB / 0.723 GB, free: 92.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004793/1.44, allocations: 11.47 kB / 0.7231 GB, free: 92.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004112/1.444, allocations: 451.1 kB / 0.7235 GB, free: 92.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009369/1.445, allocations: 0.6699 MB / 0.7241 GB, free: 92.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03878/1.484, allocations: 17.59 MB / 0.7413 GB, free: 85.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09841/1.583, allocations: 56.91 MB / 0.7969 GB, free: 30.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02078/1.603, allocations: 12.81 MB / 0.8094 GB, free: 19.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00583/1.609, allocations: 3.739 MB / 0.8131 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005296/1.61, allocations: 154 kB / 0.8132 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.971e-05/1.61, allocations: 98.5 kB / 0.8133 GB, free: 15.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=518): time 6.221e-06/1.61, allocations: 4 kB / 0.8133 GB, free: 15.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=524): time 0.04806/1.658, allocations: 21.46 MB / 0.8343 GB, free: 9.934 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.658, allocations: 103.5 kB / 0.8344 GB, free: 9.816 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.669, allocations: 4.196 MB / 0.8385 GB, free: 5.594 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001273/1.67, allocations: 105.7 kB / 0.8386 GB, free: 5.484 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004645/1.675, allocations: 4.677 MB / 0.8431 GB, free: 0.7969 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.003406/1.678, allocations: 1.863 MB / 0.8449 GB, free: 14.96 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005832/1.684, allocations: 1.375 MB / 0.8463 GB, free: 13.57 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002644/1.684, allocations: 304.9 kB / 0.8466 GB, free: 13.28 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008891/1.693, allocations: 3.449 MB / 0.8499 GB, free: 9.824 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/1.704, allocations: 5.893 MB / 0.8557 GB, free: 2.836 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01935/1.723, allocations: 10.04 MB / 0.8655 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/1.723, allocations: 24 kB / 0.8655 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.03079/1.754, allocations: 10.95 MB / 0.8762 GB, free: 12.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/1.754, allocations: 43.98 kB / 0.8763 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/1.754, allocations: 76 kB / 0.8763 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004725/1.759, allocations: 1.429 MB / 0.8777 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007545/1.767, allocations: 1.626 MB / 0.8793 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02197/1.789, allocations: 11.39 MB / 0.8904 GB, free: 13.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006979/1.796, allocations: 415.4 kB / 0.8908 GB, free: 13.48 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002177/1.798, allocations: 336 kB / 0.8912 GB, free: 13.15 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.01217/1.81, allocations: 4.161 MB / 0.8952 GB, free: 8.973 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002645/1.813, allocations: 0.493 MB / 0.8957 GB, free: 8.477 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02378/1.836, allocations: 8.44 MB / 0.9039 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01805/1.854, allocations: 7.076 MB / 0.9109 GB, free: 8.758 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-05/1.854, allocations: 12 kB / 0.9109 GB, free: 8.746 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001653/1.855, allocations: 27.89 kB / 0.9109 GB, free: 8.719 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3699/2.225, allocations: 18.81 MB / 0.9293 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/2.225, allocations: 2.938 kB / 0.9293 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003911/2.229, allocations: 0.9383 MB / 0.9302 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003376/2.232, allocations: 1.287 MB / 0.9314 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007397/2.233, allocations: 122.4 kB / 0.9316 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/2.246, allocations: 10.08 MB / 0.9414 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/2.246, allocations: 4.375 kB / 0.9414 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02125/2.268, allocations: 12.29 MB / 0.9534 GB, free: 163.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003775/2.271, allocations: 1.14 MB / 0.9545 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/2.273, allocations: 96.78 kB / 0.9546 GB, free: 163.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/2.276, allocations: 266.7 kB / 0.9549 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008448/2.277, allocations: 377.7 kB / 0.9552 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003056/2.277, allocations: 154.8 kB / 0.9554 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004307/2.281, allocations: 2.817 MB / 0.9581 GB, free: 162 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.41e-07/2.281, allocations: 0 / 0.9581 GB, free: 162 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007349/2.288, allocations: 1.942 MB / 0.96 GB, free: 161.8 MB / 0.5763 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.0009666/2.289, allocations: 294.6 kB / 0.9603 GB, free: 161.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01236/2.302, allocations: 8.39 MB / 0.9685 GB, free: 158.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/2.302, allocations: 3.969 kB / 0.9685 GB, free: 158.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00635/2.308, allocations: 3.89 MB / 0.9723 GB, free: 156.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006095/2.314, allocations: 1.13 MB / 0.9734 GB, free: 156.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03372/2.348, allocations: 19.54 MB / 0.9925 GB, free: 142.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008084/2.356, allocations: 7.014 MB / 0.9993 GB, free: 136.9 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006058/2.362, allocations: 2.323 MB / 1.002 GB, free: 135.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/2.363, allocations: 444.7 kB / 1.002 GB, free: 134.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.373e-06/2.364, allocations: 0 / 1.002 GB, free: 134.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.1234/2.487, allocations: 86.13 MB / 1.086 GB, free: 49.86 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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.249651940073818] Failed to read output from testmodel.py, exit status != 0: 2.4967189060989767 2.506429988 1.852031559 Calling exit ...