Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.001392/0.001392, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.535/1.535, allocations: 230.6 MB / 252.7 MB, free: 8.102 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.001711/0.001711, allocations: 214.2 kB / 309.2 MB, free: 2.957 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.04404/0.04404, allocations: 8.927 MB / 374.6 MB, free: 1.727 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.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [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.003344/0.003344, allocations: 83.88 kB / 0.4896 GB, free: 6.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3572, allocations: 55.6 MB / 0.5439 GB, free: 27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.0202/0.3774, allocations: 21.97 MB / 0.5654 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.394, allocations: 7.71 MB / 0.5729 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008117/0.4021, allocations: 200.3 kB / 0.5731 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01825/0.4204, allocations: 7.177 MB / 0.5801 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.4309, allocations: 3.091 MB / 0.5831 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006694/0.4376, allocations: 2.008 MB / 0.5851 GB, free: 15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01596/0.4535, allocations: 9.387 MB / 0.5943 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02279/0.4763, allocations: 11.2 MB / 0.6052 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00934/0.4857, allocations: 4.874 MB / 0.61 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009581/0.4952, allocations: 5.049 MB / 0.6149 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003408/0.4986, allocations: 1.352 MB / 0.6162 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005383/0.504, allocations: 1.726 MB / 0.6179 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003996/0.508, allocations: 2.677 MB / 0.6205 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007898/0.5159, allocations: 3.954 MB / 0.6244 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02589/0.5418, allocations: 18.3 MB / 0.6422 GB, free: 7.871 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5418, allocations: 0 / 0.6422 GB, free: 7.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5418, allocations: 0 / 0.6422 GB, free: 7.871 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004966/0.5423, allocations: 0 / 0.6422 GB, free: 7.871 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.0359/0.5782, allocations: 10.87 MB / 0.6529 GB, free: 12.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.5783, allocations: 8.031 kB / 0.6529 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0349/0.6132, allocations: 5.668 MB / 0.6584 GB, free: 7.219 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/0.6271, allocations: 5.844 MB / 0.6641 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006463/0.6278, allocations: 0.5858 MB / 0.6647 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003156/0.6309, allocations: 0.7616 MB / 0.6654 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03123/0.6622, allocations: 12.97 MB / 0.6781 GB, free: 2.895 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003013/0.6625, allocations: 15.89 kB / 0.6781 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00198/0.6644, allocations: 324 kB / 0.6784 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006278/0.6651, allocations: 0.4928 MB / 0.6789 GB, free: 2.066 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0275/0.6926, allocations: 12.23 MB / 0.6909 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4924/1.185, allocations: 36.66 MB / 0.7267 GB, free: 88.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/1.204, allocations: 8.915 MB / 0.7354 GB, free: 86.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004629/1.209, allocations: 2.715 MB / 0.738 GB, free: 85.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003791/1.209, allocations: 102.5 kB / 0.7381 GB, free: 85.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003897/1.213, allocations: 2.785 MB / 0.7408 GB, free: 83.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=391): time 8.446e-06/1.213, allocations: 0 / 0.7408 GB, free: 83.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=397): time 0.03512/1.248, allocations: 18.31 MB / 0.7587 GB, free: 73.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.248, allocations: 355 kB / 0.759 GB, free: 73.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/1.252, allocations: 3.365 MB / 0.7623 GB, free: 71.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006257/1.253, allocations: 96.77 kB / 0.7624 GB, free: 71.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00161/1.255, allocations: 3.509 MB / 0.7659 GB, free: 68.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00144/1.256, allocations: 1.412 MB / 0.7672 GB, free: 67.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/1.258, allocations: 1.101 MB / 0.7683 GB, free: 65.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.515e-05/1.258, allocations: 309 kB / 0.7686 GB, free: 65.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003407/1.261, allocations: 2.585 MB / 0.7711 GB, free: 63.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003907/1.265, allocations: 4.721 MB / 0.7757 GB, free: 57.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007518/1.273, allocations: 7.463 MB / 0.783 GB, free: 49.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.117e-05/1.273, allocations: 16 kB / 0.783 GB, free: 49.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01243/1.285, allocations: 8.3 MB / 0.7911 GB, free: 40.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/1.285, allocations: 54.48 kB / 0.7912 GB, free: 40.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-05/1.285, allocations: 68.02 kB / 0.7913 GB, free: 40.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002538/1.288, allocations: 0.9927 MB / 0.7922 GB, free: 39.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004427/1.292, allocations: 1.264 MB / 0.7935 GB, free: 38.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/1.303, allocations: 8.532 MB / 0.8018 GB, free: 29.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/1.307, allocations: 351.5 kB / 0.8021 GB, free: 29.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005576/1.308, allocations: 275.9 kB / 0.8024 GB, free: 29.11 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004011/1.312, allocations: 2.895 MB / 0.8052 GB, free: 26.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000806/1.313, allocations: 385.5 kB / 0.8056 GB, free: 25.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009159/1.322, allocations: 6.16 MB / 0.8116 GB, free: 19.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/1.322, allocations: 43.98 kB / 0.8116 GB, free: 19.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.322, allocations: 12 kB / 0.8117 GB, free: 19.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.95e-05/1.322, allocations: 19.92 kB / 0.8117 GB, free: 19.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/1.341, allocations: 12.75 MB / 0.8241 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.341, allocations: 4 kB / 0.8241 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/1.344, allocations: 0.6865 MB / 0.8248 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/1.346, allocations: 0.8794 MB / 0.8257 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003093/1.347, allocations: 91.97 kB / 0.8257 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/1.357, allocations: 7.458 MB / 0.833 GB, free: 13.49 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.357, allocations: 7.938 kB / 0.833 GB, free: 13.48 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/1.373, allocations: 8.822 MB / 0.8417 GB, free: 4.52 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002873/1.376, allocations: 0.8322 MB / 0.8425 GB, free: 3.688 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007754/1.377, allocations: 84.3 kB / 0.8425 GB, free: 3.605 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/1.379, allocations: 191.8 kB / 0.8427 GB, free: 3.418 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005843/1.379, allocations: 287 kB / 0.843 GB, free: 3.137 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000255/1.38, allocations: 124 kB / 0.8431 GB, free: 3.016 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.003548/1.383, allocations: 2.165 MB / 0.8452 GB, free: 0.8516 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.2e-07/1.383, allocations: 0 / 0.8452 GB, free: 0.8516 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.005447/1.389, allocations: 1.453 MB / 0.8467 GB, free: 15.39 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006832/1.389, allocations: 259.7 kB / 0.8469 GB, free: 15.14 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01199/1.401, allocations: 6.282 MB / 0.853 GB, free: 8.828 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.401, allocations: 0 / 0.853 GB, free: 8.828 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006677/1.408, allocations: 2.908 MB / 0.8559 GB, free: 5.887 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/1.412, allocations: 0.7184 MB / 0.8566 GB, free: 5.188 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02817/1.44, allocations: 13.99 MB / 0.8702 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00711/1.447, allocations: 4.522 MB / 0.8747 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005219/1.453, allocations: 1.564 MB / 0.8762 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.454, allocations: 343.3 kB / 0.8765 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/1.454, allocations: 0 / 0.8765 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of Templates: time 0.3396/1.793, allocations: 62.13 MB / 0.9372 GB, free: 164.9 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.371997963637114] Failed to read output from testmodel.py, exit status != 0: 1.8040705807507038 1.820609483 1.274152695 Calling exit ...