Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009272/0.0009274, allocations: 96.47 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009857/0.0009859, allocations: 182.4 kB / 16.96 MB, free: 6.895 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2551/0.2551, allocations: 8.094 MB / 300.2 MB, free: 2.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003504, allocations: 8 kB / 363.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1306, allocations: 52.51 MB / 416 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002436/0.1331, allocations: 1.364 MB / 417.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1356, allocations: 1.551 MB / 418.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.1359, allocations: 4 kB / 418.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.1363, allocations: 111.5 kB / 419 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.1367, allocations: 115.4 kB / 419.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.1383, allocations: 0.8679 MB / 420 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.1387, allocations: 254.7 kB / 420.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.1389, allocations: 80.56 kB / 420.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.587e-05/0.139, allocations: 99.56 kB / 420.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1392, allocations: 119.5 kB / 420.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1392, allocations: 15.98 kB / 420.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.1396, allocations: 195.8 kB / 420.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.1397, allocations: 47.77 kB / 420.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1398, allocations: 137 kB / 420.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.1403, allocations: 403 kB / 421.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1403, allocations: 0 / 421.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1403, allocations: 0 / 421.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1403, allocations: 0 / 421.3 MB, free: 3.016 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002428/0.1427, allocations: 0.8149 MB / 422.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1428, allocations: 15.97 kB / 422.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.1429, allocations: 24.66 kB / 422.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1432, allocations: 264.7 kB / 422.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.1432, allocations: 16.81 kB / 422.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.1433, allocations: 16.38 kB / 422.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.1438, allocations: 291.8 kB / 422.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1438, allocations: 192 / 422.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.1438, allocations: 15.94 kB / 422.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.1439, allocations: 8 kB / 422.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.1443, allocations: 277.6 kB / 423.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.1458, allocations: 1.039 MB / 424.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2478/0.3936, allocations: 454.8 kB / 424.5 MB, free: 41.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.394, allocations: 175.6 kB / 424.7 MB, free: 41.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.979e-05/0.394, allocations: 15.81 kB / 424.7 MB, free: 41.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3941, allocations: 37.56 kB / 424.8 MB, free: 41.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.855e-06/0.3941, allocations: 0 / 424.8 MB, free: 41.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002799/0.3969, allocations: 0.9565 MB / 425.7 MB, free: 41.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.3969, allocations: 56.91 kB / 425.8 MB, free: 41.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.3971, allocations: 215.7 kB / 426 MB, free: 41.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.3972, allocations: 30.08 kB / 426 MB, free: 41.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.3973, allocations: 140.3 kB / 426.1 MB, free: 41.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.3973, allocations: 96.48 kB / 426.2 MB, free: 40.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.3974, allocations: 38.38 kB / 426.3 MB, free: 40.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.3975, allocations: 343.6 kB / 426.6 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.3977, allocations: 175.7 kB / 426.8 MB, free: 40.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.3979, allocations: 179.5 kB / 427 MB, free: 40.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.3984, allocations: 384.5 kB / 427.3 MB, free: 40.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3984, allocations: 0 / 427.3 MB, free: 40.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001264/0.3997, allocations: 0.6619 MB / 428 MB, free: 40.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3997, allocations: 6.344 kB / 428 MB, free: 40.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3997, allocations: 1.719 kB / 428 MB, free: 40.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4008, allocations: 248.4 kB / 428.3 MB, free: 40.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.401, allocations: 57.14 kB / 428.3 MB, free: 40.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/0.4042, allocations: 2.498 MB / 430.8 MB, free: 39.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.4045, allocations: 36.81 kB / 430.8 MB, free: 39.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.4045, allocations: 12.52 kB / 430.9 MB, free: 39.22 MB / 350.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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.4047, allocations: 142.5 kB / 431 MB, free: 39.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.4047, allocations: 17.28 kB / 431 MB, free: 39.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.406, allocations: 0.6043 MB / 431.6 MB, free: 39.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.406, allocations: 3.125 kB / 431.6 MB, free: 39.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.406, allocations: 5.125 kB / 431.6 MB, free: 39.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.406, allocations: 7.312 kB / 431.6 MB, free: 39.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.4077, allocations: 1.048 MB / 432.7 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4077, allocations: 4.562 kB / 432.7 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.4078, allocations: 30.67 kB / 432.7 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009463/0.4088, allocations: 239.6 kB / 432.9 MB, free: 38.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.4088, allocations: 14.31 kB / 433 MB, free: 38.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.4115, allocations: 2.482 MB / 435.4 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4115, allocations: 1.062 kB / 435.4 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4127, allocations: 0.6539 MB / 436.1 MB, free: 36.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.4128, allocations: 104.9 kB / 436.2 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.4128, allocations: 6.844 kB / 436.2 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.413, allocations: 12.59 kB / 436.2 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.4131, allocations: 30.67 kB / 436.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.4131, allocations: 5.781 kB / 436.3 MB, free: 36.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.4133, allocations: 169.2 kB / 436.4 MB, free: 36.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4133, allocations: 7.062 kB / 436.4 MB, free: 36.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004792/0.4138, allocations: 107.8 kB / 436.5 MB, free: 36.15 MB / 350.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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001945/0.414, allocations: 118 kB / 436.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.4151, allocations: 0.6037 MB / 437.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4151, allocations: 0 / 437.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000704/0.4159, allocations: 404.6 kB / 437.6 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.4162, allocations: 30.23 kB / 437.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009089/0.4172, allocations: 0.6281 MB / 438.3 MB, free: 35.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.4174, allocations: 0.7546 MB / 439.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.4175, allocations: 32.28 kB / 439.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.4176, allocations: 20.03 kB / 439.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4176, allocations: 0 / 439.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of Templates: time 0.008944/0.4265, allocations: 5.892 MB / 445 MB, free: 34.01 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) Environment - environmentSimulation: