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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001579/0.00158, allocations: 102.8 kB / 16.03 MB, free: 5.883 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.001637/0.001637, allocations: 192.9 kB / 16.95 MB, free: 5.727 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05343/0.05343, allocations: 8.092 MB / 298.9 MB, free: 6.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 55.91 kB / 361.2 MB, free: 8.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2257, allocations: 51.51 MB / 412.7 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.004048/0.2299, allocations: 2.499 MB / 415.2 MB, free: 23.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.2326, allocations: 2.508 MB / 417.7 MB, free: 20.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.2329, allocations: 4 kB / 417.7 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007226/0.2336, allocations: 151.4 kB / 417.9 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007583/0.2344, allocations: 266.7 kB / 418.2 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.236, allocations: 1.206 MB / 419.4 MB, free: 19.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.2364, allocations: 410.1 kB / 419.8 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.2366, allocations: 130.1 kB / 419.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.2368, allocations: 167.3 kB / 420 MB, free: 18.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.237, allocations: 215.1 kB / 420.3 MB, free: 18.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.237, allocations: 32 kB / 420.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.2375, allocations: 339.8 kB / 420.6 MB, free: 17.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.2375, allocations: 83.67 kB / 420.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2377, allocations: 191 kB / 420.9 MB, free: 17.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005826/0.2383, allocations: 0.631 MB / 421.5 MB, free: 16.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2383, allocations: 0 / 421.5 MB, free: 16.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2383, allocations: 4 kB / 421.5 MB, free: 16.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.2383, allocations: 0 / 421.5 MB, free: 16.92 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.003674/0.242, allocations: 1.22 MB / 422.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.242, allocations: 8.031 kB / 422.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.2421, allocations: 48.38 kB / 422.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.2424, allocations: 319.5 kB / 423.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.2425, allocations: 58.81 kB / 423.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.2425, allocations: 32.12 kB / 423.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.2431, allocations: 440.5 kB / 423.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2431, allocations: 0 / 423.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.2432, allocations: 12 kB / 423.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2432, allocations: 11.98 kB / 423.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.2436, allocations: 386 kB / 424 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.2454, allocations: 1.742 MB / 425.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007619/0.2462, allocations: 0.4904 MB / 426.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.2465, allocations: 252.8 kB / 426.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.459e-05/0.2465, allocations: 11.98 kB / 426.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004625/0.247, allocations: 326.9 kB / 426.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.703e-06/0.247, allocations: 0 / 426.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003792/0.2508, allocations: 1.358 MB / 428.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.2509, allocations: 114.8 kB / 428.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.2511, allocations: 279 kB / 428.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.2512, allocations: 37.7 kB / 428.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.2513, allocations: 172.8 kB / 428.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/0.2514, allocations: 141.9 kB / 428.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.2515, allocations: 98.23 kB / 429 MB, free: 9.031 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.2516, allocations: 338.8 kB / 429.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.2519, allocations: 257 kB / 429.6 MB, free: 8.441 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.2522, allocations: 316.6 kB / 429.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.2529, allocations: 0.5624 MB / 430.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2529, allocations: 0 / 430.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001654/0.2546, allocations: 0.9132 MB / 431.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2546, allocations: 8 kB / 431.4 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2546, allocations: 0 / 431.4 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002491/0.2571, allocations: 0.6125 MB / 432 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2574, allocations: 75.89 kB / 432.1 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.2587, allocations: 1.075 MB / 433.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.259, allocations: 47.52 kB / 433.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.2591, allocations: 20 kB / 433.2 MB, free: 4.77 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.0002061/0.2593, allocations: 165.7 kB / 433.4 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/0.2594, allocations: 31.62 kB / 433.4 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.2606, allocations: 0.7779 MB / 434.2 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2606, allocations: 4 kB / 434.2 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2606, allocations: 3.984 kB / 434.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.2606, allocations: 0 / 434.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.2611, allocations: 0.5563 MB / 434.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.2611, allocations: 0 / 434.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.2613, allocations: 51.92 kB / 434.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/0.2636, allocations: 0.5921 MB / 435.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.2637, allocations: 12 kB / 435.4 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.265, allocations: 1.072 MB / 436.5 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.265, allocations: 3.938 kB / 436.5 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000911/0.2659, allocations: 0.7288 MB / 437.2 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.473e-05/0.266, allocations: 120.6 kB / 437.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/0.2661, allocations: 16 kB / 437.4 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.2664, allocations: 27.92 kB / 437.4 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.2665, allocations: 28.39 kB / 437.4 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.2665, allocations: 16 kB / 437.4 MB, free: 440 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.2667, allocations: 198 kB / 437.6 MB, free: 244 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2668, allocations: 0 / 437.6 MB, free: 244 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004888/0.2672, allocations: 139.8 kB / 437.8 MB, free: 104 kB / 302.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.001053/0.2683, allocations: 426.9 kB / 438.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.2704, allocations: 0.7281 MB / 438.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2704, allocations: 0 / 438.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.2716, allocations: 418.3 kB / 439.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.2721, allocations: 52.8 kB / 439.4 MB, free: 14.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.2738, allocations: 0.8964 MB / 440.3 MB, free: 13.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.2742, allocations: 0.7888 MB / 441 MB, free: 12.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.2744, allocations: 54.88 kB / 441.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/0.2745, allocations: 39.42 kB / 441.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2745, allocations: 0 / 441.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of Templates: time 0.01221/0.2867, allocations: 7.995 MB / 449.1 MB, free: 4.848 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)