Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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.0009488/0.0009488, allocations: 84.22 kB / 20.98 MB, free: 3.566 MB / 18.57 MB " [Timeout remaining time 180] 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.0009334/0.0009334, allocations: 165 kB / 24.29 MB, free: 268 kB / 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.9911/0.9911, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02616/0.02616, allocations: 4.484 MB / 265.6 MB, free: 8.605 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 336.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.816e-05, allocations: 8.641 kB / 336.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002471/0.002499, allocations: 2.379 MB / 338.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.005005, allocations: 2.821 MB / 341.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.005187, allocations: 12 kB / 341.7 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.005641, allocations: 166.8 kB / 341.9 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.006296, allocations: 341.9 kB / 342.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.007547, allocations: 1.206 MB / 343.4 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.007925, allocations: 426 kB / 343.8 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.008081, allocations: 88.78 kB / 343.9 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.00824, allocations: 239.4 kB / 344.1 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.008425, allocations: 163.5 kB / 344.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.008461, allocations: 32 kB / 344.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/0.008918, allocations: 379.3 kB / 344.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.009029, allocations: 87.66 kB / 344.8 MB, free: 5.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.532e-05/0.009115, allocations: 131.6 kB / 344.9 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005637/0.009678, allocations: 0.6268 MB / 345.5 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.009682, allocations: 3.984 kB / 345.5 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009683, allocations: 4 kB / 345.5 MB, free: 4.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.009689, allocations: 0 / 345.5 MB, free: 4.504 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002408/0.0121, allocations: 1.295 MB / 346.8 MB, free: 3.172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.01214, allocations: 12.03 kB / 346.8 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.01232, allocations: 68.66 kB / 346.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.01279, allocations: 284.1 kB / 347.2 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.01286, allocations: 54.92 kB / 347.2 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.01293, allocations: 32.38 kB / 347.3 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.01357, allocations: 482.8 kB / 347.7 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.01358, allocations: 7.938 kB / 347.8 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.01363, allocations: 12 kB / 347.8 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.01364, allocations: 11.98 kB / 347.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.01409, allocations: 175.8 kB / 347.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.01594, allocations: 0.9938 MB / 348.9 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007412/0.01668, allocations: 311.4 kB / 349.2 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.01694, allocations: 123.6 kB / 349.4 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.071e-05/0.01701, allocations: 8 kB / 349.4 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004261/0.01744, allocations: 333.4 kB / 349.7 MB, free: 108 kB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.885e-06/0.01744, allocations: 0 / 349.7 MB, free: 108 kB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.003428/0.02087, allocations: 0.888 MB / 350.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.02094, allocations: 114.8 kB / 350.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.02128, allocations: 330.2 kB / 351 MB, free: 14.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.02133, allocations: 37.7 kB / 351.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.02146, allocations: 219.8 kB / 351.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.0216, allocations: 150.7 kB / 351.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.02179, allocations: 107.8 kB / 351.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.02195, allocations: 0.5235 MB / 352 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.02225, allocations: 140.9 kB / 352.2 MB, free: 13.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.02263, allocations: 255.9 kB / 352.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.0233, allocations: 353.6 kB / 352.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.0233, allocations: 0 / 352.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001639/0.02494, allocations: 0.6374 MB / 353.4 MB, free: 12.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.02496, allocations: 6.969 kB / 353.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.02497, allocations: 3.984 kB / 353.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/0.02708, allocations: 0.5062 MB / 353.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.02733, allocations: 79.83 kB / 354 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.02857, allocations: 1.058 MB / 355.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.02887, allocations: 43.67 kB / 355.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.02891, allocations: 19.98 kB / 355.1 MB, free: 10.51 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.02911, allocations: 180.5 kB / 355.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.421e-05/0.0292, allocations: 47.77 kB / 355.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009823/0.03019, allocations: 496.8 kB / 355.8 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.03019, allocations: 4 kB / 355.8 MB, free: 9.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.0302, allocations: 0 / 355.8 MB, free: 9.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.0302, allocations: 0 / 355.8 MB, free: 9.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.03058, allocations: 373.1 kB / 356.2 MB, free: 9.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.03058, allocations: 0 / 356.2 MB, free: 9.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.03074, allocations: 47.92 kB / 356.3 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.03196, allocations: 494.9 kB / 356.7 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.03199, allocations: 11.94 kB / 356.8 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009144/0.03291, allocations: 1.065 MB / 357.8 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.03291, allocations: 0 / 357.8 MB, free: 7.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/0.03359, allocations: 478.1 kB / 358.3 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.03365, allocations: 47.62 kB / 358.3 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.03369, allocations: 8 kB / 358.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.03383, allocations: 19.98 kB / 358.4 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.03391, allocations: 32.44 kB / 358.4 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.03394, allocations: 16 kB / 358.4 MB, free: 7.113 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.0341, allocations: 231 kB / 358.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.0341, allocations: 0 / 358.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004065/0.03451, allocations: 139.8 kB / 358.8 MB, free: 6.754 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/0.03568, allocations: 487.1 kB / 359.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.03672, allocations: 498.2 kB / 359.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.03672, allocations: 0 / 359.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.03725, allocations: 291.2 kB / 360 MB, free: 5.656 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.03754, allocations: 57.88 kB / 360.1 MB, free: 5.598 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.03887, allocations: 0.6502 MB / 360.7 MB, free: 4.922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.972e-05/0.03895, allocations: 106 kB / 360.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.03909, allocations: 62.91 kB / 360.9 MB, free: 4.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.03916, allocations: 40.48 kB / 360.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03916, allocations: 0 / 360.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of Templates: time 0.01025/0.04941, allocations: 7.759 MB / 368.7 MB, free: 13.01 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.1329027488827705]