Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 103.2 kB / 16.45 MB, free: 6.441 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.002065/0.002065, allocations: 186.4 kB / 17.39 MB, free: 5.691 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.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05896/0.05896, allocations: 8.092 MB / 299.3 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 414.5 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1017, allocations: 51.51 MB / 466 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.003258/0.105, allocations: 1.835 MB / 467.8 MB, free: 364 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.1075, allocations: 1.551 MB / 469.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.1078, allocations: 4 kB / 469.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.1085, allocations: 135.2 kB / 469.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006379/0.1092, allocations: 147.1 kB / 469.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.111, allocations: 0.8011 MB / 470.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006742/0.1117, allocations: 298.5 kB / 470.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.112, allocations: 129.6 kB / 470.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.1123, allocations: 115.6 kB / 471 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.1125, allocations: 163.3 kB / 471.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/0.1126, allocations: 28 kB / 471.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.113, allocations: 175.8 kB / 471.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.1131, allocations: 55.81 kB / 471.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1133, allocations: 143.3 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.1139, allocations: 430.7 kB / 472 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1139, allocations: 4 kB / 472 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1139, allocations: 0 / 472 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1139, allocations: 0 / 472 MB, free: 12.19 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003349/0.1173, allocations: 0.9592 MB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1174, allocations: 8.031 kB / 472.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.1175, allocations: 32.56 kB / 473 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.1179, allocations: 284.2 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1179, allocations: 16.81 kB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.118, allocations: 24.38 kB / 473.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.1186, allocations: 343.8 kB / 473.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1186, allocations: 192 / 473.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.1186, allocations: 11.94 kB / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1186, allocations: 4 kB / 473.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.1192, allocations: 337.6 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.1209, allocations: 1.021 MB / 475 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.1215, allocations: 398.4 kB / 475.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.1219, allocations: 228.8 kB / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.821e-05/0.122, allocations: 11.98 kB / 475.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.122, allocations: 39.09 kB / 475.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 3.327e-06/0.122, allocations: 4 kB / 475.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002463/0.1245, allocations: 1.05 MB / 476.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.1246, allocations: 59.39 kB / 476.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1248, allocations: 223.1 kB / 477 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.1248, allocations: 37.7 kB / 477 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.1249, allocations: 144.5 kB / 477.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/0.125, allocations: 118.3 kB / 477.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.1252, allocations: 94.02 kB / 477.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1253, allocations: 334.8 kB / 477.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.1257, allocations: 232.8 kB / 477.9 MB, free: 5.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.1261, allocations: 247.9 kB / 478.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.1268, allocations: 0.5054 MB / 478.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1268, allocations: 4 kB / 478.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001358/0.1282, allocations: 0.7208 MB / 479.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1282, allocations: 4 kB / 479.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.1282, allocations: 0 / 479.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/0.1289, allocations: 154.5 kB / 479.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.1293, allocations: 83.89 kB / 479.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004256/0.1336, allocations: 4.617 MB / 484.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.1338, allocations: 27.59 kB / 484.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.1339, allocations: 16 kB / 484.3 MB, free: 15.13 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 (50): * Single equations (assignments): 47 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.1341, allocations: 161.8 kB / 484.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.1342, allocations: 23.72 kB / 484.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.1354, allocations: 0.5884 MB / 485.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1354, allocations: 4 kB / 485.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1354, allocations: 4 kB / 485.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1354, allocations: 3.984 kB / 485.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.1359, allocations: 457.1 kB / 485.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1359, allocations: 0 / 485.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.1362, allocations: 51.91 kB / 485.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005654/0.1368, allocations: 154.5 kB / 485.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.1368, allocations: 4 kB / 485.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00427/0.1411, allocations: 4.606 MB / 490.3 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1411, allocations: 0 / 490.3 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.1422, allocations: 0.6274 MB / 491 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.1423, allocations: 104.8 kB / 491.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.1424, allocations: 8 kB / 491.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.1426, allocations: 15.86 kB / 491.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.1427, allocations: 23.97 kB / 491.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.1427, allocations: 8 kB / 491.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.1429, allocations: 172.1 kB / 491.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1429, allocations: 0 / 491.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005296/0.1434, allocations: 115.9 kB / 491.4 MB, free: 7.477 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 (32): * Single equations (assignments): 29 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002341/0.1437, allocations: 131.1 kB / 491.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.1453, allocations: 0.8811 MB / 492.4 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.1453, allocations: 0 / 492.4 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.1463, allocations: 0.5819 MB / 493 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.1466, allocations: 16.67 kB / 493 MB, free: 5.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1478, allocations: 0.5619 MB / 493.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.1483, allocations: 0.7533 MB / 494.3 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.1484, allocations: 38.25 kB / 494.3 MB, free: 4.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.1485, allocations: 31.44 kB / 494.4 MB, free: 4.336 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1485, allocations: 0 / 494.4 MB, free: 4.336 MB / 366.1 MB Notification: Performance of Templates: time 0.009262/0.1578, allocations: 4.769 MB / 499.1 MB, free: 15.58 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)