Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.001752/0.001752, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.556/1.556, allocations: 177.1 MB / 199.7 MB, free: 5.773 MB / 186.7 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.002074/0.002074, allocations: 159.7 kB / 256.3 MB, free: 13.16 MB / 250.7 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.04051/0.04051, allocations: 6.656 MB / 319.4 MB, free: 26.57 MB / 266.7 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_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 391 MB, free: 2.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.935e-05, allocations: 6.312 kB / 391 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.2071/0.2072, allocations: 24.57 MB / 415.5 MB, free: 69.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01896/0.2261, allocations: 7.934 MB / 423.5 MB, free: 67.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007093/0.2332, allocations: 205 kB / 423.7 MB, free: 67.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02008/0.2533, allocations: 8.076 MB / 431.8 MB, free: 63.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01233/0.2656, allocations: 3.184 MB / 434.9 MB, free: 60.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006699/0.2723, allocations: 2.049 MB / 437 MB, free: 58.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01301/0.2854, allocations: 9.7 MB / 446.7 MB, free: 51.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02418/0.3095, allocations: 11.24 MB / 457.9 MB, free: 40.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0176/0.3271, allocations: 7.192 MB / 465.1 MB, free: 33.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009428/0.3366, allocations: 4.97 MB / 470.1 MB, free: 28.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004097/0.3407, allocations: 1.352 MB / 471.4 MB, free: 26.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006722/0.3474, allocations: 1.745 MB / 473.2 MB, free: 25.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003946/0.3513, allocations: 2.766 MB / 475.9 MB, free: 22.24 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007807/0.3591, allocations: 3.458 MB / 479.4 MB, free: 18.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01984/0.379, allocations: 18.59 MB / 498 MB, free: 136 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.379, allocations: 4 kB / 498 MB, free: 132 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.379, allocations: 0 / 498 MB, free: 132 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004918/0.3795, allocations: 4 kB / 498 MB, free: 128 kB / 330.7 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.04098/0.4204, allocations: 12.45 MB / 0.4985 GB, free: 3.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4205, allocations: 12.03 kB / 0.4985 GB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03849/0.459, allocations: 7.042 MB / 0.5054 GB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/0.474, allocations: 5.663 MB / 0.5109 GB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009404/0.4749, allocations: 0.578 MB / 0.5115 GB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003128/0.478, allocations: 0.7655 MB / 0.5122 GB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03508/0.5131, allocations: 13.12 MB / 0.525 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/0.5134, allocations: 19.83 kB / 0.5251 GB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002497/0.5159, allocations: 327.9 kB / 0.5254 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006908/0.5166, allocations: 0.4928 MB / 0.5258 GB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.029/0.5456, allocations: 10.86 MB / 0.5364 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3425/0.8881, allocations: 80.11 MB / 0.6147 GB, free: 62.26 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/0.9042, allocations: 8.417 MB / 0.6229 GB, free: 55.2 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003887/0.9081, allocations: 2.35 MB / 0.6252 GB, free: 52.86 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004193/0.9085, allocations: 127 kB / 0.6253 GB, free: 52.73 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003352/0.9119, allocations: 2.708 MB / 0.628 GB, free: 49.89 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 7.114e-06/0.9119, allocations: 3.156 kB / 0.628 GB, free: 49.89 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.03288/0.9448, allocations: 16.59 MB / 0.6442 GB, free: 33.51 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.9449, allocations: 355.5 kB / 0.6445 GB, free: 33.09 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005424/0.9503, allocations: 4.688 MB / 0.6491 GB, free: 28.46 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006617/0.951, allocations: 89.7 kB / 0.6492 GB, free: 28.37 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001937/0.9529, allocations: 3.921 MB / 0.653 GB, free: 24.87 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001409/0.9543, allocations: 1.554 MB / 0.6545 GB, free: 23.33 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001809/0.9561, allocations: 1.47 MB / 0.6559 GB, free: 21.85 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.9562, allocations: 476.8 kB / 0.6564 GB, free: 21.38 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00346/0.9597, allocations: 2.074 MB / 0.6584 GB, free: 19.3 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004229/0.9639, allocations: 5.373 MB / 0.6637 GB, free: 12.67 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007684/0.9716, allocations: 8.038 MB / 0.6715 GB, free: 3.445 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-05/0.9717, allocations: 20 kB / 0.6715 GB, free: 3.426 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0148/0.9865, allocations: 7.623 MB / 0.679 GB, free: 11.77 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.9866, allocations: 59.27 kB / 0.679 GB, free: 11.71 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/0.9867, allocations: 60 kB / 0.6791 GB, free: 11.65 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004121/0.9909, allocations: 1.175 MB / 0.6802 GB, free: 10.47 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006055/0.9969, allocations: 1.267 MB / 0.6815 GB, free: 9.199 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/1.014, allocations: 9.245 MB / 0.6905 GB, free: 15.83 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004811/1.019, allocations: 351.4 kB / 0.6908 GB, free: 15.49 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008086/1.02, allocations: 271.9 kB / 0.6911 GB, free: 15.22 MB / 426.8 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.006638/1.026, allocations: 2.659 MB / 0.6937 GB, free: 12.54 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.028, allocations: 0.5015 MB / 0.6942 GB, free: 12.04 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.04, allocations: 5.515 MB / 0.6996 GB, free: 6.461 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.593e-05/1.04, allocations: 44 kB / 0.6996 GB, free: 6.418 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.798e-05/1.041, allocations: 8 kB / 0.6996 GB, free: 6.41 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-05/1.041, allocations: 23.92 kB / 0.6996 GB, free: 6.387 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2125/1.253, allocations: 15.73 MB / 0.715 GB, free: 127.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/1.253, allocations: 8 kB / 0.715 GB, free: 127.3 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003172/1.256, allocations: 0.6886 MB / 0.7157 GB, free: 127.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003798/1.26, allocations: 1.025 MB / 0.7167 GB, free: 127.2 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007008/1.261, allocations: 93.08 kB / 0.7168 GB, free: 127.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/1.272, allocations: 8.185 MB / 0.7248 GB, free: 125.2 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.272, allocations: 7.562 kB / 0.7248 GB, free: 125.2 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.284, allocations: 7.462 MB / 0.7321 GB, free: 122.2 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002687/1.286, allocations: 0.7726 MB / 0.7328 GB, free: 122 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000906/1.287, allocations: 76.31 kB / 0.7329 GB, free: 121.9 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/1.289, allocations: 196.3 kB / 0.7331 GB, free: 121.9 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006516/1.29, allocations: 289.4 kB / 0.7334 GB, free: 121.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/1.29, allocations: 117.3 kB / 0.7335 GB, free: 121.8 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003486/1.294, allocations: 2.416 MB / 0.7358 GB, free: 120.8 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.1e-07/1.294, allocations: 0 / 0.7358 GB, free: 120.8 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00568/1.3, allocations: 1.456 MB / 0.7373 GB, free: 120.7 MB / 426.8 MB 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.0006809/1.3, allocations: 250.3 kB / 0.7375 GB, free: 120.5 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.009138/1.309, allocations: 6.078 MB / 0.7434 GB, free: 118.2 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.309, allocations: 0.5469 kB / 0.7434 GB, free: 118.2 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004538/1.314, allocations: 2.869 MB / 0.7462 GB, free: 117 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003771/1.318, allocations: 0.7567 MB / 0.747 GB, free: 116.8 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/1.338, allocations: 13.08 MB / 0.7597 GB, free: 104.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003721/1.341, allocations: 4.177 MB / 0.7638 GB, free: 100 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003594/1.345, allocations: 1.33 MB / 0.7651 GB, free: 98.7 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009766/1.346, allocations: 344.3 kB / 0.7654 GB, free: 98.36 MB / 426.8 MB Notification: Performance of SimCode: time 2.094e-06/1.346, allocations: 0 / 0.7654 GB, free: 98.36 MB / 426.8 MB Notification: Performance of Templates: time 0.08292/1.429, allocations: 54.05 MB / 0.8182 GB, free: 44.98 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.923364627058618]