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.001521/0.001521, allocations: 104.2 kB / 16.45 MB, free: 6.457 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.002073/0.002074, allocations: 182.4 kB / 17.38 MB, free: 5.672 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0522/0.0522, allocations: 8.108 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09816, allocations: 51.52 MB / 466 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002981/0.1012, allocations: 1.683 MB / 467.7 MB, free: 496 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1033, allocations: 1.567 MB / 469.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1035, allocations: 4 kB / 469.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.1039, allocations: 127.3 kB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.1042, allocations: 123.2 kB / 469.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.1059, allocations: 0.9178 MB / 470.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.1063, allocations: 270.7 kB / 470.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1065, allocations: 100.5 kB / 470.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.1067, allocations: 107.6 kB / 470.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1069, allocations: 143.4 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.1069, allocations: 20 kB / 471 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.1073, allocations: 203.8 kB / 471.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.1074, allocations: 55.83 kB / 471.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1075, allocations: 131.3 kB / 471.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.1081, allocations: 422.5 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1081, allocations: 0 / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1081, allocations: 0 / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1081, allocations: 0 / 471.8 MB, free: 12.3 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.002578/0.1107, allocations: 0.8572 MB / 472.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1107, allocations: 12.03 kB / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.1108, allocations: 24.8 kB / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1111, allocations: 265.6 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1111, allocations: 16.81 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.1112, allocations: 24.31 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.1117, allocations: 287.8 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1117, allocations: 192 / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.1117, allocations: 19.92 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1117, allocations: 4 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.1121, allocations: 277.6 kB / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1137, allocations: 1.035 MB / 474.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/0.1146, allocations: 458.8 kB / 475.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.1149, allocations: 177.3 kB / 475.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.553e-05/0.1149, allocations: 15.97 kB / 475.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1149, allocations: 46.5 kB / 475.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.413e-06/0.115, allocations: 0 / 475.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002873/0.1178, allocations: 0.9484 MB / 476.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1179, allocations: 59.34 kB / 476.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1181, allocations: 216.8 kB / 476.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.1182, allocations: 33.7 kB / 476.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.1182, allocations: 144.8 kB / 476.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.558e-05/0.1183, allocations: 107 kB / 476.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.1185, allocations: 73.64 kB / 476.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1186, allocations: 334.8 kB / 477.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.1188, allocations: 171.9 kB / 477.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.1191, allocations: 183.9 kB / 477.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.1197, allocations: 380.5 kB / 477.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1197, allocations: 0 / 477.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001407/0.1211, allocations: 0.6664 MB / 478.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1211, allocations: 7.938 kB / 478.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1211, allocations: 3.938 kB / 478.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.1222, allocations: 256.5 kB / 478.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.1224, allocations: 47.97 kB / 478.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.1261, allocations: 2.696 MB / 481.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.1263, allocations: 27.78 kB / 481.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.1263, allocations: 15.94 kB / 481.6 MB, free: 2.027 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.0001485/0.1265, allocations: 145.8 kB / 481.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.1266, allocations: 31.8 kB / 481.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.128, allocations: 0.5945 MB / 482.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.128, allocations: 4 kB / 482.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.128, allocations: 3.984 kB / 482.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.128, allocations: 0 / 482.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.1297, allocations: 1.061 MB / 483.5 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1298, allocations: 0 / 483.5 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1299, allocations: 27.98 kB / 483.5 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009575/0.1308, allocations: 244.5 kB / 483.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.1309, allocations: 8 kB / 483.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/0.1342, allocations: 2.669 MB / 486.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1342, allocations: 4.031 kB / 486.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.1355, allocations: 0.6536 MB / 487.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/0.1355, allocations: 104.9 kB / 487.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.1356, allocations: 8 kB / 487.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1358, allocations: 19.92 kB / 487.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.1359, allocations: 27.97 kB / 487.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.1359, allocations: 4 kB / 487.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.1361, allocations: 167 kB / 487.4 MB, free: 12 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1361, allocations: 0 / 487.4 MB, free: 12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004726/0.1366, allocations: 111.9 kB / 487.5 MB, free: 11.89 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 (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.0001987/0.1368, allocations: 127.1 kB / 487.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.1381, allocations: 0.6116 MB / 488.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1382, allocations: 0 / 488.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008218/0.139, allocations: 402.4 kB / 488.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1393, allocations: 31.88 kB / 488.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009033/0.1403, allocations: 0.5199 MB / 489.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1406, allocations: 0.7524 MB / 489.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.1407, allocations: 33.98 kB / 490 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.1408, allocations: 23.44 kB / 490 MB, free: 9.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1408, allocations: 4 kB / 490 MB, free: 9.316 MB / 366.1 MB Notification: Performance of Templates: time 0.01131/0.1521, allocations: 6.466 MB / 496.5 MB, free: 2.883 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (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)