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.001134/0.001134, allocations: 106 kB / 16.45 MB, free: 6.445 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.001268/0.001268, allocations: 192.2 kB / 17.39 MB, free: 5.668 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.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05366/0.05366, allocations: 8.101 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09539, allocations: 51.52 MB / 466 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002646/0.09809, allocations: 1.683 MB / 467.7 MB, free: 488 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.09992, allocations: 1.574 MB / 469.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.969e-05/0.1, allocations: 4 kB / 469.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.1003, allocations: 127.3 kB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1006, allocations: 123.2 kB / 469.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.1021, allocations: 0.9218 MB / 470.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.1024, allocations: 270.7 kB / 470.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.1026, allocations: 92.56 kB / 470.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.671e-05/0.1027, allocations: 111.6 kB / 470.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1029, allocations: 139.4 kB / 471 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.103, allocations: 23.94 kB / 471 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.1033, allocations: 207.8 kB / 471.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.1034, allocations: 59.77 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.947e-05/0.1035, allocations: 119.4 kB / 471.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.1039, allocations: 422.7 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1039, allocations: 0 / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.104, allocations: 0 / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.104, allocations: 0 / 471.8 MB, free: 12.29 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.002458/0.1064, allocations: 0.8424 MB / 472.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1065, allocations: 12.03 kB / 472.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.1065, allocations: 28.56 kB / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1068, allocations: 265.5 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1069, allocations: 16.81 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.1069, allocations: 16.38 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.1074, allocations: 291.7 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1074, allocations: 4.188 kB / 473.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.1075, allocations: 19.88 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.1075, allocations: 4 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.1079, allocations: 277.6 kB / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.1095, allocations: 1.031 MB / 474.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.1104, allocations: 455.8 kB / 475.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.1106, allocations: 177.3 kB / 475.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.1107, allocations: 19.98 kB / 475.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1107, allocations: 38.5 kB / 475.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.373e-06/0.1107, allocations: 0 / 475.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00282/0.1136, allocations: 0.9483 MB / 476.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1136, allocations: 55.41 kB / 476.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.1138, allocations: 224.7 kB / 476.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1139, allocations: 37.7 kB / 476.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.114, allocations: 132.6 kB / 476.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.494e-05/0.114, allocations: 106.5 kB / 476.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1142, allocations: 73.64 kB / 476.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1143, allocations: 330.8 kB / 477.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.1145, allocations: 175.9 kB / 477.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.1148, allocations: 183.9 kB / 477.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/0.1153, allocations: 388.5 kB / 477.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1153, allocations: 4 kB / 477.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001345/0.1167, allocations: 0.6624 MB / 478.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1167, allocations: 7.938 kB / 478.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1167, allocations: 0 / 478.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.1177, allocations: 252.5 kB / 478.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.1179, allocations: 55.91 kB / 478.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.1214, allocations: 2.687 MB / 481.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1216, allocations: 31.69 kB / 481.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.1217, allocations: 15.94 kB / 481.6 MB, free: 2.039 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.0001326/0.1218, allocations: 145.8 kB / 481.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.1219, allocations: 19.72 kB / 481.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.1232, allocations: 0.6062 MB / 482.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.1232, allocations: 4 kB / 482.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.1232, allocations: 0 / 482.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1232, allocations: 3.984 kB / 482.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.1249, allocations: 1.054 MB / 483.4 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1249, allocations: 0 / 483.4 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.125, allocations: 35.92 kB / 483.5 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009246/0.1259, allocations: 240.6 kB / 483.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.126, allocations: 11.98 kB / 483.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003278/0.1292, allocations: 2.657 MB / 486.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1293, allocations: 0 / 486.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.1305, allocations: 0.6536 MB / 487 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.1306, allocations: 108.8 kB / 487.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.1306, allocations: 3.938 kB / 487.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1308, allocations: 23.98 kB / 487.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.1309, allocations: 23.91 kB / 487.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.1309, allocations: 11.94 kB / 487.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.1311, allocations: 167 kB / 487.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1311, allocations: 0 / 487.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004172/0.1315, allocations: 107.9 kB / 487.5 MB, free: 11.91 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.0001984/0.1317, allocations: 119.2 kB / 487.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.133, allocations: 0.6155 MB / 488.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.133, allocations: 0 / 488.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007621/0.1337, allocations: 398.4 kB / 488.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1341, allocations: 35.86 kB / 488.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009547/0.135, allocations: 0.5243 MB / 489.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1354, allocations: 0.7524 MB / 489.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.981e-05/0.1355, allocations: 30 kB / 489.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.1355, allocations: 27.42 kB / 490 MB, free: 9.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1355, allocations: 4 kB / 490 MB, free: 9.336 MB / 366.1 MB Notification: Performance of Templates: time 0.009757/0.1453, allocations: 6.47 MB / 496.4 MB, free: 2.902 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)