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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001422, allocations: 181 kB / 8.045 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.5 MB / 230 MB, free: 3.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009314, allocations: 91 kB / 280.9 MB, free: 1.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04677/0.04677, allocations: 8.102 MB / 339.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.075e-05, allocations: 4 kB / 398.5 MB, free: 67.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.0919, allocations: 52.52 MB / 451 MB, free: 15.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.4617, allocations: 78.01 MB / 0.5166 GB, free: 15.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001571/0.4619, allocations: 63.16 kB / 0.5167 GB, free: 15.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01414/0.4761, allocations: 5.402 MB / 0.5219 GB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4761, allocations: 0 / 0.5219 GB, free: 11.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.4762, allocations: 7.938 kB / 0.5219 GB, free: 11.7 MB / 346.7 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.0009975/0.4772, allocations: 478.1 kB / 0.5224 GB, free: 11.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.4772, allocations: 15.98 kB / 0.5224 GB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.4773, allocations: 15.86 kB / 0.5224 GB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.4776, allocations: 220.8 kB / 0.5226 GB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.4776, allocations: 4.75 kB / 0.5226 GB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.4777, allocations: 8 kB / 0.5227 GB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000254/0.4779, allocations: 135.9 kB / 0.5228 GB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.4782, allocations: 155.2 kB / 0.5229 GB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.4782, allocations: 0 / 0.5229 GB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.4782, allocations: 3.953 kB / 0.5229 GB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.4782, allocations: 4 kB / 0.5229 GB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.4793, allocations: 0.5729 MB / 0.5235 GB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.4795, allocations: 142.8 kB / 0.5236 GB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.4796, allocations: 56.2 kB / 0.5237 GB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.4797, allocations: 88.42 kB / 0.5238 GB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.4798, allocations: 42.48 kB / 0.5238 GB, free: 9.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.4798, allocations: 0 / 0.5238 GB, free: 9.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005377/0.4803, allocations: 185.3 kB / 0.524 GB, free: 9.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.4804, allocations: 55.36 kB / 0.524 GB, free: 9.777 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4805, allocations: 161.8 kB / 0.5242 GB, free: 9.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.4806, allocations: 25.7 kB / 0.5242 GB, free: 9.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.4807, allocations: 133.4 kB / 0.5243 GB, free: 9.484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.4807, allocations: 31.25 kB / 0.5244 GB, free: 9.457 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.4807, allocations: 0 / 0.5244 GB, free: 9.457 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4808, allocations: 325.8 kB / 0.5247 GB, free: 9.137 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.481, allocations: 73.8 kB / 0.5248 GB, free: 9.098 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.369e-05/0.4811, allocations: 72.94 kB / 0.5248 GB, free: 9.059 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.4813, allocations: 90.8 kB / 0.5249 GB, free: 9.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.4813, allocations: 3.938 kB / 0.5249 GB, free: 9.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005626/0.4819, allocations: 267.8 kB / 0.5252 GB, free: 8.809 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4819, allocations: 11.94 kB / 0.5252 GB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.482, allocations: 8 kB / 0.5252 GB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000267/0.4822, allocations: 49.08 kB / 0.5252 GB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.4825, allocations: 35.91 kB / 0.5253 GB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.4838, allocations: 1.39 MB / 0.5266 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.484, allocations: 15.94 kB / 0.5266 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.484, allocations: 7.984 kB / 0.5267 GB, free: 7.316 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.535e-05/0.4841, allocations: 108.5 kB / 0.5268 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.4841, allocations: 11.91 kB / 0.5268 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.4847, allocations: 220.2 kB / 0.527 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4847, allocations: 0 / 0.527 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.4847, allocations: 0 / 0.527 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4847, allocations: 3.984 kB / 0.527 GB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.4849, allocations: 241.2 kB / 0.5272 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.485, allocations: 0 / 0.5272 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.4851, allocations: 19.92 kB / 0.5272 GB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.4853, allocations: 63.19 kB / 0.5273 GB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.4853, allocations: 3.953 kB / 0.5273 GB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.4865, allocations: 1.391 MB / 0.5287 GB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4865, allocations: 0 / 0.5287 GB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.487, allocations: 292.8 kB / 0.5289 GB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.4871, allocations: 104 kB / 0.529 GB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.4871, allocations: 3.938 kB / 0.529 GB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.4872, allocations: 0 / 0.529 GB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.4873, allocations: 7.984 kB / 0.529 GB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4873, allocations: 4 kB / 0.529 GB, free: 4.957 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.905e-05/0.4874, allocations: 132.6 kB / 0.5292 GB, free: 4.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4874, allocations: 0 / 0.5292 GB, free: 4.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000317/0.4877, allocations: 43.98 kB / 0.5292 GB, free: 4.809 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002044/0.4879, allocations: 118.9 kB / 0.5293 GB, free: 4.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005657/0.4885, allocations: 280.4 kB / 0.5296 GB, free: 4.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4885, allocations: 0 / 0.5296 GB, free: 4.469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.4888, allocations: 192 kB / 0.5298 GB, free: 4.301 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.489, allocations: 4.906 kB / 0.5298 GB, free: 4.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.4893, allocations: 163.5 kB / 0.5299 GB, free: 4.148 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.4896, allocations: 0.7123 MB / 0.5306 GB, free: 3.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.07e-05/0.4897, allocations: 16.75 kB / 0.5307 GB, free: 3.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.4898, allocations: 23.12 kB / 0.5307 GB, free: 3.375 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4898, allocations: 0 / 0.5307 GB, free: 3.375 MB / 346.7 MB Notification: Performance of Templates: time 0.004344/0.4941, allocations: 1.686 MB / 0.5323 GB, free: 1.703 MB / 346.7 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)