Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 111.1 kB / 17.28 MB, free: 6.199 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.002646/0.002646, allocations: 197.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.188/2.188, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.479/0.479, allocations: 38.02 MB / 330 MB, free: 8.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002826, allocations: 69.72 kB / 398.9 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2177, allocations: 58.06 MB / 457 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.01437/0.2321, allocations: 5.127 MB / 462.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006443/0.2387, allocations: 1.698 MB / 463.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009887/0.2397, allocations: 19.88 kB / 463.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.2417, allocations: 278.3 kB / 464.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.2434, allocations: 247 kB / 464.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.245, allocations: 231.6 kB / 464.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.2468, allocations: 0.6429 MB / 465.2 MB, free: 124 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.2481, allocations: 304.7 kB / 465.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008975/0.249, allocations: 286.9 kB / 465.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.2504, allocations: 410.7 kB / 466.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.2506, allocations: 40 kB / 466.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.2514, allocations: 151.8 kB / 466.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006361/0.2521, allocations: 247.4 kB / 466.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008281/0.2529, allocations: 266.7 kB / 466.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.2542, allocations: 0.5067 MB / 467.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.2542, allocations: 0 / 467.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.2542, allocations: 0 / 467.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.555e-05/0.2543, allocations: 0 / 467.4 MB, free: 13.95 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.004086/0.2584, allocations: 0.8788 MB / 468.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.742e-05/0.2585, allocations: 15.89 kB / 468.3 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.2597, allocations: 92.22 kB / 468.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.2617, allocations: 487.7 kB / 468.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/0.2618, allocations: 29.38 kB / 468.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.2621, allocations: 60.11 kB / 468.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.2642, allocations: 0.684 MB / 469.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/0.2643, allocations: 3.938 kB / 469.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.656e-05/0.2644, allocations: 20 kB / 469.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/0.2646, allocations: 32.98 kB / 469.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.2663, allocations: 0.5307 MB / 470.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00734/0.2737, allocations: 3.098 MB / 473.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.2748, allocations: 321 kB / 473.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.2753, allocations: 186.2 kB / 473.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.976e-05/0.2754, allocations: 7.938 kB / 473.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.2755, allocations: 42.55 kB / 473.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 4.419e-06/0.2755, allocations: 0 / 473.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.004067/0.2796, allocations: 1.208 MB / 475.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.2798, allocations: 77.11 kB / 475.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009307/0.2807, allocations: 397.4 kB / 475.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/0.2808, allocations: 37.83 kB / 475.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.2812, allocations: 303.2 kB / 475.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.2814, allocations: 114.4 kB / 476 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.2817, allocations: 98.14 kB / 476.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002687/0.282, allocations: 362.7 kB / 476.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.2826, allocations: 185 kB / 476.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008157/0.2835, allocations: 391.1 kB / 477 MB, free: 3.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.2862, allocations: 0.5971 MB / 477.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.2862, allocations: 0 / 477.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003718/0.2899, allocations: 0.8413 MB / 478.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.29, allocations: 10.03 kB / 478.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.29, allocations: 4 kB / 478.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/0.2927, allocations: 265.8 kB / 478.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.2939, allocations: 139.8 kB / 478.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/0.3075, allocations: 4.041 MB / 482.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.3087, allocations: 27.98 kB / 482.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.3089, allocations: 27.98 kB / 482.9 MB, free: 13.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007795/0.3098, allocations: 225.6 kB / 483.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.31, allocations: 35.53 kB / 483.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.3116, allocations: 485.1 kB / 483.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.3116, allocations: 4 kB / 483.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3117, allocations: 3.938 kB / 483.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3117, allocations: 4 kB / 483.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.3147, allocations: 1.011 MB / 484.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3147, allocations: 4.125 kB / 484.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008594/0.3156, allocations: 95.81 kB / 484.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.3156, allocations: 4 kB / 484.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.796e-05/0.3157, allocations: 11.98 kB / 484.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.3157, allocations: 7.938 kB / 484.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3157, allocations: 0 / 484.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.3177, allocations: 0.7473 MB / 485.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.3179, allocations: 116.6 kB / 485.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.3181, allocations: 16 kB / 485.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.3186, allocations: 11.98 kB / 485.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3188, allocations: 35.89 kB / 485.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.3188, allocations: 8 kB / 485.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005799/0.3194, allocations: 271.1 kB / 486 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3194, allocations: 0 / 486 MB, free: 10.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001179/0.3206, allocations: 120 kB / 486.1 MB, free: 10.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002717/0.3209, allocations: 107.2 kB / 486.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003205/0.3241, allocations: 0.8452 MB / 487.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.3242, allocations: 384 / 487.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.3248, allocations: 211.6 kB / 487.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.326, allocations: 88.05 kB / 487.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008022/0.334, allocations: 1.723 MB / 489.1 MB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.3353, allocations: 0.8976 MB / 490 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.3357, allocations: 43.42 kB / 490 MB, free: 6.168 MB / 366.1 MB Notification: Performance of SimCode: time 2.595e-06/0.3358, allocations: 0 / 490 MB, free: 6.168 MB / 366.1 MB Notification: Performance of Templates: time 0.03121/0.367, allocations: 7.881 MB / 497.9 MB, free: 14.29 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)