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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 88.36 kB / 16.71 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 185.3 kB / 17.62 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 241.7 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04151/0.04151, allocations: 8.105 MB / 300.9 MB, free: 6.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002927, allocations: 8 kB / 364.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 52.51 MB / 416.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002532/0.2113, allocations: 2.124 MB / 418.8 MB, free: 22.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.214, allocations: 2.504 MB / 421.3 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.2142, allocations: 8 kB / 421.3 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005035/0.2147, allocations: 147.4 kB / 421.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005685/0.2153, allocations: 254.8 kB / 421.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.217, allocations: 1.228 MB / 422.9 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.2174, allocations: 394.2 kB / 423.3 MB, free: 18.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.2176, allocations: 109.6 kB / 423.4 MB, free: 18.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2177, allocations: 139.4 kB / 423.5 MB, free: 17.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.2179, allocations: 191.1 kB / 423.7 MB, free: 17.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.218, allocations: 20 kB / 423.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.2185, allocations: 327.7 kB / 424.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.2186, allocations: 71.67 kB / 424.1 MB, free: 17.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.2187, allocations: 200.7 kB / 424.3 MB, free: 17.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.2191, allocations: 450.9 kB / 424.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2192, allocations: 0 / 424.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2192, allocations: 0 / 424.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.2192, allocations: 4 kB / 424.8 MB, free: 16.7 MB / 302.1 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.003856/0.223, allocations: 1.166 MB / 425.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2231, allocations: 15.97 kB / 426 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.2232, allocations: 44.41 kB / 426 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.2236, allocations: 323.5 kB / 426.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.2237, allocations: 54.77 kB / 426.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.2237, allocations: 36.12 kB / 426.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006248/0.2244, allocations: 448.4 kB / 426.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2244, allocations: 0 / 426.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.2244, allocations: 16 kB / 426.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.2244, allocations: 4 kB / 426.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.225, allocations: 386 kB / 427.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.227, allocations: 1.761 MB / 429 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/0.2279, allocations: 0.4912 MB / 429.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.2282, allocations: 244.8 kB / 429.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.779e-05/0.2283, allocations: 15.98 kB / 429.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.2288, allocations: 330.9 kB / 430.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.2288, allocations: 0 / 430.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.004037/0.2328, allocations: 1.355 MB / 431.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.2329, allocations: 122.7 kB / 431.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.2332, allocations: 279 kB / 431.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.2332, allocations: 37.7 kB / 431.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.2334, allocations: 164.8 kB / 432 MB, free: 9.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.548e-05/0.2335, allocations: 145.9 kB / 432.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.2335, allocations: 45.7 kB / 432.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.2336, allocations: 346.8 kB / 432.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.2339, allocations: 257 kB / 432.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.2343, allocations: 312.7 kB / 433.1 MB, free: 7.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/0.2351, allocations: 0.5625 MB / 433.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2351, allocations: 0 / 433.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001769/0.2368, allocations: 0.9171 MB / 434.6 MB, free: 6.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2369, allocations: 7.938 kB / 434.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.2369, allocations: 4 kB / 434.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002626/0.2395, allocations: 0.6173 MB / 435.2 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.2398, allocations: 75.84 kB / 435.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.2412, allocations: 1.075 MB / 436.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.2416, allocations: 51.52 kB / 436.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.2417, allocations: 12 kB / 436.4 MB, free: 4.609 MB / 302.1 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.0001947/0.2419, allocations: 165.7 kB / 436.6 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.2419, allocations: 35.62 kB / 436.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.2432, allocations: 0.7818 MB / 437.4 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2432, allocations: 7.938 kB / 437.4 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2432, allocations: 0 / 437.4 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2432, allocations: 3.984 kB / 437.4 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.2436, allocations: 0.5564 MB / 438 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.2437, allocations: 4 kB / 438 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.2438, allocations: 51.92 kB / 438 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002447/0.2463, allocations: 0.5924 MB / 438.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.2463, allocations: 8 kB / 438.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.2477, allocations: 1.075 MB / 439.7 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2478, allocations: 7.875 kB / 439.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.2488, allocations: 0.7366 MB / 440.4 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.2489, allocations: 120.6 kB / 440.6 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/0.2489, allocations: 4 kB / 440.6 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.2493, allocations: 31.92 kB / 440.6 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.2494, allocations: 28.39 kB / 440.6 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.2494, allocations: 23.98 kB / 440.6 MB, free: 244 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.2496, allocations: 202 kB / 440.8 MB, free: 44 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2496, allocations: 0 / 440.8 MB, free: 44 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005036/0.2501, allocations: 140 kB / 441 MB, free: 15.9 MB / 318.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: 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.001043/0.2512, allocations: 424.4 kB / 441.4 MB, free: 15.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.253, allocations: 0.7085 MB / 442.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.253, allocations: 0 / 442.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.2542, allocations: 394.4 kB / 442.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.2547, allocations: 48.86 kB / 442.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.2563, allocations: 0.9485 MB / 443.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.2567, allocations: 0.7852 MB / 444.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.2568, allocations: 47.41 kB / 444.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2568, allocations: 0 / 444.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of Templates: time 0.01013/0.2669, allocations: 7.014 MB / 451.3 MB, free: 5.652 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1)