Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009212/0.0009213, allocations: 170.9 kB / 16.07 MB, free: 5.602 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.222/1.222, allocations: 205.4 MB / 222.2 MB, free: 9.02 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.0006993/0.0006993, allocations: 96.73 kB / 270.6 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1634/0.1634, allocations: 38.07 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 12 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 56.32 MB / 479.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.001881/0.2213, allocations: 1.788 MB / 481.4 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.2235, allocations: 1.945 MB / 483.4 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.2236, allocations: 0 / 483.4 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.2237, allocations: 17.77 kB / 483.4 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.2238, allocations: 26.45 kB / 483.4 MB, free: 6.891 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.2253, allocations: 0.6783 MB / 484.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2255, allocations: 94.94 kB / 484.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.2255, allocations: 8.172 kB / 484.2 MB, free: 6.625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.2256, allocations: 33.98 kB / 484.2 MB, free: 6.613 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.2257, allocations: 49.47 kB / 484.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.2257, allocations: 2.375 kB / 484.3 MB, free: 6.598 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.2273, allocations: 1.159 MB / 485.4 MB, free: 6.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.2274, allocations: 34.69 kB / 485.5 MB, free: 6.266 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.2274, allocations: 61.88 kB / 485.5 MB, free: 6.211 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.2288, allocations: 0.9907 MB / 486.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2288, allocations: 0 / 486.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2288, allocations: 0 / 486.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.2288, allocations: 0 / 486.5 MB, free: 6.105 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005547/0.2293, allocations: 0.5488 MB / 487.1 MB, free: 5.598 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.2294, allocations: 12.38 kB / 487.1 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.2294, allocations: 19.42 kB / 487.1 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2296, allocations: 195.4 kB / 487.3 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.2296, allocations: 1.375 kB / 487.3 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2296, allocations: 1.469 kB / 487.3 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.2298, allocations: 107.7 kB / 487.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.2298, allocations: 0 / 487.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2298, allocations: 0 / 487.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2298, allocations: 1.156 kB / 487.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.2299, allocations: 60.8 kB / 487.5 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.23, allocations: 197.3 kB / 487.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.905e-05/0.2301, allocations: 100.1 kB / 487.7 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.2302, allocations: 87.61 kB / 487.8 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-06/0.2302, allocations: 1.375 kB / 487.8 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.162e-05/0.2302, allocations: 34.5 kB / 487.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 9.92e-07/0.2302, allocations: 0 / 487.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.00039/0.2306, allocations: 315 kB / 488.2 MB, free: 4.844 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.2307, allocations: 98.94 kB / 488.3 MB, free: 4.746 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.431e-05/0.2308, allocations: 151.5 kB / 488.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.2308, allocations: 27.08 kB / 488.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.2308, allocations: 102.5 kB / 488.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.2309, allocations: 76.58 kB / 488.6 MB, free: 4.445 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.2309, allocations: 4 kB / 488.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.2309, allocations: 329.6 kB / 488.9 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.231, allocations: 59.91 kB / 489 MB, free: 4.109 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.2311, allocations: 66.88 kB / 489.1 MB, free: 4.094 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.2313, allocations: 255.3 kB / 489.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2313, allocations: 0 / 489.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002332/0.2316, allocations: 236.2 kB / 489.5 MB, free: 3.887 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.2316, allocations: 64.84 kB / 489.6 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2316, allocations: 0 / 489.6 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2317, allocations: 0 / 489.6 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.2317, allocations: 0 / 489.6 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2317, allocations: 6.109 kB / 489.6 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.2317, allocations: 17.33 kB / 489.6 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.2318, allocations: 14.3 kB / 489.6 MB, free: 3.828 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001166/0.2319, allocations: 200.1 kB / 489.8 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.2319, allocations: 16.06 kB / 489.9 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.531e-05/0.2319, allocations: 14.72 kB / 489.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2319, allocations: 0.75 kB / 489.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2319, allocations: 1.375 kB / 489.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2319, allocations: 0 / 489.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2321, allocations: 213.3 kB / 490.1 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2321, allocations: 0 / 490.1 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.2321, allocations: 3.938 kB / 490.1 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2321, allocations: 4.969 kB / 490.1 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.2321, allocations: 6.344 kB / 490.1 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2321, allocations: 1.219 kB / 490.1 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2321, allocations: 0 / 490.1 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.2327, allocations: 0.514 MB / 490.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.2327, allocations: 97.59 kB / 490.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.2327, allocations: 4.375 kB / 490.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.2328, allocations: 3.844 kB / 490.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.2328, allocations: 7.469 kB / 490.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2328, allocations: 6.984 kB / 490.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.771e-05/0.2329, allocations: 115.5 kB / 490.8 MB, free: 3.059 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2329, allocations: 0 / 490.8 MB, free: 3.059 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001024/0.2339, allocations: 333.6 kB / 491.2 MB, free: 3.023 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0008414/0.2348, allocations: 380 kB / 491.5 MB, free: 2.859 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.2354, allocations: 0.7112 MB / 492.3 MB, free: 2.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2354, allocations: 0 / 492.3 MB, free: 2.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.2358, allocations: 0.5686 MB / 492.8 MB, free: 2.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.236, allocations: 12.5 kB / 492.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.2367, allocations: 0.5313 MB / 493.4 MB, free: 1.945 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.2368, allocations: 0.7301 MB / 494.1 MB, free: 1.246 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-06/0.2368, allocations: 12.53 kB / 494.1 MB, free: 1.234 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2368, allocations: 0 / 494.1 MB, free: 1.234 MB / 314.7 MB Notification: Performance of Templates: time 0.009637/0.2465, allocations: 6.457 MB / 0.4888 GB, free: 14.73 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1)