Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 177.9 kB / 8.044 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.409/1.409, allocations: 221.5 MB / 230 MB, free: 3.188 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.001033/0.001033, allocations: 87.59 kB / 280.9 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05335/0.05335, allocations: 8.087 MB / 339.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.909e-05/1.912e-05, allocations: 4 kB / 398.5 MB, free: 67.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09566, allocations: 52.52 MB / 451 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3855/0.4812, allocations: 78.84 MB / 0.5174 GB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001754/0.4814, allocations: 66.16 kB / 0.5175 GB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02008/0.5015, allocations: 7.64 MB / 0.5249 GB, free: 9.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5016, allocations: 0 / 0.5249 GB, free: 9.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.5016, allocations: 4 kB / 0.5249 GB, free: 9.215 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001451/0.5031, allocations: 0.5955 MB / 0.5255 GB, free: 8.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.5031, allocations: 11.98 kB / 0.5255 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.5032, allocations: 31.67 kB / 0.5256 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.5036, allocations: 253.8 kB / 0.5258 GB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.5036, allocations: 15.88 kB / 0.5258 GB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.5036, allocations: 8 kB / 0.5258 GB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003524/0.504, allocations: 231.9 kB / 0.526 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.5044, allocations: 233.5 kB / 0.5263 GB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5044, allocations: 0 / 0.5263 GB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.5044, allocations: 3.953 kB / 0.5263 GB, free: 8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.5044, allocations: 7.938 kB / 0.5263 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.5059, allocations: 1.178 MB / 0.5274 GB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.5063, allocations: 293.2 kB / 0.5277 GB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.5065, allocations: 156.5 kB / 0.5279 GB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.5067, allocations: 85.34 kB / 0.5279 GB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.507, allocations: 212.7 kB / 0.5281 GB, free: 6.395 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.507, allocations: 0 / 0.5281 GB, free: 6.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001665/0.5086, allocations: 0.5566 MB / 0.5287 GB, free: 5.977 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.5087, allocations: 55.41 kB / 0.5287 GB, free: 5.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.5088, allocations: 166.9 kB / 0.5289 GB, free: 5.766 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.5089, allocations: 29.69 kB / 0.5289 GB, free: 5.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.509, allocations: 123.4 kB / 0.529 GB, free: 5.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.509, allocations: 93.19 kB / 0.5291 GB, free: 5.539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.5091, allocations: 0 / 0.5291 GB, free: 5.539 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5092, allocations: 333.7 kB / 0.5295 GB, free: 5.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.5093, allocations: 113.9 kB / 0.5296 GB, free: 5.156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.5095, allocations: 154.2 kB / 0.5297 GB, free: 5.059 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.5099, allocations: 143.7 kB / 0.5298 GB, free: 4.977 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.5099, allocations: 15.89 kB / 0.5299 GB, free: 4.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001569/0.5115, allocations: 0.567 MB / 0.5304 GB, free: 4.539 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5115, allocations: 4 kB / 0.5304 GB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5115, allocations: 0 / 0.5304 GB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.5129, allocations: 308.4 kB / 0.5307 GB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.5131, allocations: 39.91 kB / 0.5308 GB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.5162, allocations: 2.283 MB / 0.533 GB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.5164, allocations: 15.75 kB / 0.533 GB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.5165, allocations: 13.91 kB / 0.533 GB, free: 2.359 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.5166, allocations: 102.3 kB / 0.5331 GB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.5167, allocations: 19.81 kB / 0.5331 GB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.5186, allocations: 0.6343 MB / 0.5337 GB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5186, allocations: 4 kB / 0.5337 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.5186, allocations: 0 / 0.5337 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5186, allocations: 3.984 kB / 0.5338 GB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.519, allocations: 405.6 kB / 0.5341 GB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.519, allocations: 0 / 0.5341 GB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.5192, allocations: 43.41 kB / 0.5342 GB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.5205, allocations: 299.9 kB / 0.5345 GB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.5206, allocations: 7.938 kB / 0.5345 GB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002968/0.5236, allocations: 2.267 MB / 0.5367 GB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5236, allocations: 0 / 0.5367 GB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.5252, allocations: 0.6156 MB / 0.5373 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/0.5253, allocations: 104.8 kB / 0.5374 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.5253, allocations: 7.953 kB / 0.5374 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.5256, allocations: 11.98 kB / 0.5374 GB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.5256, allocations: 26.59 kB / 0.5374 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.5257, allocations: 11.12 kB / 0.5374 GB, free: 14.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.5258, allocations: 144.9 kB / 0.5376 GB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5258, allocations: 0 / 0.5376 GB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004166/0.5262, allocations: 80 kB / 0.5377 GB, free: 14.44 MB / 362.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002043/0.5264, allocations: 106.2 kB / 0.5378 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.5275, allocations: 0.4918 MB / 0.5382 GB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5275, allocations: 0 / 0.5382 GB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007298/0.5283, allocations: 358.4 kB / 0.5386 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.5285, allocations: 15.48 kB / 0.5386 GB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.5291, allocations: 299.5 kB / 0.5389 GB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.5295, allocations: 0.7611 MB / 0.5396 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.5296, allocations: 34.14 kB / 0.5397 GB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.5297, allocations: 23.42 kB / 0.5397 GB, free: 12.59 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.5297, allocations: 0 / 0.5397 GB, free: 12.59 MB / 362.7 MB Notification: Performance of Templates: time 0.009879/0.5396, allocations: 5.265 MB / 0.5448 GB, free: 7.359 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)