Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.001169, allocations: 91.62 kB / 16.71 MB, free: 6.145 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.001381/0.001381, allocations: 180.8 kB / 17.62 MB, free: 5.855 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.443/1.443, allocations: 223.3 MB / 241.7 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04137/0.04137, allocations: 8.092 MB / 300.9 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 8 kB / 364.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2095, allocations: 52.52 MB / 416.7 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.001766/0.2113, allocations: 2.086 MB / 418.7 MB, free: 22.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.213, allocations: 1.691 MB / 420.4 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2132, allocations: 8 kB / 420.4 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.2135, allocations: 135.4 kB / 420.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.2139, allocations: 186.9 kB / 420.8 MB, free: 20.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.2153, allocations: 0.9771 MB / 421.7 MB, free: 19.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.2157, allocations: 442 kB / 422.2 MB, free: 19.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.2159, allocations: 144.4 kB / 422.3 MB, free: 19.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.216, allocations: 167.2 kB / 422.5 MB, free: 19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.2163, allocations: 223 kB / 422.7 MB, free: 18.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.2163, allocations: 24 kB / 422.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.2167, allocations: 231.8 kB / 422.9 MB, free: 18.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.2167, allocations: 83.5 kB / 423 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.2169, allocations: 224.6 kB / 423.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.2172, allocations: 484.7 kB / 423.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2173, allocations: 0 / 423.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2173, allocations: 0 / 423.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2173, allocations: 0 / 423.7 MB, free: 17.75 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003229/0.2205, allocations: 1.117 MB / 424.8 MB, free: 16.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2206, allocations: 15.97 kB / 424.8 MB, free: 16.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.2208, allocations: 60.36 kB / 424.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.2212, allocations: 359.5 kB / 425.3 MB, free: 16.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.2212, allocations: 29.03 kB / 425.3 MB, free: 16.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.2213, allocations: 36.38 kB / 425.3 MB, free: 16.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.2219, allocations: 450.5 kB / 425.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2219, allocations: 192 / 425.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.222, allocations: 19.94 kB / 425.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.222, allocations: 8 kB / 425.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/0.2226, allocations: 454.4 kB / 426.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.2246, allocations: 2.003 MB / 428.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009235/0.2255, allocations: 0.6923 MB / 428.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.2259, allocations: 297.2 kB / 429.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-05/0.2259, allocations: 15.98 kB / 429.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/0.2265, allocations: 464.6 kB / 429.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 1.964e-06/0.2265, allocations: 0 / 429.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.005445/0.2319, allocations: 1.799 MB / 431.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.232, allocations: 196.3 kB / 431.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.2323, allocations: 310.8 kB / 432 MB, free: 9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.2324, allocations: 41.64 kB / 432 MB, free: 8.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.2325, allocations: 172.9 kB / 432.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.91e-05/0.2326, allocations: 157.7 kB / 432.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.2327, allocations: 57.69 kB / 432.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.2327, allocations: 350.8 kB / 432.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.2331, allocations: 277.1 kB / 433 MB, free: 7.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.2335, allocations: 339.8 kB / 433.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007013/0.2405, allocations: 2.105 MB / 435.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.2405, allocations: 4 kB / 435.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00249/0.243, allocations: 1.184 MB / 436.6 MB, free: 4.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.2431, allocations: 33.69 kB / 436.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.2431, allocations: 7.938 kB / 436.7 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/0.2453, allocations: 0.5258 MB / 437.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.2456, allocations: 79.89 kB / 437.3 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004931/0.2505, allocations: 3.643 MB / 440.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.251, allocations: 47.52 kB / 441 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.2511, allocations: 20 kB / 441 MB, free: 15.75 MB / 318.1 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) "true means the fault is active" type: Boolean line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) "Real part of complex number" type: Real line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) "Imaginary part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.line2.myFault.fault,line2.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im,line2.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0003271/0.2514, allocations: 238 kB / 441.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.2515, allocations: 39.53 kB / 441.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.2543, allocations: 1.133 MB / 442.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.2544, allocations: 7.984 kB / 442.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.2544, allocations: 0 / 442.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2544, allocations: 4 kB / 442.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.2581, allocations: 1.822 MB / 444.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2581, allocations: 4 kB / 444.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.2583, allocations: 55.84 kB / 444.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/0.2607, allocations: 0.508 MB / 444.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.2607, allocations: 19.98 kB / 444.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005516/0.2662, allocations: 3.598 MB / 448.4 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2663, allocations: 4 kB / 448.4 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.2691, allocations: 1.183 MB / 449.6 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2693, allocations: 128.5 kB / 449.7 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.2693, allocations: 12 kB / 449.7 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.2697, allocations: 31.98 kB / 449.8 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.2699, allocations: 40.38 kB / 449.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.2699, allocations: 16 kB / 449.8 MB, free: 6.652 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002553/0.2702, allocations: 221.9 kB / 450 MB, free: 6.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2702, allocations: 0 / 450 MB, free: 6.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007011/0.2709, allocations: 187.8 kB / 450.2 MB, free: 6.246 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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.Y.re,line2.myFault.Y.im,line2.myFault.fault) * Number of discrete states: 7 ($whenCondition4,line2.myFault.Y.im,line2.myFault.Y.re,$whenCondition3,$whenCondition2,line2.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002404/0.2711, allocations: 131.1 kB / 450.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.2732, allocations: 0.9847 MB / 451.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2732, allocations: 0 / 451.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.2745, allocations: 0.6803 MB / 452 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.2749, allocations: 44.81 kB / 452.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.2765, allocations: 0.9936 MB / 453.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.2769, allocations: 0.8058 MB / 453.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.2771, allocations: 47.42 kB / 453.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of SimCode: time 4.9e-07/0.2771, allocations: 0 / 453.9 MB, free: 2.441 MB / 318.1 MB Notification: Performance of Templates: time 0.01209/0.2892, allocations: 7.656 MB / 461.6 MB, free: 10.79 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe 2>&1)