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/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.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.00398/0.00398, allocations: 89.64 kB / 15.91 MB, free: 6.301 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.001031/0.001031, allocations: 199 kB / 16.83 MB, free: 6.234 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.197/1.197, allocations: 222.9 MB / 240.5 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1485/0.1485, allocations: 8.097 MB / 298.7 MB, free: 2.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 59.91 kB / 361 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08934, allocations: 51.51 MB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.003039/0.09241, allocations: 2.271 MB / 414.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.09458, allocations: 1.676 MB / 416.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.0948, allocations: 8 kB / 416.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.09522, allocations: 127.5 kB / 416.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.09565, allocations: 171 kB / 416.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.09719, allocations: 0.9237 MB / 417.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.09766, allocations: 406 kB / 418.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.09786, allocations: 111.8 kB / 418.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.09805, allocations: 159.3 kB / 418.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.09832, allocations: 227.1 kB / 418.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.047e-05/0.09839, allocations: 24 kB / 418.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003821/0.09878, allocations: 215.8 kB / 418.8 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.09885, allocations: 71.62 kB / 418.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.09903, allocations: 187 kB / 419.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005817/0.09962, allocations: 0.5299 MB / 419.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.09963, allocations: 0 / 419.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09964, allocations: 0 / 419.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.09966, allocations: 0 / 419.6 MB, free: 3.078 MB / 350.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.003598/0.1033, allocations: 1.146 MB / 420.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1033, allocations: 15.97 kB / 420.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.1034, allocations: 40.47 kB / 420.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.1038, allocations: 323.5 kB / 421.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1038, allocations: 28.94 kB / 421.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.1039, allocations: 28.38 kB / 421.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.1045, allocations: 421.3 kB / 421.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1045, allocations: 192 / 421.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.1046, allocations: 15.94 kB / 421.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.1046, allocations: 12 kB / 421.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.1051, allocations: 410.1 kB / 422 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.107, allocations: 1.542 MB / 423.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1081, allocations: 0.5513 MB / 424.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.1085, allocations: 289.5 kB / 424.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-05/0.1085, allocations: 4.375 kB / 424.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1086, allocations: 42.94 kB / 424.4 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.533e-06/0.1086, allocations: 3.938 kB / 424.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.004208/0.1128, allocations: 1.647 MB / 426.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.1128, allocations: 55.41 kB / 426.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1131, allocations: 278.6 kB / 426.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.1131, allocations: 37.7 kB / 426.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.1132, allocations: 164.9 kB / 426.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1133, allocations: 157.8 kB / 426.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.1135, allocations: 98.14 kB / 426.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.1136, allocations: 342.8 kB / 427.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.114, allocations: 261 kB / 427.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.1144, allocations: 273 kB / 427.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.1151, allocations: 0.5742 MB / 428.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1151, allocations: 0 / 428.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00215/0.1173, allocations: 1.024 MB / 429.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1173, allocations: 8 kB / 429.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1173, allocations: 0 / 429.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.1193, allocations: 426.1 kB / 429.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.1196, allocations: 75.89 kB / 429.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006034/0.1256, allocations: 5.652 MB / 435.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.1259, allocations: 39.53 kB / 435.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.126, allocations: 23.92 kB / 435.5 MB, free: 2.363 MB / 366.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.0001675/0.1262, allocations: 158.7 kB / 435.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.1262, allocations: 35.81 kB / 435.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.1284, allocations: 1.005 MB / 436.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.1284, allocations: 8 kB / 436.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1285, allocations: 3.984 kB / 436.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1285, allocations: 0 / 436.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.129, allocations: 0.5676 MB / 437.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.129, allocations: 0 / 437.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.1292, allocations: 59.91 kB / 437.4 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/0.1308, allocations: 422.1 kB / 437.8 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.1309, allocations: 12 kB / 437.8 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1472/0.278, allocations: 5.584 MB / 443.4 MB, free: 53.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2781, allocations: 0 / 443.4 MB, free: 53.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.28, allocations: 1.018 MB / 444.4 MB, free: 53.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/0.2801, allocations: 123.1 kB / 444.5 MB, free: 53.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.2802, allocations: 8.875 kB / 444.5 MB, free: 53.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.2805, allocations: 27.48 kB / 444.5 MB, free: 53.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.2806, allocations: 45.73 kB / 444.6 MB, free: 53.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.2807, allocations: 13.56 kB / 444.6 MB, free: 53.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.2809, allocations: 199.8 kB / 444.8 MB, free: 53.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2809, allocations: 0 / 444.8 MB, free: 53.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005522/0.2814, allocations: 171.2 kB / 445 MB, free: 53.45 MB / 366.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.0001728/0.2816, allocations: 130.3 kB / 445.1 MB, free: 53.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.2832, allocations: 1.073 MB / 446.2 MB, free: 52.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2833, allocations: 0 / 446.2 MB, free: 52.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.2843, allocations: 0.7667 MB / 446.9 MB, free: 52.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.2847, allocations: 46.14 kB / 447 MB, free: 52.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.2857, allocations: 0.8896 MB / 447.9 MB, free: 51.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.2859, allocations: 0.7948 MB / 448.7 MB, free: 51.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.2861, allocations: 54.33 kB / 448.7 MB, free: 51.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.2862, allocations: 33.8 kB / 448.8 MB, free: 51.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2862, allocations: 6.875 kB / 448.8 MB, free: 51.08 MB / 366.1 MB Notification: Performance of Templates: time 0.01094/0.2971, allocations: 10.17 MB / 458.9 MB, free: 50.46 MB / 366.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)