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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001085/0.001085, allocations: 116.9 kB / 17.13 MB, free: 5.938 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.001074/0.001074, allocations: 197.2 kB / 18.07 MB, free: 5.016 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04773/0.04773, allocations: 8.101 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 415.1 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.08505, allocations: 51.52 MB / 466.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002699/0.08778, allocations: 1.835 MB / 468.5 MB, free: 324 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.0897, allocations: 1.555 MB / 470.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.08981, allocations: 4 kB / 470.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.09017, allocations: 135.2 kB / 470.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.09049, allocations: 143.1 kB / 470.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.09184, allocations: 0.8012 MB / 471.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.09221, allocations: 302.5 kB / 471.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.09242, allocations: 117.7 kB / 471.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.09253, allocations: 119.6 kB / 471.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.09272, allocations: 159.4 kB / 471.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.09276, allocations: 24 kB / 471.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.09308, allocations: 183.8 kB / 472 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.09314, allocations: 55.83 kB / 472.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.09327, allocations: 143.3 kB / 472.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.09372, allocations: 426.7 kB / 472.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.09373, allocations: 7.938 kB / 472.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.09374, allocations: 0 / 472.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.09375, allocations: 7.938 kB / 472.6 MB, free: 12.14 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.002928/0.09669, allocations: 0.9554 MB / 473.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.09673, allocations: 11.89 kB / 473.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.09681, allocations: 32.56 kB / 473.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.09709, allocations: 272.2 kB / 473.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.09711, allocations: 20.81 kB / 473.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.09716, allocations: 28.38 kB / 474 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.0977, allocations: 343.8 kB / 474.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.09772, allocations: 4.125 kB / 474.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.09776, allocations: 7.938 kB / 474.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.09777, allocations: 8 kB / 474.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.09827, allocations: 345.5 kB / 474.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.09981, allocations: 1.01 MB / 475.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.1004, allocations: 394.4 kB / 476 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.1007, allocations: 231.6 kB / 476.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.1007, allocations: 15.94 kB / 476.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1008, allocations: 39.09 kB / 476.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.1008, allocations: 0 / 476.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002371/0.1032, allocations: 1.053 MB / 477.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.1032, allocations: 55.41 kB / 477.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1034, allocations: 227 kB / 477.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.1034, allocations: 33.7 kB / 477.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.1035, allocations: 148.5 kB / 477.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.363e-05/0.1036, allocations: 118.3 kB / 477.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1038, allocations: 90.02 kB / 478 MB, free: 6.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1039, allocations: 342.8 kB / 478.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.1042, allocations: 236.7 kB / 478.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.1046, allocations: 243.9 kB / 478.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.1053, allocations: 0.5015 MB / 479.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1053, allocations: 4 kB / 479.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00128/0.1066, allocations: 0.7208 MB / 480.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1066, allocations: 8 kB / 480.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1066, allocations: 0 / 480.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.1072, allocations: 154.5 kB / 480.2 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.1076, allocations: 83.88 kB / 480.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003778/0.1114, allocations: 4.61 MB / 484.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.1117, allocations: 31.62 kB / 484.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.1117, allocations: 15.98 kB / 485 MB, free: 15.09 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.0001602/0.1119, allocations: 161.8 kB / 485.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.112, allocations: 23.72 kB / 485.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.1132, allocations: 0.5921 MB / 485.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1132, allocations: 4 kB / 485.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1132, allocations: 4 kB / 485.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1132, allocations: 0 / 485.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.1137, allocations: 461.1 kB / 486.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1137, allocations: 0 / 486.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.114, allocations: 47.91 kB / 486.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005825/0.1146, allocations: 158.5 kB / 486.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.1146, allocations: 11.92 kB / 486.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003744/0.1184, allocations: 4.599 MB / 491 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1184, allocations: 3.938 kB / 491 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1195, allocations: 0.6312 MB / 491.6 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.1195, allocations: 108.8 kB / 491.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.1196, allocations: 4 kB / 491.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.1198, allocations: 8 kB / 491.8 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.1199, allocations: 23.97 kB / 491.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.1199, allocations: 8 kB / 491.8 MB, free: 7.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1201, allocations: 164.1 kB / 492 MB, free: 7.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1201, allocations: 0 / 492 MB, free: 7.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004547/0.1205, allocations: 127.9 kB / 492.1 MB, free: 7.43 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.0001832/0.1207, allocations: 131.1 kB / 492.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.1222, allocations: 0.8772 MB / 493.1 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1223, allocations: 4 kB / 493.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009632/0.1232, allocations: 0.5741 MB / 493.7 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1235, allocations: 24.67 kB / 493.7 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.1245, allocations: 0.587 MB / 494.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1248, allocations: 0.7533 MB / 495 MB, free: 4.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1249, allocations: 35.42 kB / 495.1 MB, free: 4.293 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1249, allocations: 0 / 495.1 MB, free: 4.293 MB / 366.1 MB Notification: Performance of Templates: time 0.008814/0.1338, allocations: 7.462 MB / 0.4907 GB, free: 12.83 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)