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.002551/0.002551, allocations: 93.47 kB / 19.44 MB, free: 332 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.566/1.566, allocations: 177.1 MB / 199.7 MB, free: 5.809 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.002055/0.002055, allocations: 172.5 kB / 256.3 MB, free: 13.17 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.04058/0.04058, allocations: 6.654 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_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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 391 MB, free: 2.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.324e-05, allocations: 6.312 kB / 391 MB, free: 2.898 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.1729/0.1729, allocations: 24.58 MB / 415.5 MB, free: 69.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0178/0.1907, allocations: 7.921 MB / 423.5 MB, free: 67.31 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00882/0.1995, allocations: 204.8 kB / 423.7 MB, free: 67.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0201/0.2196, allocations: 8.087 MB / 431.8 MB, free: 63.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.2317, allocations: 3.186 MB / 434.9 MB, free: 60.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006477/0.2381, allocations: 2.044 MB / 437 MB, free: 58.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01386/0.252, allocations: 9.706 MB / 446.7 MB, free: 51.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02115/0.2731, allocations: 11.24 MB / 457.9 MB, free: 40.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01665/0.2898, allocations: 7.192 MB / 465.1 MB, free: 33.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/0.3004, allocations: 4.97 MB / 470.1 MB, free: 28.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004763/0.3052, allocations: 1.352 MB / 471.4 MB, free: 26.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008634/0.3138, allocations: 1.737 MB / 473.2 MB, free: 24.99 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00457/0.3184, allocations: 2.774 MB / 476 MB, free: 22.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009141/0.3275, allocations: 3.462 MB / 479.4 MB, free: 18.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0212/0.3487, allocations: 18.59 MB / 498 MB, free: 104 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3487, allocations: 0 / 498 MB, free: 104 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3487, allocations: 0 / 498 MB, free: 104 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005108/0.3492, allocations: 3.938 kB / 498 MB, free: 100 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.03861/0.3878, allocations: 12.45 MB / 0.4985 GB, free: 3.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.3879, allocations: 8.031 kB / 0.4985 GB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03624/0.4241, allocations: 7.05 MB / 0.5054 GB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.4395, allocations: 5.66 MB / 0.5109 GB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006722/0.4401, allocations: 0.5819 MB / 0.5115 GB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00274/0.4429, allocations: 0.7655 MB / 0.5122 GB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03199/0.4749, allocations: 13.11 MB / 0.525 GB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002231/0.4751, allocations: 19.84 kB / 0.5251 GB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/0.4762, allocations: 324 kB / 0.5254 GB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006453/0.4768, allocations: 0.4967 MB / 0.5258 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0237/0.5005, allocations: 10.85 MB / 0.5364 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3571/0.8576, allocations: 80.12 MB / 0.6147 GB, free: 62.21 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01524/0.8728, allocations: 8.417 MB / 0.6229 GB, free: 55.16 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003662/0.8765, allocations: 2.338 MB / 0.6252 GB, free: 52.83 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/0.8769, allocations: 123 kB / 0.6253 GB, free: 52.71 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00318/0.88, allocations: 2.724 MB / 0.628 GB, free: 49.86 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 6.663e-06/0.88, allocations: 0 / 0.628 GB, free: 49.86 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.03472/0.9148, allocations: 16.59 MB / 0.6442 GB, free: 33.48 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.9148, allocations: 355.5 kB / 0.6445 GB, free: 33.06 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005514/0.9204, allocations: 4.68 MB / 0.6491 GB, free: 28.45 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005205/0.9209, allocations: 93.7 kB / 0.6492 GB, free: 28.35 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001879/0.9228, allocations: 3.925 MB / 0.653 GB, free: 24.84 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.924, allocations: 1.557 MB / 0.6545 GB, free: 23.3 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001728/0.9257, allocations: 1.459 MB / 0.6559 GB, free: 21.83 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.9258, allocations: 480.7 kB / 0.6564 GB, free: 21.36 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/0.9286, allocations: 2.082 MB / 0.6584 GB, free: 19.27 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/0.9329, allocations: 5.373 MB / 0.6637 GB, free: 12.64 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007689/0.9406, allocations: 8.038 MB / 0.6715 GB, free: 3.414 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.038e-05/0.9407, allocations: 16 kB / 0.6715 GB, free: 3.398 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0157/0.9564, allocations: 7.626 MB / 0.679 GB, free: 11.74 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.9565, allocations: 57.7 kB / 0.679 GB, free: 11.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/0.9566, allocations: 60 kB / 0.6791 GB, free: 11.62 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004066/0.9607, allocations: 1.171 MB / 0.6802 GB, free: 10.44 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005658/0.9663, allocations: 1.264 MB / 0.6815 GB, free: 9.176 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/0.9833, allocations: 9.246 MB / 0.6905 GB, free: 15.81 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/0.9884, allocations: 355.4 kB / 0.6908 GB, free: 15.46 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.9894, allocations: 275.9 kB / 0.6911 GB, free: 15.19 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.006453/0.9958, allocations: 2.659 MB / 0.6937 GB, free: 12.51 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/0.9975, allocations: 0.4976 MB / 0.6942 GB, free: 12.01 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/1.01, allocations: 5.519 MB / 0.6996 GB, free: 6.43 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-05/1.01, allocations: 40 kB / 0.6996 GB, free: 6.391 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/1.01, allocations: 12 kB / 0.6996 GB, free: 6.379 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.599e-05/1.01, allocations: 19.92 kB / 0.6997 GB, free: 6.359 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2164/1.227, allocations: 15.72 MB / 0.715 GB, free: 127.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/1.227, allocations: 4.562 kB / 0.715 GB, free: 127.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002849/1.229, allocations: 0.688 MB / 0.7157 GB, free: 127.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003488/1.233, allocations: 1.033 MB / 0.7167 GB, free: 127.1 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004808/1.233, allocations: 90.84 kB / 0.7168 GB, free: 127.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/1.244, allocations: 8.185 MB / 0.7248 GB, free: 125.1 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.244, allocations: 8.188 kB / 0.7248 GB, free: 125.1 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.255, allocations: 7.466 MB / 0.7321 GB, free: 122.1 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/1.257, allocations: 0.7718 MB / 0.7328 GB, free: 121.9 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005717/1.258, allocations: 76.62 kB / 0.7329 GB, free: 121.8 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/1.26, allocations: 192.4 kB / 0.7331 GB, free: 121.8 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005769/1.26, allocations: 292.9 kB / 0.7334 GB, free: 121.7 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/1.26, allocations: 116.1 kB / 0.7335 GB, free: 121.7 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003213/1.264, allocations: 2.418 MB / 0.7358 GB, free: 120.7 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/1.264, allocations: 5.219 kB / 0.7358 GB, free: 120.7 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005874/1.27, allocations: 1.447 MB / 0.7372 GB, free: 120.5 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.0005618/1.27, allocations: 262.4 kB / 0.7375 GB, free: 120.4 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00918/1.279, allocations: 6.082 MB / 0.7434 GB, free: 118.1 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.279, allocations: 0 / 0.7434 GB, free: 118.1 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004346/1.284, allocations: 2.861 MB / 0.7462 GB, free: 116.9 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/1.288, allocations: 0.7559 MB / 0.747 GB, free: 116.6 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/1.307, allocations: 13.07 MB / 0.7597 GB, free: 104.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003722/1.311, allocations: 4.187 MB / 0.7638 GB, free: 99.98 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003555/1.315, allocations: 1.326 MB / 0.7651 GB, free: 98.65 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009535/1.316, allocations: 340.4 kB / 0.7654 GB, free: 98.32 MB / 426.8 MB Notification: Performance of SimCode: time 1.532e-06/1.316, allocations: 0 / 0.7654 GB, free: 98.32 MB / 426.8 MB Notification: Performance of Templates: time 0.08146/1.397, allocations: 54.05 MB / 0.8182 GB, free: 44.93 MB / 426.8 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.024588941014372]