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.0009144/0.0009144, allocations: 80.98 kB / 20.7 MB, free: 3.801 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.0009476/0.0009476, allocations: 169.7 kB / 24.1 MB, free: 412 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 1.026/1.026, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.03574/0.03574, allocations: 4.474 MB / 265.6 MB, free: 8.395 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.432e-06/1.432e-06, allocations: 0 / 336.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.151e-05, allocations: 4.984 kB / 336.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002483/0.002505, allocations: 2.348 MB / 339.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.005457, allocations: 2.817 MB / 342.1 MB, free: 7.812 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.005718, allocations: 8 kB / 342.1 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005295/0.006248, allocations: 170.7 kB / 342.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009491/0.007197, allocations: 341.9 kB / 342.6 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.00852, allocations: 1.194 MB / 343.8 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.009012, allocations: 422 kB / 344.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.009186, allocations: 88.83 kB / 344.3 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.009433, allocations: 243.4 kB / 344.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.009691, allocations: 159.5 kB / 344.7 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.009736, allocations: 36 kB / 344.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007114/0.01045, allocations: 379.3 kB / 345.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.01053, allocations: 87.66 kB / 345.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.01062, allocations: 127.6 kB / 345.3 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008346/0.01145, allocations: 0.623 MB / 345.9 MB, free: 3.965 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.01146, allocations: 0 / 345.9 MB, free: 3.965 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01146, allocations: 0 / 345.9 MB, free: 3.965 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.01147, allocations: 0 / 345.9 MB, free: 3.965 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.002261/0.01373, allocations: 1.31 MB / 347.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.01377, allocations: 12.03 kB / 347.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.01387, allocations: 72.66 kB / 347.3 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.01415, allocations: 284.1 kB / 347.6 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/0.01419, allocations: 54.92 kB / 347.7 MB, free: 2.164 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.01423, allocations: 36.38 kB / 347.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.01454, allocations: 446.8 kB / 348.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01456, allocations: 7.922 kB / 348.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.01458, allocations: 15.94 kB / 348.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.01459, allocations: 8 kB / 348.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.01475, allocations: 128.5 kB / 348.3 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.01584, allocations: 0.9553 MB / 349.2 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.0162, allocations: 282.2 kB / 349.5 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/0.0163, allocations: 95.58 kB / 349.6 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-05/0.01636, allocations: 23.94 kB / 349.6 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.01663, allocations: 309.3 kB / 349.9 MB, free: 15.74 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.01663, allocations: 0 / 349.9 MB, free: 15.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.001907/0.01854, allocations: 0.8254 MB / 350.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.01858, allocations: 110.8 kB / 350.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.01884, allocations: 334 kB / 351.2 MB, free: 14.42 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.01888, allocations: 37.7 kB / 351.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01898, allocations: 223.7 kB / 351.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/0.01907, allocations: 154.7 kB / 351.6 MB, free: 14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.01923, allocations: 107.8 kB / 351.7 MB, free: 13.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.01941, allocations: 0.5234 MB / 352.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.01957, allocations: 108.9 kB / 352.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.01975, allocations: 227.8 kB / 352.6 MB, free: 13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.02004, allocations: 289.6 kB / 352.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.02004, allocations: 0 / 352.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00086/0.0209, allocations: 0.5671 MB / 353.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.02092, allocations: 4 kB / 353.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.02092, allocations: 4 kB / 353.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.02216, allocations: 0.495 MB / 353.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.02232, allocations: 71.91 kB / 354 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000833/0.02316, allocations: 1.041 MB / 355 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.02335, allocations: 39.67 kB / 355.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.02337, allocations: 19.98 kB / 355.1 MB, free: 10.43 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.0001337/0.02351, allocations: 176.5 kB / 355.2 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.02358, allocations: 51.77 kB / 355.3 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006185/0.0242, allocations: 444.8 kB / 355.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.0242, allocations: 4 kB / 355.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.02421, allocations: 0 / 355.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02421, allocations: 0 / 355.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.02454, allocations: 321.8 kB / 356.1 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.02454, allocations: 0 / 356.1 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.02464, allocations: 55.92 kB / 356.1 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.02598, allocations: 482.9 kB / 356.6 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.02603, allocations: 8 kB / 356.6 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008143/0.02684, allocations: 1.048 MB / 357.6 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02684, allocations: 3.938 kB / 357.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.02732, allocations: 422.2 kB / 358 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.02737, allocations: 47.62 kB / 358.1 MB, free: 7.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.02741, allocations: 8 kB / 358.1 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.02754, allocations: 19.98 kB / 358.1 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.02759, allocations: 28.44 kB / 358.2 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.02761, allocations: 12 kB / 358.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.02773, allocations: 218.9 kB / 358.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02773, allocations: 0 / 358.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000346/0.02807, allocations: 143.8 kB / 358.5 MB, free: 6.871 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.0009826/0.02906, allocations: 476.3 kB / 359 MB, free: 6.555 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007842/0.02984, allocations: 446.2 kB / 359.4 MB, free: 6.117 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.02984, allocations: 7.938 kB / 359.4 MB, free: 6.109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005009/0.03035, allocations: 267.2 kB / 359.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.03062, allocations: 65.28 kB / 359.8 MB, free: 5.785 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.03172, allocations: 0.6418 MB / 360.4 MB, free: 5.117 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.163e-05/0.03178, allocations: 102.1 kB / 360.5 MB, free: 4.992 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000135/0.03191, allocations: 58.89 kB / 360.5 MB, free: 4.934 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.03209, allocations: 154.2 kB / 360.7 MB, free: 4.781 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03209, allocations: 0 / 360.7 MB, free: 4.781 MB / 282.7 MB Notification: Performance of Templates: time 0.01036/0.04245, allocations: 8.349 MB / 369 MB, free: 12.5 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.0051965941675007]