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.00185/0.00185, allocations: 119.4 kB / 17.13 MB, free: 5.758 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.456/1.456, allocations: 225.6 MB / 245.5 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] 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.001465/0.001465, allocations: 186.5 kB / 300.5 MB, free: 9.828 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.04349/0.04349, allocations: 8.926 MB / 364.3 MB, free: 10.18 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.002427/0.002427, allocations: 88.47 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08654/0.08897, allocations: 54.4 MB / 0.5289 GB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.03182/0.1208, allocations: 27.12 MB / 0.5554 GB, free: 5.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.1368, allocations: 8.078 MB / 0.5633 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.1403, allocations: 195.4 kB / 0.5635 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0223/0.1626, allocations: 9.436 MB / 0.5727 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.173, allocations: 3.369 MB / 0.576 GB, free: 496 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005032/0.178, allocations: 1.823 MB / 0.5778 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01563/0.1936, allocations: 12.15 MB / 0.5897 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02788/0.2215, allocations: 18.64 MB / 0.6079 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009385/0.2309, allocations: 6.484 MB / 0.6142 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01181/0.2427, allocations: 7.246 MB / 0.6213 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003682/0.2464, allocations: 1.84 MB / 0.6231 GB, free: 40 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005158/0.2515, allocations: 2.199 MB / 0.6252 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003873/0.2554, allocations: 3.616 MB / 0.6287 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009977/0.2654, allocations: 6.926 MB / 0.6355 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2192/0.4846, allocations: 24.78 MB / 0.6597 GB, free: 41.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4846, allocations: 0 / 0.6597 GB, free: 41.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4846, allocations: 0 / 0.6597 GB, free: 41.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006204/0.4852, allocations: 0 / 0.6597 GB, free: 41.87 MB / 446.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.0412/0.5264, allocations: 14.74 MB / 0.6741 GB, free: 35.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5264, allocations: 10.25 kB / 0.6741 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04526/0.5717, allocations: 8.539 MB / 0.6824 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01411/0.5858, allocations: 7.666 MB / 0.6899 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004537/0.5863, allocations: 0.804 MB / 0.6907 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003355/0.5896, allocations: 1.063 MB / 0.6918 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03219/0.6218, allocations: 18.28 MB / 0.7096 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002457/0.622, allocations: 19.89 kB / 0.7096 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/0.6237, allocations: 453 kB / 0.7101 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004521/0.6241, allocations: 0.6711 MB / 0.7107 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03354/0.6577, allocations: 17.53 MB / 0.7278 GB, free: 4.129 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09974/0.7574, allocations: 58.21 MB / 0.7847 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03616/0.7936, allocations: 36.96 MB / 0.8208 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006789/0.8004, allocations: 3.739 MB / 0.8244 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004382/0.8008, allocations: 194.3 kB / 0.8246 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.885e-05/0.8009, allocations: 90.62 kB / 0.8247 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=518): time 6.892e-06/0.8009, allocations: 0 / 0.8247 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=524): time 0.0507/0.8516, allocations: 21.53 MB / 0.8457 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.8517, allocations: 114 kB / 0.8458 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006727/0.8584, allocations: 4.184 MB / 0.8499 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004794/0.8589, allocations: 113.2 kB / 0.85 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.2081/1.067, allocations: 4.671 MB / 0.8546 GB, free: 207.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001816/1.069, allocations: 1.861 MB / 0.8564 GB, free: 206 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002428/1.071, allocations: 1.355 MB / 0.8577 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.757e-05/1.071, allocations: 301.1 kB / 0.858 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004709/1.076, allocations: 3.446 MB / 0.8614 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00544/1.081, allocations: 5.879 MB / 0.8671 GB, free: 201.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.091, allocations: 10.03 MB / 0.8769 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.254e-05/1.092, allocations: 19.59 kB / 0.8769 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0151/1.107, allocations: 10.92 MB / 0.8876 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/1.107, allocations: 39.94 kB / 0.8876 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.672e-05/1.107, allocations: 80.38 kB / 0.8877 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003612/1.11, allocations: 1.425 MB / 0.8891 GB, free: 189 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005082/1.115, allocations: 1.612 MB / 0.8907 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.13, allocations: 11.48 MB / 0.9019 GB, free: 177.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004677/1.134, allocations: 407.8 kB / 0.9023 GB, free: 177.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005893/1.135, allocations: 331.4 kB / 0.9026 GB, free: 176.9 MB / 0.5762 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.005656/1.141, allocations: 4.159 MB / 0.9067 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008937/1.141, allocations: 0.4968 MB / 0.9072 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/1.154, allocations: 8.438 MB / 0.9154 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009437/1.164, allocations: 7.047 MB / 0.9223 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.164, allocations: 12 kB / 0.9223 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/1.164, allocations: 27.89 kB / 0.9223 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02564/1.189, allocations: 18.73 MB / 0.9406 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.189, allocations: 1.5 kB / 0.9406 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003455/1.193, allocations: 0.9401 MB / 0.9415 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003316/1.196, allocations: 1.291 MB / 0.9428 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002942/1.196, allocations: 115.8 kB / 0.9429 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/1.208, allocations: 10.16 MB / 0.9528 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.208, allocations: 0 / 0.9528 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/1.223, allocations: 12.26 MB / 0.9648 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002222/1.226, allocations: 1.185 MB / 0.966 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006055/1.226, allocations: 92 kB / 0.966 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.229, allocations: 271.8 kB / 0.9663 GB, free: 113.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006605/1.229, allocations: 360.3 kB / 0.9666 GB, free: 113.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002855/1.23, allocations: 148 kB / 0.9668 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003414/1.233, allocations: 2.824 MB / 0.9695 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.233, allocations: 0 / 0.9695 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005564/1.239, allocations: 1.937 MB / 0.9714 GB, free: 108.6 MB / 0.5762 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.0006379/1.239, allocations: 297.7 kB / 0.9717 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.251, allocations: 8.368 MB / 0.9799 GB, free: 99.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.251, allocations: 8.125 kB / 0.9799 GB, free: 99.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005957/1.257, allocations: 3.873 MB / 0.9837 GB, free: 96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005433/1.262, allocations: 1.116 MB / 0.9848 GB, free: 94.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02835/1.291, allocations: 19.17 MB / 1.003 GB, free: 75.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006735/1.297, allocations: 6.799 MB / 1.01 GB, free: 68.78 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002079/1.3, allocations: 463.3 kB / 1.011 GB, free: 68.32 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/1.3, allocations: 0 / 1.011 GB, free: 68.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.3935/1.693, allocations: 182.9 MB / 1.189 GB, free: 84.44 MB / 0.5762 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: 17.5027736290358] Failed to read output from testmodel.py, exit status != 0: 1.839661312988028 1.709834513 1.222942061 Calling exit ...