Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001359, allocations: 118.4 kB / 17.13 MB, free: 5.961 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.001513/0.001513, allocations: 195 kB / 18.06 MB, free: 5.039 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.424/1.424, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04607/0.04607, allocations: 8.101 MB / 300 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.89 kB / 415.1 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08253/0.08373, allocations: 51.52 MB / 466.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002171/0.08594, allocations: 1.158 MB / 467.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.08765, allocations: 1.438 MB / 469.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.663e-05/0.08774, allocations: 3.938 kB / 469.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.08808, allocations: 107.5 kB / 469.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.08834, allocations: 75.53 kB / 469.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.08967, allocations: 0.7506 MB / 470.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.08992, allocations: 139.3 kB / 470.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.09006, allocations: 57.08 kB / 470.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.348e-05/0.09014, allocations: 55.78 kB / 470.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/0.09025, allocations: 67.75 kB / 470.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.09028, allocations: 8 kB / 470.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.0906, allocations: 159.8 kB / 470.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.09064, allocations: 27.91 kB / 470.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.09071, allocations: 63.67 kB / 470.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.0911, allocations: 267.2 kB / 471 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.09112, allocations: 0 / 471 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.09113, allocations: 4 kB / 471 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.09114, allocations: 0 / 471 MB, free: 13.8 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001551/0.09269, allocations: 0.5889 MB / 471.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.09274, allocations: 11.89 kB / 471.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.09281, allocations: 20.75 kB / 471.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.093, allocations: 208.1 kB / 471.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.09303, allocations: 8.609 kB / 471.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.09306, allocations: 12.38 kB / 471.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.09336, allocations: 172 kB / 472 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.09338, allocations: 192 / 472 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.0934, allocations: 7.938 kB / 472 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.09342, allocations: 8 kB / 472.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.09365, allocations: 148.6 kB / 472.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008839/0.09454, allocations: 0.5636 MB / 472.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.09481, allocations: 150.5 kB / 472.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.09493, allocations: 77.03 kB / 473 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.09498, allocations: 15.98 kB / 473 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.09501, allocations: 34.55 kB / 473 MB, free: 11.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.09502, allocations: 0 / 473 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009977/0.09602, allocations: 383.1 kB / 473.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.09606, allocations: 59.34 kB / 473.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.09623, allocations: 176.8 kB / 473.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.09627, allocations: 25.7 kB / 473.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.09634, allocations: 120.1 kB / 473.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.09639, allocations: 47.39 kB / 473.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/0.09647, allocations: 45.61 kB / 473.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.09658, allocations: 322.8 kB / 474.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.09672, allocations: 91.97 kB / 474.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.09686, allocations: 87.97 kB / 474.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.09714, allocations: 192.8 kB / 474.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.09715, allocations: 3.938 kB / 474.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000533/0.09769, allocations: 301 kB / 474.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.09772, allocations: 8 kB / 474.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.09773, allocations: 0 / 474.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.09801, allocations: 60.8 kB / 474.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.09821, allocations: 35.97 kB / 474.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.09959, allocations: 1.539 MB / 476.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.09975, allocations: 15.88 kB / 476.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.09978, allocations: 4.125 kB / 476.5 MB, free: 7.918 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 (22): * Single equations (assignments): 21 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.09989, allocations: 137.7 kB / 476.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.09994, allocations: 11.81 kB / 476.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.1005, allocations: 243.2 kB / 476.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1005, allocations: 0 / 476.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1005, allocations: 0 / 476.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1005, allocations: 0 / 476.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.1008, allocations: 273.4 kB / 477.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1008, allocations: 0 / 477.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-05/0.1009, allocations: 19.92 kB / 477.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/0.1011, allocations: 44.83 kB / 477.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1011, allocations: 8 kB / 477.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.1024, allocations: 1.531 MB / 478.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1024, allocations: 3.984 kB / 478.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.1028, allocations: 304.1 kB / 479.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1029, allocations: 88.94 kB / 479.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1029, allocations: 8 kB / 479.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1031, allocations: 3.938 kB / 479.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.1031, allocations: 16.05 kB / 479.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.1031, allocations: 8 kB / 479.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.1032, allocations: 129.5 kB / 479.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1032, allocations: 4 kB / 479.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.1036, allocations: 56 kB / 479.4 MB, free: 4.812 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 (12): * Single equations (assignments): 11 * 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): 1 system {(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.0001746/0.1037, allocations: 115.2 kB / 479.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000649/0.1044, allocations: 318.5 kB / 479.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1044, allocations: 0 / 479.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.1048, allocations: 206.6 kB / 480 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1051, allocations: 4 kB / 480 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.1057, allocations: 323.6 kB / 480.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1059, allocations: 0.7162 MB / 481 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.106, allocations: 23.38 kB / 481.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of SimCode: time 1.643e-06/0.106, allocations: 4 kB / 481.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of Templates: time 0.004508/0.1105, allocations: 2.796 MB / 483.9 MB, free: 244 kB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)