Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") translateModel(PowerSysPro.Examples.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003999/0.003999, allocations: 89.44 kB / 15.91 MB, free: 6.301 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.0009622/0.0009622, allocations: 199.8 kB / 16.83 MB, free: 6.234 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.213/1.213, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1382/0.1382, allocations: 8.088 MB / 298.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 59.91 kB / 361 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.08359, allocations: 51.51 MB / 412.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002421/0.08605, allocations: 1.295 MB / 413.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.08751, allocations: 1.255 MB / 415.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.08759, allocations: 4 kB / 415.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.08785, allocations: 71.73 kB / 415.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.088, allocations: 39.75 kB / 415.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.08864, allocations: 350.8 kB / 415.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.08878, allocations: 115.5 kB / 415.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.0889, allocations: 49.41 kB / 415.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.195e-05/0.08897, allocations: 55.73 kB / 415.8 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.0891, allocations: 63.75 kB / 415.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.08913, allocations: 8 kB / 415.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.08931, allocations: 103.9 kB / 415.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.08934, allocations: 27.86 kB / 416 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.08941, allocations: 59.67 kB / 416 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.08967, allocations: 211.6 kB / 416.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.08968, allocations: 4 kB / 416.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.08969, allocations: 0 / 416.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.0897, allocations: 0 / 416.2 MB, free: 6.449 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008419/0.09055, allocations: 480.1 kB / 416.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.0906, allocations: 8.031 kB / 416.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.09066, allocations: 12.84 kB / 416.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.09084, allocations: 184.2 kB / 416.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.09087, allocations: 8.375 kB / 416.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.09089, allocations: 16.36 kB / 416.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.09114, allocations: 142.1 kB / 417.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.09115, allocations: 4.188 kB / 417.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.09118, allocations: 7.938 kB / 417.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.09119, allocations: 4 kB / 417.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.09134, allocations: 95.95 kB / 417.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.09203, allocations: 0.4884 MB / 417.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.09234, allocations: 102.6 kB / 417.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.0924, allocations: 28.86 kB / 417.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.09252, allocations: 89.23 kB / 417.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.09256, allocations: 30.56 kB / 417.9 MB, free: 4.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.09257, allocations: 4 kB / 417.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005678/0.09314, allocations: 223.5 kB / 418.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.09318, allocations: 51.41 kB / 418.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.09333, allocations: 138.1 kB / 418.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.09335, allocations: 37.64 kB / 418.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.09342, allocations: 123.4 kB / 418.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.09344, allocations: 23.66 kB / 418.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.09349, allocations: 29.7 kB / 418.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.0936, allocations: 322.8 kB / 418.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.695e-05/0.09366, allocations: 24 kB / 418.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.09371, allocations: 35.92 kB / 418.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.637e-05/0.09381, allocations: 68.97 kB / 419 MB, free: 3.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.09382, allocations: 0 / 419 MB, free: 3.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002659/0.09409, allocations: 138.4 kB / 419.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.09411, allocations: 4 kB / 419.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.09412, allocations: 0 / 419.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.09433, allocations: 32.83 kB / 419.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.09441, allocations: 16 kB / 419.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.09546, allocations: 1.319 MB / 420.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.09555, allocations: 8.031 kB / 420.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.09557, allocations: 0 / 420.5 MB, free: 1.789 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 (9): * Single equations (assignments): 8 * 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.00013/0.0957, allocations: 126 kB / 420.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.09574, allocations: 11.78 kB / 420.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.09601, allocations: 127.2 kB / 420.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.09602, allocations: 0 / 420.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.09603, allocations: 0 / 420.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.09603, allocations: 0 / 420.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.09631, allocations: 225.5 kB / 420.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.09633, allocations: 3.984 kB / 421 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.09639, allocations: 15.94 kB / 421 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.09654, allocations: 36.83 kB / 421 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.09656, allocations: 0 / 421 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009855/0.09755, allocations: 1.308 MB / 422.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.09757, allocations: 3.938 kB / 422.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.09782, allocations: 204.3 kB / 422.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.09787, allocations: 85.11 kB / 422.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.0979, allocations: 7.984 kB / 422.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.09802, allocations: 7.984 kB / 422.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.09805, allocations: 7.938 kB / 422.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.09806, allocations: 4.094 kB / 422.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.76e-05/0.09816, allocations: 121.8 kB / 422.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.482e-06/0.09817, allocations: 0 / 422.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.09846, allocations: 47.78 kB / 422.8 MB, free: 15.22 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 (6): * Single equations (assignments): 5 * 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.0001686/0.09863, allocations: 99.25 kB / 422.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.099, allocations: 182.9 kB / 423.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.09901, allocations: 0 / 423.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.0992, allocations: 154.6 kB / 423.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.09955, allocations: 12 kB / 423.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.1001, allocations: 292.6 kB / 423.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1004, allocations: 0.7004 MB / 424.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.858e-05/0.1004, allocations: 16.66 kB / 424.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.1005, allocations: 19.44 kB / 424.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1005, allocations: 3.938 kB / 424.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of Templates: time 0.00387/0.1043, allocations: 1.45 MB / 425.7 MB, free: 12.23 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)