Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000873/0.000873, allocations: 174.2 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 222.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007364/0.0007364, allocations: 83.92 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1705/0.1705, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2188, allocations: 56.32 MB / 479.6 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.004089/0.2229, allocations: 4.277 MB / 483.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2245, allocations: 1.122 MB / 485 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.2248, allocations: 25.06 kB / 485.1 MB, free: 5.645 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.2251, allocations: 57.95 kB / 485.1 MB, free: 5.617 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005689/0.2256, allocations: 230.9 kB / 485.3 MB, free: 5.484 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.2259, allocations: 116.5 kB / 485.5 MB, free: 5.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.2265, allocations: 0.5226 MB / 486 MB, free: 5.223 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.2268, allocations: 127.7 kB / 486.1 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.2271, allocations: 175.5 kB / 486.3 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.2274, allocations: 228 kB / 486.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.2275, allocations: 14.22 kB / 486.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.2276, allocations: 13.84 kB / 486.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.2277, allocations: 111.3 kB / 486.6 MB, free: 4.996 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.2279, allocations: 182.8 kB / 486.8 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.2282, allocations: 270.3 kB / 487.1 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2282, allocations: 1.156 kB / 487.1 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2282, allocations: 0 / 487.1 MB, free: 4.816 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2282, allocations: 0 / 487.1 MB, free: 4.816 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001078/0.2293, allocations: 0.6399 MB / 487.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2293, allocations: 9.672 kB / 487.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.2294, allocations: 39.53 kB / 487.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.23, allocations: 383.5 kB / 488.1 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.23, allocations: 19.5 kB / 488.2 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.23, allocations: 27.97 kB / 488.2 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.2306, allocations: 356.8 kB / 488.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2306, allocations: 1.031 kB / 488.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.2306, allocations: 11.34 kB / 488.5 MB, free: 3.797 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2306, allocations: 7.062 kB / 488.5 MB, free: 3.797 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.231, allocations: 258.4 kB / 488.8 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.2326, allocations: 1.451 MB / 490.3 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.2329, allocations: 160.5 kB / 490.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.233, allocations: 77.23 kB / 490.5 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.233, allocations: 5.375 kB / 490.5 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.233, allocations: 36.48 kB / 490.5 MB, free: 2.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.455e-06/0.2331, allocations: 5.359 kB / 490.5 MB, free: 2.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001041/0.2341, allocations: 0.6743 MB / 491.2 MB, free: 1.965 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.2341, allocations: 84.58 kB / 491.3 MB, free: 1.867 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.2344, allocations: 297.8 kB / 491.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2345, allocations: 30.89 kB / 491.6 MB, free: 1.668 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.442e-05/0.2346, allocations: 219.7 kB / 491.8 MB, free: 1.484 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.2346, allocations: 56.78 kB / 491.9 MB, free: 1.441 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.2346, allocations: 4 kB / 491.9 MB, free: 1.438 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.2347, allocations: 342.8 kB / 492.2 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.2348, allocations: 66.66 kB / 492.3 MB, free: 1.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.235, allocations: 159.7 kB / 492.4 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.2352, allocations: 258.7 kB / 492.7 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2352, allocations: 5.25 kB / 492.7 MB, free: 0.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003703/0.2356, allocations: 288.9 kB / 493 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2356, allocations: 8.156 kB / 493 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2357, allocations: 4.125 kB / 493 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.2357, allocations: 6.344 kB / 493 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.2359, allocations: 55.83 kB / 493 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.236, allocations: 9.359 kB / 493.1 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.2361, allocations: 13.75 kB / 493.1 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.2362, allocations: 15.03 kB / 493.1 MB, free: 0.6055 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.2363, allocations: 171.5 kB / 493.3 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.2364, allocations: 33.22 kB / 493.3 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.2367, allocations: 232.9 kB / 493.5 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2367, allocations: 2.656 kB / 493.5 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2367, allocations: 5.5 kB / 493.5 MB, free: 340 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2368, allocations: 1.875 kB / 493.5 MB, free: 340 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007589/0.2375, allocations: 0.6195 MB / 494.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.2375, allocations: 1.312 kB / 494.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.2377, allocations: 38.09 kB / 494.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2378, allocations: 1.25 kB / 494.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.2378, allocations: 3.266 kB / 494.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.2378, allocations: 1.688 kB / 494.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2378, allocations: 4.969 kB / 494.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.2383, allocations: 429 kB / 494.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.2384, allocations: 100.4 kB / 494.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.2385, allocations: 6.672 kB / 494.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.2386, allocations: 11.31 kB / 494.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.2387, allocations: 18.2 kB / 494.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2387, allocations: 8.438 kB / 494.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002258/0.2389, allocations: 214.6 kB / 495 MB, free: 15.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2389, allocations: 0 / 495 MB, free: 15.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003462/0.2393, allocations: 60.12 kB / 495 MB, free: 15.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001009/0.2394, allocations: 98.92 kB / 495.1 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.2397, allocations: 196.4 kB / 495.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2397, allocations: 0 / 495.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.2399, allocations: 86.56 kB / 495.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.2404, allocations: 64.78 kB / 495.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.2416, allocations: 0.8448 MB / 496.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.242, allocations: 0.8003 MB / 497.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.595e-05/0.2421, allocations: 30.61 kB / 497.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2421, allocations: 0 / 497.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of Templates: time 0.00628/0.2484, allocations: 3.812 MB / 0.4892 GB, free: 12.67 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)