Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008181/0.000818, allocations: 94.25 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.0008538/0.0008538, allocations: 179.2 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.301/1.301, allocations: 223.3 MB / 241.7 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04041/0.04041, allocations: 8.092 MB / 300.9 MB, free: 6.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 12 kB / 364.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2139, allocations: 52.52 MB / 416.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.001669/0.2156, allocations: 1.895 MB / 418.6 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.2173, allocations: 1.653 MB / 420.2 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2174, allocations: 11.94 kB / 420.2 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.2178, allocations: 127.4 kB / 420.3 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.2182, allocations: 171 kB / 420.5 MB, free: 20.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.2195, allocations: 0.9106 MB / 421.4 MB, free: 20.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.2199, allocations: 406 kB / 421.8 MB, free: 19.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.2201, allocations: 107.8 kB / 421.9 MB, free: 19.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.2202, allocations: 155.4 kB / 422.1 MB, free: 19.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.2204, allocations: 203 kB / 422.3 MB, free: 19.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.2205, allocations: 16 kB / 422.3 MB, free: 19.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.2208, allocations: 199.8 kB / 422.5 MB, free: 19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.2209, allocations: 71.61 kB / 422.6 MB, free: 18.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.221, allocations: 200.7 kB / 422.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.2214, allocations: 393 kB / 423.1 MB, free: 18.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2214, allocations: 0 / 423.1 MB, free: 18.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2214, allocations: 4 kB / 423.1 MB, free: 18.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.2214, allocations: 0 / 423.1 MB, free: 18.34 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003353/0.2247, allocations: 1.088 MB / 424.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2248, allocations: 15.97 kB / 424.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.633e-05/0.2249, allocations: 44.47 kB / 424.3 MB, free: 17.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.2252, allocations: 331.4 kB / 424.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2253, allocations: 24.94 kB / 424.6 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.2253, allocations: 28.38 kB / 424.7 MB, free: 16.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.2259, allocations: 417.3 kB / 425.1 MB, free: 16.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2259, allocations: 192 / 425.1 MB, free: 16.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.226, allocations: 15.94 kB / 425.1 MB, free: 16.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.226, allocations: 8 kB / 425.1 MB, free: 16.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005004/0.2265, allocations: 414.1 kB / 425.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.2283, allocations: 1.553 MB / 427 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009903/0.2293, allocations: 0.5513 MB / 427.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.2297, allocations: 289.5 kB / 427.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.318e-05/0.2297, allocations: 16.36 kB / 427.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.2298, allocations: 42.94 kB / 427.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.664e-06/0.2298, allocations: 0 / 427.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.0044/0.2342, allocations: 1.635 MB / 429.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.2342, allocations: 55.41 kB / 429.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.2345, allocations: 286.6 kB / 429.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.2346, allocations: 37.7 kB / 429.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.2347, allocations: 153 kB / 430.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.738e-05/0.2347, allocations: 157.6 kB / 430.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.2348, allocations: 53.69 kB / 430.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.2349, allocations: 346.8 kB / 430.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.2352, allocations: 257 kB / 430.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.2356, allocations: 273 kB / 431.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/0.2363, allocations: 0.5897 MB / 431.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2363, allocations: 0 / 431.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002175/0.2385, allocations: 1.02 MB / 432.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.2385, allocations: 4 kB / 432.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.2385, allocations: 0 / 432.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.2404, allocations: 430.1 kB / 433.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.2407, allocations: 75.89 kB / 433.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005544/0.2462, allocations: 5.663 MB / 438.9 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/0.2467, allocations: 43.72 kB / 439 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/0.2468, allocations: 15.98 kB / 439 MB, free: 1.703 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.247, allocations: 165.7 kB / 439.1 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.2471, allocations: 35.62 kB / 439.2 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.2493, allocations: 0.9936 MB / 440.2 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2494, allocations: 4 kB / 440.2 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2494, allocations: 0 / 440.2 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.2494, allocations: 7.984 kB / 440.2 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.2499, allocations: 0.5637 MB / 440.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2499, allocations: 0 / 440.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.2502, allocations: 55.91 kB / 440.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/0.2521, allocations: 430.1 kB / 441.2 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.2521, allocations: 12 kB / 441.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006379/0.2585, allocations: 5.597 MB / 446.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2585, allocations: 0 / 446.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.2609, allocations: 1.017 MB / 447.9 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.2611, allocations: 120.5 kB / 448 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.2611, allocations: 8 kB / 448 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.2615, allocations: 36.22 kB / 448 MB, free: 8.129 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.2617, allocations: 48.31 kB / 448.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.2617, allocations: 23.94 kB / 448.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.262, allocations: 194 kB / 448.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.262, allocations: 0 / 448.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006391/0.2626, allocations: 171.9 kB / 448.4 MB, free: 7.703 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002075/0.2628, allocations: 127.1 kB / 448.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.2648, allocations: 1.076 MB / 449.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2649, allocations: 0 / 449.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.2663, allocations: 0.7601 MB / 450.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.2668, allocations: 52.84 kB / 450.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.268, allocations: 0.9344 MB / 451.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.2684, allocations: 0.7973 MB / 452.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.2685, allocations: 39.42 kB / 452.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2685, allocations: 0 / 452.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of Templates: time 0.01251/0.281, allocations: 9.924 MB / 462.1 MB, free: 9.867 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)