Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008518/0.0008518, allocations: 171.9 kB / 16.07 MB, free: 5.727 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.229/1.229, 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.000719/0.0007191, allocations: 93.05 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1608/0.1608, allocations: 38.06 MB / 356.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 12 kB / 423.3 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2225, allocations: 56.32 MB / 479.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002139/0.2247, allocations: 1.781 MB / 481.4 MB, free: 8.242 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.2271, allocations: 1.945 MB / 483.4 MB, free: 6.938 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.2272, allocations: 3.938 kB / 483.4 MB, free: 6.934 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.2273, allocations: 7.359 kB / 483.4 MB, free: 6.934 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.2274, allocations: 31.91 kB / 483.4 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.2295, allocations: 0.6787 MB / 484.1 MB, free: 6.684 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.2297, allocations: 101.9 kB / 484.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.2297, allocations: 3.188 kB / 484.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.775e-05/0.2298, allocations: 33.7 kB / 484.2 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.2299, allocations: 43.95 kB / 484.3 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.2299, allocations: 0.9688 kB / 484.3 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.232, allocations: 1.154 MB / 485.4 MB, free: 6.305 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.2321, allocations: 18.53 kB / 485.4 MB, free: 6.301 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.2322, allocations: 54.31 kB / 485.5 MB, free: 6.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.2338, allocations: 0.9791 MB / 486.5 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2338, allocations: 5.375 kB / 486.5 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2338, allocations: 3.938 kB / 486.5 MB, free: 6.137 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.2339, allocations: 0 / 486.5 MB, free: 6.137 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007831/0.2346, allocations: 0.5057 MB / 487 MB, free: 5.652 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2347, allocations: 14.19 kB / 487 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.2347, allocations: 8.766 kB / 487 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.2349, allocations: 184.9 kB / 487.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2349, allocations: 0 / 487.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.2349, allocations: 5.656 kB / 487.2 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.235, allocations: 65.73 kB / 487.2 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.2351, allocations: 3.938 kB / 487.2 MB, free: 5.395 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2351, allocations: 1.344 kB / 487.2 MB, free: 5.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2351, allocations: 0 / 487.2 MB, free: 5.395 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/0.2352, allocations: 30.91 kB / 487.3 MB, free: 5.391 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.2353, allocations: 180.6 kB / 487.5 MB, free: 5.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.2354, allocations: 60.64 kB / 487.5 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.2354, allocations: 47.7 kB / 487.6 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.2354, allocations: 0 / 487.6 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.2355, allocations: 32.52 kB / 487.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.2355, allocations: 0 / 487.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002953/0.2358, allocations: 202.1 kB / 487.8 MB, free: 4.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.2358, allocations: 87.38 kB / 487.9 MB, free: 4.898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.2359, allocations: 135.2 kB / 488 MB, free: 4.789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.2359, allocations: 29.73 kB / 488 MB, free: 4.754 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.2359, allocations: 92.48 kB / 488.1 MB, free: 4.664 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.236, allocations: 37.02 kB / 488.2 MB, free: 4.637 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.236, allocations: 0 / 488.2 MB, free: 4.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.236, allocations: 325.1 kB / 488.5 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.108e-05/0.2361, allocations: 31.91 kB / 488.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.199e-05/0.2361, allocations: 32.03 kB / 488.5 MB, free: 4.309 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.2363, allocations: 159.6 kB / 488.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2363, allocations: 0 / 488.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001599/0.2365, allocations: 165.7 kB / 488.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.2365, allocations: 45.12 kB / 488.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2365, allocations: 2.125 kB / 488.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2365, allocations: 0 / 488.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.2365, allocations: 0 / 488.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2365, allocations: 2.359 kB / 488.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.2366, allocations: 6.688 kB / 488.9 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.2366, allocations: 2.75 kB / 488.9 MB, free: 4.098 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 9.091e-05/0.2367, allocations: 174.7 kB / 489.1 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.2367, allocations: 13.44 kB / 489.1 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.2368, allocations: 12.55 kB / 489.1 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2368, allocations: 4.688 kB / 489.1 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2368, allocations: 0 / 489.1 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.2368, allocations: 1.375 kB / 489.1 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.851e-05/0.2369, allocations: 187.3 kB / 489.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2369, allocations: 0 / 489.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-06/0.2369, allocations: 2.047 kB / 489.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2369, allocations: 0 / 489.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2369, allocations: 8.234 kB / 489.3 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2369, allocations: 0 / 489.3 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2369, allocations: 5.031 kB / 489.3 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.2372, allocations: 287.8 kB / 489.6 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.2373, allocations: 92.88 kB / 489.7 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.2373, allocations: 2.094 kB / 489.7 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.142e-05/0.2373, allocations: 2.891 kB / 489.7 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.2374, allocations: 2.797 kB / 489.7 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2374, allocations: 4.281 kB / 489.7 MB, free: 3.465 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.97e-05/0.2374, allocations: 106.5 kB / 489.8 MB, free: 3.379 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2374, allocations: 1.031 kB / 489.8 MB, free: 3.379 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00116/0.2386, allocations: 323.4 kB / 490.1 MB, free: 3.34 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.001217/0.2398, allocations: 364.9 kB / 490.5 MB, free: 3.188 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.2401, allocations: 299.5 kB / 490.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2402, allocations: 4.062 kB / 490.8 MB, free: 3.043 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.2403, allocations: 226.5 kB / 491 MB, free: 2.918 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.2406, allocations: 7.656 kB / 491 MB, free: 2.918 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.241, allocations: 363.5 kB / 491.4 MB, free: 2.707 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.2412, allocations: 0.7079 MB / 492.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.2412, allocations: 8.844 kB / 492.1 MB, free: 2 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2412, allocations: 0 / 492.1 MB, free: 2 MB / 314.7 MB Notification: Performance of Templates: time 0.009864/0.2511, allocations: 5.967 MB / 498 MB, free: 15.95 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1)