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.001461/0.001461, allocations: 107 kB / 16.56 MB, free: 6.723 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.001956/0.001956, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.335/1.335, allocations: 222.9 MB / 241.2 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05354/0.05354, allocations: 8.091 MB / 299.4 MB, free: 6.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 361.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2044, allocations: 51.51 MB / 413.2 MB, free: 25.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002872/0.2073, allocations: 2.499 MB / 415.7 MB, free: 23.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.2099, allocations: 2.516 MB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.2101, allocations: 4 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.2106, allocations: 147.4 kB / 418.4 MB, free: 20.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005776/0.2112, allocations: 262.7 kB / 418.6 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.2129, allocations: 1.264 MB / 419.9 MB, free: 19.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.2133, allocations: 398.1 kB / 420.3 MB, free: 18.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.2135, allocations: 105.7 kB / 420.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2137, allocations: 159.3 kB / 420.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.2139, allocations: 199.1 kB / 420.7 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.214, allocations: 20 kB / 420.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/0.2145, allocations: 331.7 kB / 421.1 MB, free: 17.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/0.2146, allocations: 79.66 kB / 421.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.2147, allocations: 179 kB / 421.3 MB, free: 17.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.2151, allocations: 467 kB / 421.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2151, allocations: 4 kB / 421.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2151, allocations: 0 / 421.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2151, allocations: 0 / 421.8 MB, free: 17.21 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.003839/0.219, allocations: 1.224 MB / 423 MB, free: 15.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.219, allocations: 15.97 kB / 423 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.2192, allocations: 48.38 kB / 423.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.2195, allocations: 323.6 kB / 423.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.2196, allocations: 46.83 kB / 423.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.2197, allocations: 40.12 kB / 423.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.2203, allocations: 440.4 kB / 423.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2203, allocations: 3.984 kB / 423.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.2203, allocations: 16 kB / 423.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2203, allocations: 7.938 kB / 423.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.2208, allocations: 382.1 kB / 424.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2228, allocations: 1.742 MB / 426 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/0.2236, allocations: 0.49 MB / 426.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.2239, allocations: 252.8 kB / 426.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.561e-05/0.224, allocations: 11.92 kB / 426.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005599/0.2246, allocations: 334.9 kB / 427.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.2246, allocations: 0 / 427.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003915/0.2285, allocations: 1.347 MB / 428.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.2286, allocations: 114.7 kB / 428.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.2289, allocations: 283 kB / 428.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/0.2289, allocations: 41.69 kB / 428.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.819e-05/0.229, allocations: 168.8 kB / 429.1 MB, free: 9.547 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.2291, allocations: 137.9 kB / 429.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.2293, allocations: 102.2 kB / 429.3 MB, free: 9.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.2294, allocations: 346.8 kB / 429.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.2297, allocations: 257 kB / 429.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.2301, allocations: 304.7 kB / 430.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.2308, allocations: 0.5586 MB / 430.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2308, allocations: 0 / 430.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001828/0.2327, allocations: 0.9249 MB / 431.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.2327, allocations: 4 kB / 431.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2327, allocations: 0 / 431.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002639/0.2354, allocations: 0.6128 MB / 432.3 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.2357, allocations: 71.91 kB / 432.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.2371, allocations: 1.071 MB / 433.4 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.2375, allocations: 55.45 kB / 433.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.2376, allocations: 15.98 kB / 433.5 MB, free: 5.047 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.0002068/0.2378, allocations: 161.7 kB / 433.6 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/0.2379, allocations: 35.61 kB / 433.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.2391, allocations: 0.7779 MB / 434.5 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2391, allocations: 4 kB / 434.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2391, allocations: 0 / 434.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2391, allocations: 0 / 434.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.2396, allocations: 0.5564 MB / 435 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2396, allocations: 3.938 kB / 435 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.2398, allocations: 47.98 kB / 435.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002413/0.2422, allocations: 0.5975 MB / 435.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.2422, allocations: 8 kB / 435.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.2436, allocations: 1.073 MB / 436.7 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.2436, allocations: 11.92 kB / 436.8 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.2447, allocations: 0.7288 MB / 437.5 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.612e-05/0.2448, allocations: 120.6 kB / 437.6 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/0.2449, allocations: 12 kB / 437.6 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.2452, allocations: 27.92 kB / 437.6 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.2453, allocations: 28.39 kB / 437.7 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.2453, allocations: 16 kB / 437.7 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.2455, allocations: 201.9 kB / 437.9 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2455, allocations: 0 / 437.9 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004345/0.246, allocations: 131.8 kB / 438 MB, free: 388 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.0009731/0.2469, allocations: 426.2 kB / 438.4 MB, free: 104 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.2488, allocations: 0.7048 MB / 439.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2488, allocations: 0 / 439.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.25, allocations: 402.3 kB / 439.5 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.2505, allocations: 56.25 kB / 439.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.2521, allocations: 0.9148 MB / 440.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.2525, allocations: 0.7891 MB / 441.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.2527, allocations: 39.42 kB / 441.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2527, allocations: 3.938 kB / 441.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of Templates: time 0.01116/0.2638, allocations: 7.032 MB / 448.4 MB, free: 6.125 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)