Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 108.1 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.719/1.719, allocations: 222.9 MB / 245.1 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.03366/0.03366, allocations: 6.956 MB / 304.2 MB, free: 5.859 MB / 238.1 MB " [Timeout remaining time 180] Using package ObjectStab with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ObjectStab.Examples.KundurHJW.SystemPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV") translateModel(ObjectStab.Examples.KundurHJW.SystemPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 63.89 kB / 421.6 MB, free: 21.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1442, allocations: 51.08 MB / 472.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.SystemPV): time 0.008631/0.1529, allocations: 6.07 MB / 478.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.1566, allocations: 1.219 MB / 480 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008944/0.1575, allocations: 16 kB / 480 MB, free: 11.17 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/Base/wRefContainer.mo:4:3-4:80:writable] Warning: Connector wr is not balanced: The number of potential variables (0) is not equal to the number of flow variables (2). Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.1581, allocations: 174.2 kB / 480.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.1595, allocations: 464.6 kB / 480.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.1611, allocations: 0.9399 MB / 481.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002981/0.1641, allocations: 2.041 MB / 483.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.1654, allocations: 0.7947 MB / 484.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.1675, allocations: 0.9973 MB / 485.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.1701, allocations: 1.43 MB / 486.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005079/0.1706, allocations: 236 kB / 487 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004634/0.1711, allocations: 236 kB / 487.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006189/0.1717, allocations: 0.4986 MB / 487.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.1729, allocations: 0.8324 MB / 488.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.1753, allocations: 1.907 MB / 490.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1753, allocations: 0 / 490.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1753, allocations: 4 kB / 490.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.1754, allocations: 0 / 490.5 MB, free: 0.5781 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.005957/0.1813, allocations: 1.944 MB / 492.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.1814, allocations: 12.03 kB / 492.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/0.1818, allocations: 144 kB / 492.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.1827, allocations: 0.6066 MB / 493.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.183, allocations: 214.8 kB / 493.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.1832, allocations: 128 kB / 493.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/0.1859, allocations: 1.398 MB / 494.9 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.1859, allocations: 0 / 494.9 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.1861, allocations: 56 kB / 495 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.1861, allocations: 35.98 kB / 495 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.189, allocations: 1.541 MB / 496.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.1994, allocations: 5.422 MB / 0.4902 GB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003744/0.2032, allocations: 2.439 MB / 0.4926 GB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.2047, allocations: 0.8788 MB / 0.4935 GB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.2048, allocations: 29.28 kB / 0.4935 GB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.2064, allocations: 0.8566 MB / 0.4943 GB, free: 324 kB / 366.1 MB Notification: Performance of pre-optimization done (n=159): time 4.328e-06/0.2064, allocations: 0 / 0.4943 GB, free: 324 kB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.07553/0.282, allocations: 13.62 MB / 0.5076 GB, free: 2.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.2821, allocations: 68.72 kB / 0.5077 GB, free: 2.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.2828, allocations: 441.9 kB / 0.5081 GB, free: 2.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003979/0.2832, allocations: 53.7 kB / 0.5082 GB, free: 2.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.2836, allocations: 449.6 kB / 0.5086 GB, free: 1.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005944/0.2843, allocations: 0.5422 MB / 0.5091 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/0.2847, allocations: 223.6 kB / 0.5093 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.2849, allocations: 337.9 kB / 0.5097 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2998/0.5847, allocations: 0.5993 MB / 0.5103 GB, free: 46.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.5866, allocations: 0.815 MB / 0.511 GB, free: 45.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/0.589, allocations: 1.507 MB / 0.5125 GB, free: 45.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.589, allocations: 1.156 kB / 0.5125 GB, free: 45.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01716/0.6062, allocations: 4.15 MB / 0.5166 GB, free: 44.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.6063, allocations: 9.625 kB / 0.5166 GB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.6063, allocations: 5.531 kB / 0.5166 GB, free: 44.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01858/0.6249, allocations: 3.48 MB / 0.52 GB, free: 44.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/0.6256, allocations: 143.7 kB / 0.5201 GB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/0.6499, allocations: 12.9 MB / 0.5327 GB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.6511, allocations: 138.9 kB / 0.5329 GB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.6512, allocations: 49.44 kB / 0.5329 GB, free: 37.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 (PV_4.online,PV_3.online,PV_2.online,PV_1.online,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,76)} Notification: Performance of prepare postOptimizeDAE: time 0.0004576/0.6517, allocations: 274.4 kB / 0.5332 GB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.6518, allocations: 97.06 kB / 0.5333 GB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/0.6669, allocations: 4.204 MB / 0.5374 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.6669, allocations: 16.56 kB / 0.5374 GB, free: 34.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6669, allocations: 3.938 kB / 0.5374 GB, free: 34.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/0.6669, allocations: 10.73 kB / 0.5374 GB, free: 34.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.6834, allocations: 5.758 MB / 0.543 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/0.6835, allocations: 0 / 0.543 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005126/0.684, allocations: 106.6 kB / 0.5431 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01627/0.7003, allocations: 3.381 MB / 0.5464 GB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003579/0.7007, allocations: 28 kB / 0.5464 GB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02069/0.7214, allocations: 11.99 MB / 0.5582 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.7215, allocations: 3.938 kB / 0.5582 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/0.7361, allocations: 4.067 MB / 0.5621 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.7363, allocations: 184.3 kB / 0.5623 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.7366, allocations: 27.98 kB / 0.5623 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/0.7374, allocations: 39.98 kB / 0.5624 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005507/0.738, allocations: 138.1 kB / 0.5625 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.945e-05/0.7381, allocations: 36 kB / 0.5625 GB, free: 8.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.7383, allocations: 298.9 kB / 0.5628 GB, free: 8.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7383, allocations: 0 / 0.5628 GB, free: 8.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001405/0.7397, allocations: 0.5983 MB / 0.5634 GB, free: 7.609 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,PV_1.online,PV_2.online,PV_3.online,PV_4.online) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,74)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.7399, allocations: 124.3 kB / 0.5635 GB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00471/0.7446, allocations: 2.48 MB / 0.5659 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7447, allocations: 2.812 kB / 0.5659 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003472/0.7481, allocations: 1.74 MB / 0.5676 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/0.7491, allocations: 189.3 kB / 0.5678 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.752, allocations: 2.144 MB / 0.5699 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.7527, allocations: 1.107 MB / 0.571 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003402/0.753, allocations: 86.97 kB / 0.5711 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.7532, allocations: 47.42 kB / 0.5711 GB, free: 15.65 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.7532, allocations: 0 / 0.5711 GB, free: 15.65 MB / 398.1 MB Notification: Performance of Templates: time 0.06357/0.8167, allocations: 42.11 MB / 0.6123 GB, free: 5.648 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.makefile [Timeout 660] (rm -f ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe ; mkfifo ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe ; head -c 1048576 < ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe >> ../files/ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.sim & ./ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.007085640914738]