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.0009448/0.0009448, allocations: 92.31 kB / 20.19 MB, free: 4.355 MB / 18.57 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 0.9835/0.9835, allocations: 177.2 MB / 200.5 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 179] 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.001313/0.001313, allocations: 160.6 kB / 257 MB, free: 13.05 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.02588/0.02588, allocations: 6.658 MB / 320.1 MB, free: 26.6 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_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: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 391.7 MB, free: 2.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.472e-05, allocations: 6.109 kB / 391.7 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.1426/0.1426, allocations: 24.53 MB / 416.2 MB, free: 69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.1574, allocations: 7.923 MB / 424.1 MB, free: 67.24 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004978/0.1624, allocations: 204.5 kB / 424.3 MB, free: 67.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0106/0.173, allocations: 8.057 MB / 432.4 MB, free: 63.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009455/0.1825, allocations: 3.185 MB / 435.6 MB, free: 60.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004315/0.1868, allocations: 2.051 MB / 437.6 MB, free: 59.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009279/0.1961, allocations: 9.695 MB / 447.3 MB, free: 51.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.2073, allocations: 11.24 MB / 458.6 MB, free: 40.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00684/0.2141, allocations: 7.192 MB / 465.8 MB, free: 33.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00564/0.2197, allocations: 4.971 MB / 470.7 MB, free: 28.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002457/0.2222, allocations: 1.352 MB / 472.1 MB, free: 26.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.2255, allocations: 1.741 MB / 473.8 MB, free: 25.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.2269, allocations: 2.774 MB / 476.6 MB, free: 22.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0047/0.2316, allocations: 3.454 MB / 480 MB, free: 18.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008193/0.2398, allocations: 8.632 MB / 488.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2398, allocations: 0 / 488.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2398, allocations: 0 / 488.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000236/0.2401, allocations: 0 / 488.7 MB, free: 10.26 MB / 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.01669/0.2568, allocations: 11.46 MB / 0.4884 GB, free: 14.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2568, allocations: 8.031 kB / 0.4884 GB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01849/0.2753, allocations: 7.05 MB / 0.4953 GB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009994/0.2853, allocations: 5.617 MB / 0.5008 GB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003905/0.2857, allocations: 0.5819 MB / 0.5014 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001883/0.2876, allocations: 0.7616 MB / 0.5021 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/0.3031, allocations: 6.911 MB / 0.5089 GB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/0.3032, allocations: 11.91 kB / 0.5089 GB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006021/0.3038, allocations: 324 kB / 0.5092 GB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003623/0.3042, allocations: 0.4967 MB / 0.5097 GB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009632/0.3138, allocations: 4.044 MB / 0.5136 GB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04864/0.3625, allocations: 33.63 MB / 0.5465 GB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2432/0.6057, allocations: 7.879 MB / 0.5542 GB, free: 118.1 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.608, allocations: 1.309 MB / 0.5554 GB, free: 118.1 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.6082, allocations: 126.1 kB / 0.5556 GB, free: 118.1 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001798/0.61, allocations: 1.686 MB / 0.5572 GB, free: 117.5 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 6.532e-06/0.61, allocations: 0 / 0.5572 GB, free: 117.5 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.02009/0.6301, allocations: 12.44 MB / 0.5693 GB, free: 113.9 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.6302, allocations: 358 kB / 0.5697 GB, free: 113.5 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.6331, allocations: 2.976 MB / 0.5726 GB, free: 113.1 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003162/0.6334, allocations: 90.58 kB / 0.5727 GB, free: 113.1 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.6348, allocations: 3.672 MB / 0.5763 GB, free: 111.5 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008921/0.6357, allocations: 1.452 MB / 0.5777 GB, free: 110.6 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.6368, allocations: 1.182 MB / 0.5788 GB, free: 110.5 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.6368, allocations: 476.8 kB / 0.5793 GB, free: 110 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.6382, allocations: 0.8743 MB / 0.5801 GB, free: 110 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.6405, allocations: 3.903 MB / 0.584 GB, free: 106.2 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/0.6444, allocations: 5.002 MB / 0.5888 GB, free: 101.3 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-05/0.6444, allocations: 16 kB / 0.5889 GB, free: 101.2 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.006488/0.6509, allocations: 5.012 MB / 0.5938 GB, free: 96.76 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.651, allocations: 53.7 kB / 0.5938 GB, free: 96.7 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-05/0.651, allocations: 68.31 kB / 0.5939 GB, free: 96.63 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/0.6529, allocations: 0.9277 MB / 0.5948 GB, free: 95.93 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/0.6553, allocations: 1.264 MB / 0.596 GB, free: 94.86 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/0.6608, allocations: 5.754 MB / 0.6016 GB, free: 89.57 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/0.6638, allocations: 353.5 kB / 0.602 GB, free: 89.29 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005362/0.6644, allocations: 277.4 kB / 0.6022 GB, free: 89.04 MB / 394.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.001832/0.6662, allocations: 0.5393 MB / 0.6028 GB, free: 88.48 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007712/0.667, allocations: 0.4975 MB / 0.6032 GB, free: 87.98 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004519/0.6715, allocations: 3.632 MB / 0.6068 GB, free: 84.4 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.6715, allocations: 40.88 kB / 0.6068 GB, free: 84.36 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.6715, allocations: 12 kB / 0.6068 GB, free: 84.35 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/0.6715, allocations: 19.92 kB / 0.6069 GB, free: 84.33 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/0.6838, allocations: 10.25 MB / 0.6169 GB, free: 73.99 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.6838, allocations: 4 kB / 0.6169 GB, free: 73.99 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.6852, allocations: 0.6826 MB / 0.6175 GB, free: 73.3 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/0.6868, allocations: 0.8194 MB / 0.6183 GB, free: 72.49 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.687, allocations: 87.97 kB / 0.6184 GB, free: 72.4 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004877/0.6919, allocations: 5.217 MB / 0.6235 GB, free: 67.07 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.6919, allocations: 7.938 kB / 0.6235 GB, free: 67.07 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005745/0.6976, allocations: 4.417 MB / 0.6278 GB, free: 62.48 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.6993, allocations: 0.7744 MB / 0.6286 GB, free: 61.7 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004904/0.6998, allocations: 78.52 kB / 0.6287 GB, free: 61.63 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.7008, allocations: 191.8 kB / 0.6288 GB, free: 61.44 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004538/0.7013, allocations: 295 kB / 0.6291 GB, free: 61.15 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/0.7014, allocations: 112 kB / 0.6292 GB, free: 61.04 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001602/0.703, allocations: 1.439 MB / 0.6306 GB, free: 59.61 MB / 394.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.703, allocations: 0 / 0.6306 GB, free: 59.61 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003784/0.7068, allocations: 1.453 MB / 0.6321 GB, free: 58.15 MB / 394.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.0004965/0.7073, allocations: 262.7 kB / 0.6323 GB, free: 57.89 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.00513/0.7124, allocations: 3.867 MB / 0.6361 GB, free: 53.98 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.7124, allocations: 0 / 0.6361 GB, free: 53.98 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002491/0.7149, allocations: 2.02 MB / 0.6381 GB, free: 51.91 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.7174, allocations: 0.7587 MB / 0.6388 GB, free: 51.2 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.7318, allocations: 11.68 MB / 0.6502 GB, free: 39.34 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.7331, allocations: 2.045 MB / 0.6522 GB, free: 37.27 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002513/0.7356, allocations: 1.326 MB / 0.6535 GB, free: 35.93 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006497/0.7363, allocations: 344.4 kB / 0.6538 GB, free: 35.6 MB / 394.8 MB Notification: Performance of SimCode: time 2.084e-06/0.7363, allocations: 0 / 0.6538 GB, free: 35.6 MB / 394.8 MB Notification: Performance of Templates: time 0.1889/0.9251, allocations: 54.08 MB / 0.7066 GB, free: 131.1 MB / 410.8 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.856567747192457]