Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.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.00135/0.00135, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.59/1.59, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001626/0.001626, allocations: 221 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.04289/0.04289, allocations: 8.932 MB / 374.6 MB, free: 6.574 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.SynchronousMachines.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") translateModel(HanserModelica.SynchronousMachines.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") [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.002546/0.002546, allocations: 84.11 kB / 0.4896 GB, free: 44.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08938/0.09193, allocations: 55.61 MB / 0.544 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.2644/0.3563, allocations: 23.83 MB / 0.5672 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01687/0.3732, allocations: 7.83 MB / 0.5749 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007238/0.3804, allocations: 248.6 kB / 0.5751 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0191/0.3995, allocations: 7.409 MB / 0.5823 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.4098, allocations: 2.727 MB / 0.585 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006215/0.416, allocations: 1.814 MB / 0.5868 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.4313, allocations: 9.827 MB / 0.5964 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03104/0.4623, allocations: 13.73 MB / 0.6098 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009716/0.4721, allocations: 5.396 MB / 0.6151 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/0.4833, allocations: 5.761 MB / 0.6207 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00408/0.4873, allocations: 1.523 MB / 0.6222 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006288/0.4936, allocations: 1.878 MB / 0.624 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004745/0.4984, allocations: 2.942 MB / 0.6269 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01234/0.5107, allocations: 4.448 MB / 0.6312 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03168/0.5424, allocations: 20.43 MB / 0.6512 GB, free: 15.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5424, allocations: 0 / 0.6512 GB, free: 15.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5424, allocations: 0 / 0.6512 GB, free: 15.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006275/0.543, allocations: 0 / 0.6512 GB, free: 15.53 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: 2552 * Number of variables: 2552 Notification: Performance of Generate backend data structure: time 0.0399/0.5829, allocations: 11.76 MB / 0.6627 GB, free: 3.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.583, allocations: 11.98 kB / 0.6627 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03381/0.6168, allocations: 5.558 MB / 0.6681 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/0.6329, allocations: 6.261 MB / 0.6742 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009301/0.6338, allocations: 0.6943 MB / 0.6749 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003971/0.6378, allocations: 0.9061 MB / 0.6758 GB, free: 6.176 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04386/0.6817, allocations: 15.04 MB / 0.6905 GB, free: 7.059 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004813/0.6821, allocations: 19.94 kB / 0.6905 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003127/0.6853, allocations: 384 kB / 0.6908 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006867/0.686, allocations: 0.5113 MB / 0.6913 GB, free: 6.152 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03453/0.7205, allocations: 13.56 MB / 0.7046 GB, free: 8.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08832/0.8088, allocations: 40.48 MB / 0.7441 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/0.8236, allocations: 7.846 MB / 0.7518 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00497/0.8286, allocations: 2.752 MB / 0.7545 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003396/0.8289, allocations: 98.86 kB / 0.7546 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.68e-05/0.829, allocations: 69.52 kB / 0.7546 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=375): time 6.842e-06/0.829, allocations: 0 / 0.7546 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=382): time 0.03268/0.8617, allocations: 14.53 MB / 0.7688 GB, free: 6.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/0.8618, allocations: 90.41 kB / 0.7689 GB, free: 6.789 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006132/0.8679, allocations: 3.443 MB / 0.7723 GB, free: 3.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007804/0.8687, allocations: 89.7 kB / 0.7723 GB, free: 3.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.5511/1.42, allocations: 4.088 MB / 0.7763 GB, free: 164.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001729/1.422, allocations: 1.38 MB / 0.7777 GB, free: 164.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00194/1.423, allocations: 1.153 MB / 0.7788 GB, free: 164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/1.424, allocations: 303.7 kB / 0.7791 GB, free: 163.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003679/1.427, allocations: 2.551 MB / 0.7816 GB, free: 163.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005897/1.433, allocations: 5.037 MB / 0.7865 GB, free: 160.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/1.445, allocations: 8.22 MB / 0.7945 GB, free: 154.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002273/1.445, allocations: 23.94 kB / 0.7946 GB, free: 154.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01891/1.464, allocations: 8.488 MB / 0.8028 GB, free: 151.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/1.464, allocations: 41.47 kB / 0.8029 GB, free: 151.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002665/1.464, allocations: 80.88 kB / 0.803 GB, free: 151.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/1.467, allocations: 0.8345 MB / 0.8038 GB, free: 151.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00553/1.472, allocations: 1.34 MB / 0.8051 GB, free: 150.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/1.483, allocations: 7.321 MB / 0.8122 GB, free: 146.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004719/1.488, allocations: 321.8 kB / 0.8125 GB, free: 146.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.489, allocations: 305.4 kB / 0.8128 GB, free: 146.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (708): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(8,40,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006178/1.495, allocations: 3.496 MB / 0.8163 GB, free: 145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009573/1.496, allocations: 395.6 kB / 0.8166 GB, free: 144.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009241/1.506, allocations: 5.818 MB / 0.8223 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/1.506, allocations: 38.47 kB / 0.8223 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.506, allocations: 15.59 kB / 0.8224 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.414e-05/1.506, allocations: 19.12 kB / 0.8224 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/1.529, allocations: 12.61 MB / 0.8347 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.529, allocations: 11.73 kB / 0.8347 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/1.532, allocations: 0.6796 MB / 0.8354 GB, free: 134.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002041/1.534, allocations: 0.6954 MB / 0.836 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004643/1.535, allocations: 87.69 kB / 0.8361 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007555/1.542, allocations: 6.369 MB / 0.8423 GB, free: 128 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.542, allocations: 7.938 kB / 0.8424 GB, free: 128 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.554, allocations: 8.542 MB / 0.8507 GB, free: 119.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00269/1.557, allocations: 0.8057 MB / 0.8515 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009563/1.558, allocations: 75.61 kB / 0.8516 GB, free: 118.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.56, allocations: 183.9 kB / 0.8517 GB, free: 118.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004784/1.56, allocations: 274.4 kB / 0.852 GB, free: 118 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/1.56, allocations: 108 kB / 0.8521 GB, free: 117.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002944/1.563, allocations: 2.205 MB / 0.8543 GB, free: 115.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.563, allocations: 0 / 0.8543 GB, free: 115.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00588/1.569, allocations: 1.512 MB / 0.8557 GB, free: 114.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 1 (smr.phiMechanical) * 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 (365): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(8,38,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007208/1.57, allocations: 263.5 kB / 0.856 GB, free: 114 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009909/1.58, allocations: 6.165 MB / 0.862 GB, free: 107.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/1.58, allocations: 0 / 0.862 GB, free: 107.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004374/1.584, allocations: 2.669 MB / 0.8646 GB, free: 105.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004111/1.588, allocations: 0.8351 MB / 0.8654 GB, free: 104.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/1.612, allocations: 15.64 MB / 0.8807 GB, free: 88.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00588/1.618, allocations: 5.436 MB / 0.886 GB, free: 83.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004504/1.623, allocations: 1.839 MB / 0.8878 GB, free: 81.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.624, allocations: 343.3 kB / 0.8881 GB, free: 80.94 MB / 0.545 GB Notification: Performance of SimCode: time 1.192e-06/1.624, allocations: 0 / 0.8881 GB, free: 80.94 MB / 0.545 GB Notification: Performance of Templates: time 0.09188/1.715, allocations: 61.81 MB / 0.9485 GB, free: 19.71 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.28349450044334] Failed to read output from testmodel.py, exit status != 0: 1.7234141882508993 1.733498434 1.188446521 Calling exit ...