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.002019/0.002019, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.002555/0.002555, allocations: 190.8 kB / 22.11 MB, free: 5.152 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.784/1.784, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.03167/0.03167, allocations: 7.039 MB / 313.1 MB, free: 1.809 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.002094/0.002094, allocations: 63.89 kB / 436.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1205, allocations: 53.92 MB / 490.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.SystemPV): time 0.00958/0.13, allocations: 6.078 MB / 496.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003627/0.1337, allocations: 1.216 MB / 497.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.135, allocations: 16 kB / 497.7 MB, free: 1.512 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.0009489/0.1359, allocations: 176.3 kB / 497.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.1383, allocations: 480.6 kB / 498.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.1399, allocations: 0.94 MB / 499.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002842/0.1427, allocations: 2.041 MB / 0.4896 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009007/0.1436, allocations: 0.5686 MB / 0.4901 GB, free: 13.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.1453, allocations: 1.017 MB / 0.4911 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.1472, allocations: 1.554 MB / 0.4926 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003558/0.1476, allocations: 236 kB / 0.4928 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.1479, allocations: 240 kB / 0.4931 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005856/0.1485, allocations: 0.4987 MB / 0.4936 GB, free: 9.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009079/0.1494, allocations: 0.8324 MB / 0.4944 GB, free: 8.891 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.1515, allocations: 1.9 MB / 0.4962 GB, free: 6.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.1515, allocations: 4 kB / 0.4962 GB, free: 6.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1516, allocations: 0 / 0.4962 GB, free: 6.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.225e-05/0.1516, allocations: 0 / 0.4962 GB, free: 6.98 MB / 366.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.00585/0.1574, allocations: 1.87 MB / 0.4981 GB, free: 5.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.1575, allocations: 16.03 kB / 0.4981 GB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.1578, allocations: 148 kB / 0.4982 GB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009583/0.1588, allocations: 0.5502 MB / 0.4988 GB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.159, allocations: 214 kB / 0.499 GB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.1592, allocations: 131.9 kB / 0.4991 GB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.1618, allocations: 1.402 MB / 0.5005 GB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.1619, allocations: 3.984 kB / 0.5005 GB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.162, allocations: 52 kB / 0.5005 GB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.1621, allocations: 36 kB / 0.5005 GB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.1649, allocations: 1.533 MB / 0.502 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.376/0.5409, allocations: 5.322 MB / 0.5072 GB, free: 22.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.5441, allocations: 1.376 MB / 0.5086 GB, free: 22.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.5455, allocations: 0.7418 MB / 0.5093 GB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.5456, allocations: 30.38 kB / 0.5093 GB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001648/0.5472, allocations: 0.8552 MB / 0.5102 GB, free: 21.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=159): time 3.597e-06/0.5473, allocations: 0 / 0.5102 GB, free: 21.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.07627/0.6235, allocations: 13.46 MB / 0.5233 GB, free: 15.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.6236, allocations: 72.44 kB / 0.5234 GB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.6241, allocations: 434.9 kB / 0.5238 GB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002706/0.6244, allocations: 49.67 kB / 0.5238 GB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.6247, allocations: 448.1 kB / 0.5243 GB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005455/0.6252, allocations: 0.5445 MB / 0.5248 GB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004849/0.6257, allocations: 221.8 kB / 0.525 GB, free: 14.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.6258, allocations: 344.9 kB / 0.5253 GB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.6269, allocations: 0.6002 MB / 0.5259 GB, free: 13.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.6282, allocations: 0.8212 MB / 0.5267 GB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.6304, allocations: 1.513 MB / 0.5282 GB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.6304, allocations: 3.938 kB / 0.5282 GB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01595/0.6464, allocations: 4.071 MB / 0.5322 GB, free: 8.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.6464, allocations: 11.28 kB / 0.5322 GB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.6464, allocations: 4 kB / 0.5322 GB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01747/0.6639, allocations: 3.473 MB / 0.5356 GB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/0.6646, allocations: 147.7 kB / 0.5357 GB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03025/0.6948, allocations: 12.79 MB / 0.5482 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.6967, allocations: 127.3 kB / 0.5484 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005072/0.6972, allocations: 53.55 kB / 0.5484 GB, free: 7.965 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.001387/0.6986, allocations: 277.5 kB / 0.5487 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004899/0.6991, allocations: 95.39 kB / 0.5488 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01821/0.7173, allocations: 4.128 MB / 0.5528 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/0.7173, allocations: 16 kB / 0.5528 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7173, allocations: 0 / 0.5528 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.835e-05/0.7174, allocations: 7.969 kB / 0.5528 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/0.739, allocations: 5.655 MB / 0.5583 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/0.739, allocations: 0 / 0.5583 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.7396, allocations: 103.9 kB / 0.5584 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01844/0.7581, allocations: 3.379 MB / 0.5617 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004819/0.7585, allocations: 28 kB / 0.5618 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03247/0.791, allocations: 11.9 MB / 0.5734 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.791, allocations: 0 / 0.5734 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/0.8089, allocations: 3.993 MB / 0.5773 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.8093, allocations: 99.08 kB / 0.5774 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004863/0.8097, allocations: 28 kB / 0.5774 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.811, allocations: 47.59 kB / 0.5774 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/0.8121, allocations: 145.3 kB / 0.5776 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002579/0.8123, allocations: 43.94 kB / 0.5776 GB, free: 9.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004719/0.8128, allocations: 290.9 kB / 0.5779 GB, free: 9.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8128, allocations: 0 / 0.5779 GB, free: 9.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003124/0.8159, allocations: 0.6009 MB / 0.5785 GB, free: 8.961 MB / 414.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.0003993/0.8163, allocations: 127.1 kB / 0.5786 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007139/0.8235, allocations: 2.367 MB / 0.5809 GB, free: 6.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.8235, allocations: 3.938 kB / 0.5809 GB, free: 6.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005424/0.8289, allocations: 1.613 MB / 0.5825 GB, free: 4.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.8305, allocations: 193.5 kB / 0.5827 GB, free: 4.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/0.8364, allocations: 2.143 MB / 0.5848 GB, free: 2.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.8376, allocations: 1.107 MB / 0.5859 GB, free: 1.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004429/0.838, allocations: 87.44 kB / 0.5859 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.8382, allocations: 47.42 kB / 0.586 GB, free: 1.203 MB / 414.1 MB Notification: Performance of SimCode: time 1.623e-06/0.8382, allocations: 0 / 0.586 GB, free: 1.203 MB / 414.1 MB Notification: Performance of Templates: time 0.07948/0.9177, allocations: 44.21 MB / 0.6292 GB, free: 5.102 MB / 462.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.005277579650283] Failed to read output from testmodel.py, exit status != 0: 0.9295677868649364 0.949637497 0.794471444 Calling exit ...