Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 107 kB / 17.74 MB, free: 5.312 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.001708/0.001708, allocations: 194.5 kB / 18.68 MB, free: 4.387 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1763/0.1763, allocations: 38.03 MB / 330.6 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2812, allocations: 58.06 MB / 0.5048 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004598/0.2858, allocations: 4.416 MB / 0.5091 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.2877, allocations: 1.511 MB / 0.5106 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2879, allocations: 16.78 kB / 0.5106 GB, free: 3.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007458/0.2887, allocations: 280 kB / 0.5108 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004868/0.2892, allocations: 288.9 kB / 0.5111 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.2897, allocations: 245.8 kB / 0.5113 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005305/0.2903, allocations: 0.6118 MB / 0.5119 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.2906, allocations: 223.6 kB / 0.5122 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.2909, allocations: 274.8 kB / 0.5124 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.2914, allocations: 365.6 kB / 0.5128 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.741e-05/0.2915, allocations: 46.81 kB / 0.5128 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.2919, allocations: 227.5 kB / 0.513 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.2921, allocations: 226.7 kB / 0.5132 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.2924, allocations: 260.6 kB / 0.5135 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007218/0.2931, allocations: 0.6678 MB / 0.5141 GB, free: 2.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2931, allocations: 1.531 kB / 0.5141 GB, free: 2.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2931, allocations: 0 / 0.5141 GB, free: 2.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.2932, allocations: 0 / 0.5141 GB, free: 2.113 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001179/0.2943, allocations: 0.789 MB / 0.5149 GB, free: 1.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2944, allocations: 12.48 kB / 0.5149 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005954/0.295, allocations: 90.12 kB / 0.515 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.2956, allocations: 426.3 kB / 0.5154 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2956, allocations: 27.86 kB / 0.5154 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.2957, allocations: 48.17 kB / 0.5155 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009405/0.2967, allocations: 0.6963 MB / 0.5162 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.2967, allocations: 1.094 kB / 0.5162 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.2968, allocations: 16.66 kB / 0.5162 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/0.297, allocations: 69.42 kB / 0.5163 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.2981, allocations: 0.6745 MB / 0.5169 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.3014, allocations: 2.649 MB / 0.5195 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.3019, allocations: 318 kB / 0.5198 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.3022, allocations: 217.5 kB / 0.52 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.3023, allocations: 8.047 kB / 0.52 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.3023, allocations: 31.94 kB / 0.5201 GB, free: 14.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 4.569e-06/0.3023, allocations: 1.406 kB / 0.5201 GB, free: 14.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001953/0.3043, allocations: 1.304 MB / 0.5213 GB, free: 13.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.3043, allocations: 86.42 kB / 0.5214 GB, free: 13.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.3046, allocations: 293 kB / 0.5217 GB, free: 13.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.3047, allocations: 31.08 kB / 0.5217 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.3048, allocations: 254.4 kB / 0.522 GB, free: 13.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3049, allocations: 148.7 kB / 0.5221 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.3051, allocations: 86.66 kB / 0.5222 GB, free: 13.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3052, allocations: 342.9 kB / 0.5225 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.3055, allocations: 191.4 kB / 0.5227 GB, free: 12.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.3059, allocations: 331.1 kB / 0.523 GB, free: 12.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006844/0.3066, allocations: 0.565 MB / 0.5236 GB, free: 12.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3066, allocations: 5.312 kB / 0.5236 GB, free: 12.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001193/0.3078, allocations: 0.6813 MB / 0.5242 GB, free: 11.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3078, allocations: 7.672 kB / 0.5242 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008365/0.3086, allocations: 489.5 kB / 0.5247 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.3091, allocations: 116.9 kB / 0.5248 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.3094, allocations: 86.44 kB / 0.5249 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.3122, allocations: 3.26 MB / 0.5281 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.3124, allocations: 24.56 kB / 0.5281 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.3125, allocations: 24.19 kB / 0.5281 GB, free: 8.711 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002764/0.3128, allocations: 212.1 kB / 0.5283 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.3129, allocations: 36.89 kB / 0.5284 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007611/0.3136, allocations: 466.8 kB / 0.5288 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3137, allocations: 1.266 kB / 0.5288 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3137, allocations: 1.875 kB / 0.5288 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.3138, allocations: 141.3 kB / 0.5289 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.3139, allocations: 12.09 kB / 0.529 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.3141, allocations: 16.39 kB / 0.529 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.3142, allocations: 19.09 kB / 0.529 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001029/0.3152, allocations: 0.6324 MB / 0.5296 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001064/0.3163, allocations: 0.9032 MB / 0.5305 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002544/0.3165, allocations: 198.7 kB / 0.5307 GB, free: 7.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.3167, allocations: 209.2 kB / 0.5309 GB, free: 7.219 MB / 398.1 MB Notification: Performance of Backend: time 3.9e-07/0.3167, allocations: 0 / 0.5309 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.3182, allocations: 0.7104 MB / 0.5316 GB, free: 6.801 MB / 398.1 MB Notification: Performance of SimCode: time 0.001727/0.32, allocations: 1.41 MB / 0.533 GB, free: 5.762 MB / 398.1 MB Notification: Performance of Templates: time 0.01065/0.3306, allocations: 5.749 MB / 0.5386 GB, free: 3.234 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)