Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.001401/0.001401, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.545/1.545, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001623/0.001623, allocations: 208.3 kB / 310 MB, free: 3.098 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.04103/0.04103, allocations: 8.917 MB / 375.3 MB, free: 6.566 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_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") [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.002629/0.002629, allocations: 83.88 kB / 0.4904 GB, free: 44.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1038, allocations: 55.61 MB / 0.5447 GB, free: 4.488 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.2616/0.3653, allocations: 21.99 MB / 0.5662 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.3812, allocations: 7.707 MB / 0.5737 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00594/0.3871, allocations: 201.3 kB / 0.5739 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01766/0.4048, allocations: 7.169 MB / 0.5809 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.4161, allocations: 3.098 MB / 0.5839 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006584/0.4227, allocations: 2.004 MB / 0.5859 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01452/0.4372, allocations: 9.402 MB / 0.5951 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02183/0.4591, allocations: 11.19 MB / 0.606 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01069/0.4698, allocations: 4.878 MB / 0.6108 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01044/0.4802, allocations: 5.049 MB / 0.6157 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003748/0.484, allocations: 1.357 MB / 0.617 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005901/0.4899, allocations: 1.722 MB / 0.6187 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003804/0.4937, allocations: 2.673 MB / 0.6213 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007922/0.5016, allocations: 3.965 MB / 0.6252 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02351/0.5251, allocations: 18.28 MB / 0.643 GB, free: 8.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5251, allocations: 0 / 0.643 GB, free: 8.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5251, allocations: 4 kB / 0.643 GB, free: 8.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004272/0.5255, allocations: 0 / 0.643 GB, free: 8.625 MB / 430.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.03359/0.5591, allocations: 10.87 MB / 0.6536 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.5592, allocations: 11.98 kB / 0.6537 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03395/0.5931, allocations: 5.666 MB / 0.6592 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/0.6074, allocations: 5.848 MB / 0.6649 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006431/0.608, allocations: 0.5819 MB / 0.6655 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003201/0.6112, allocations: 0.7577 MB / 0.6662 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03209/0.6433, allocations: 12.97 MB / 0.6789 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002444/0.6435, allocations: 23.83 kB / 0.6789 GB, free: 3.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001543/0.6451, allocations: 324 kB / 0.6792 GB, free: 3.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005577/0.6456, allocations: 0.4928 MB / 0.6797 GB, free: 2.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02734/0.673, allocations: 12.23 MB / 0.6916 GB, free: 6.559 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07729/0.7503, allocations: 36.67 MB / 0.7275 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0197/0.77, allocations: 8.915 MB / 0.7362 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005548/0.7755, allocations: 2.71 MB / 0.7388 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005166/0.776, allocations: 102.9 kB / 0.7389 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005493/0.7815, allocations: 2.783 MB / 0.7416 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=391): time 8.806e-06/0.7815, allocations: 0 / 0.7416 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397): time 0.04434/0.8259, allocations: 18.32 MB / 0.7595 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002479/0.8261, allocations: 359.5 kB / 0.7599 GB, free: 436 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005783/0.8319, allocations: 3.365 MB / 0.7631 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007328/0.8326, allocations: 85.7 kB / 0.7632 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003044/0.8357, allocations: 3.51 MB / 0.7666 GB, free: 9.414 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002116/0.8378, allocations: 1.418 MB / 0.768 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002036/0.8398, allocations: 1.101 MB / 0.7691 GB, free: 6.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.84, allocations: 305.1 kB / 0.7694 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004461/0.8445, allocations: 2.581 MB / 0.7719 GB, free: 3.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4778/1.322, allocations: 4.714 MB / 0.7765 GB, free: 162.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00942/1.332, allocations: 7.471 MB / 0.7838 GB, free: 160.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-05/1.332, allocations: 18.19 kB / 0.7838 GB, free: 160.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01575/1.348, allocations: 8.295 MB / 0.7919 GB, free: 157.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.348, allocations: 57.86 kB / 0.792 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/1.348, allocations: 60.62 kB / 0.792 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002944/1.351, allocations: 0.9942 MB / 0.793 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005069/1.356, allocations: 1.264 MB / 0.7943 GB, free: 156.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/1.37, allocations: 8.515 MB / 0.8026 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005022/1.375, allocations: 353.8 kB / 0.8029 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.377, allocations: 274.2 kB / 0.8032 GB, free: 152 MB / 0.545 GB 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.007543/1.384, allocations: 2.903 MB / 0.806 GB, free: 150.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/1.386, allocations: 390.3 kB / 0.8064 GB, free: 150.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/1.399, allocations: 6.165 MB / 0.8124 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.162e-05/1.399, allocations: 40.81 kB / 0.8124 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.861e-05/1.399, allocations: 10.41 kB / 0.8124 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-05/1.399, allocations: 20.44 kB / 0.8125 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02514/1.425, allocations: 12.75 MB / 0.8249 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/1.425, allocations: 3.906 kB / 0.8249 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002771/1.427, allocations: 0.6944 MB / 0.8256 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/1.43, allocations: 0.8727 MB / 0.8264 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005152/1.43, allocations: 89.41 kB / 0.8265 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/1.441, allocations: 7.469 MB / 0.8338 GB, free: 137.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.441, allocations: 8.031 kB / 0.8338 GB, free: 137.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.455, allocations: 8.815 MB / 0.8424 GB, free: 129.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003037/1.458, allocations: 0.8318 MB / 0.8433 GB, free: 128.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/1.459, allocations: 79.94 kB / 0.8433 GB, free: 128.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002915/1.462, allocations: 195.8 kB / 0.8435 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008094/1.463, allocations: 291 kB / 0.8438 GB, free: 127.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000384/1.463, allocations: 116 kB / 0.8439 GB, free: 127.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004231/1.468, allocations: 2.169 MB / 0.846 GB, free: 125.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.468, allocations: 0 / 0.846 GB, free: 125.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006993/1.475, allocations: 1.449 MB / 0.8474 GB, free: 124 MB / 0.545 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.0009695/1.476, allocations: 253.2 kB / 0.8477 GB, free: 123.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.487, allocations: 6.286 MB / 0.8538 GB, free: 117.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/1.487, allocations: 0 / 0.8538 GB, free: 117.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00525/1.492, allocations: 2.905 MB / 0.8567 GB, free: 114.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005067/1.497, allocations: 0.7238 MB / 0.8574 GB, free: 113.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/1.524, allocations: 13.79 MB / 0.8708 GB, free: 99.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007375/1.531, allocations: 4.383 MB / 0.8751 GB, free: 95.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001975/1.533, allocations: 391.3 kB / 0.8755 GB, free: 95.17 MB / 0.545 GB Notification: Performance of SimCode: time 1.222e-06/1.533, allocations: 0 / 0.8755 GB, free: 95.17 MB / 0.545 GB Notification: Performance of Templates: time 0.4391/1.972, allocations: 135.4 MB / 1.008 GB, free: 186 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.163906027097255] Failed to read output from testmodel.py, exit status != 0: 1.9816120327450335 1.994498421 1.466351681 Calling exit ...