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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001022/0.001022, allocations: 111.3 kB / 17.68 MB, free: 5.355 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.001034/0.001034, allocations: 192 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1727/0.1727, allocations: 37.98 MB / 309.8 MB, free: 5.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 63.91 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2322, allocations: 55.24 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005025/0.2373, allocations: 4.403 MB / 436.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.2395, allocations: 1.562 MB / 438 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.2398, allocations: 11.94 kB / 438 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008247/0.2406, allocations: 302.6 kB / 438.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006122/0.2412, allocations: 282.7 kB / 438.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.2419, allocations: 239.5 kB / 438.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.2424, allocations: 0.6118 MB / 439.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.2428, allocations: 231.8 kB / 439.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.2431, allocations: 259 kB / 439.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.2436, allocations: 366.8 kB / 440.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.2437, allocations: 40 kB / 440.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.2441, allocations: 223.6 kB / 440.5 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.2443, allocations: 235.5 kB / 440.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.2445, allocations: 258.7 kB / 441 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.2451, allocations: 0.662 MB / 441.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2451, allocations: 0 / 441.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2451, allocations: 4 kB / 441.7 MB, free: 9.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.2452, allocations: 0 / 441.7 MB, free: 9.82 MB / 318.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.001437/0.2466, allocations: 0.766 MB / 442.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2466, allocations: 19.89 kB / 442.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006219/0.2473, allocations: 92.3 kB / 442.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.2479, allocations: 415.2 kB / 442.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.248, allocations: 33.36 kB / 443 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.2481, allocations: 56 kB / 443 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007721/0.2489, allocations: 0.6953 MB / 443.7 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2489, allocations: 0 / 443.7 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.249, allocations: 19.97 kB / 443.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/0.2491, allocations: 72.94 kB / 443.8 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008157/0.25, allocations: 0.6596 MB / 444.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.2527, allocations: 2.654 MB / 447.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.2532, allocations: 317.3 kB / 447.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.2534, allocations: 205.7 kB / 447.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.2534, allocations: 4 kB / 447.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.2535, allocations: 38.56 kB / 447.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.124e-06/0.2535, allocations: 0 / 447.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.001571/0.255, allocations: 1.307 MB / 449 MB, free: 2.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.2551, allocations: 81.11 kB / 449.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.2553, allocations: 279.3 kB / 449.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.2553, allocations: 37.83 kB / 449.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.2554, allocations: 259.6 kB / 449.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.2555, allocations: 130 kB / 449.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.2556, allocations: 90.02 kB / 449.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.2557, allocations: 354.7 kB / 450.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.2559, allocations: 184.9 kB / 450.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.2561, allocations: 333.2 kB / 450.7 MB, free: 320 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.2567, allocations: 0.5582 MB / 451.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2568, allocations: 0 / 451.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001181/0.2579, allocations: 0.6742 MB / 451.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.258, allocations: 8 kB / 451.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007815/0.2588, allocations: 491.5 kB / 452.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.2592, allocations: 113.8 kB / 452.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.2595, allocations: 83.89 kB / 452.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.2622, allocations: 3.266 MB / 455.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.2625, allocations: 31.91 kB / 455.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.2626, allocations: 15.98 kB / 455.9 MB, free: 10.72 MB / 334.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.0002462/0.2628, allocations: 205.7 kB / 456.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.2629, allocations: 35.61 kB / 456.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007254/0.2636, allocations: 480.6 kB / 456.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.2637, allocations: 8.188 kB / 456.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2637, allocations: 0 / 456.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.2637, allocations: 7.922 kB / 456.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.2652, allocations: 1.011 MB / 457.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2652, allocations: 0 / 457.7 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.2655, allocations: 71.95 kB / 457.7 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.25e-05/0.2656, allocations: 7.938 kB / 457.7 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.2656, allocations: 8 kB / 457.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2656, allocations: 0 / 457.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2656, allocations: 4 kB / 457.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.2666, allocations: 0.7473 MB / 458.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.2668, allocations: 136.8 kB / 458.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.2668, allocations: 11.94 kB / 458.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.267, allocations: 11.97 kB / 458.6 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.2671, allocations: 19.98 kB / 458.7 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.2671, allocations: 12 kB / 458.7 MB, free: 7.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.2673, allocations: 207.1 kB / 458.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2673, allocations: 0 / 458.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004995/0.2678, allocations: 112 kB / 459 MB, free: 7.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002456/0.2681, allocations: 150.9 kB / 459.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.2692, allocations: 0.7142 MB / 459.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2692, allocations: 0 / 459.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.2695, allocations: 211.8 kB / 460.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.27, allocations: 64.06 kB / 460.1 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2717, allocations: 1.111 MB / 461.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.2721, allocations: 0.8707 MB / 462.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.2724, allocations: 107.2 kB / 462.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.2725, allocations: 31.44 kB / 462.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2725, allocations: 0 / 462.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of Templates: time 0.008493/0.281, allocations: 4.261 MB / 466.5 MB, free: 15.93 MB / 350.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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)