Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 174.8 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.201/1.201, 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.0007235/0.0007235, allocations: 92.84 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1565/0.1565, allocations: 38.07 MB / 356.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003469, allocations: 12 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2372, allocations: 56.32 MB / 479.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.00189/0.2391, allocations: 1.826 MB / 481.5 MB, free: 8.191 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.2413, allocations: 1.948 MB / 483.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.2414, allocations: 1.125 kB / 483.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.2415, allocations: 17.69 kB / 483.4 MB, free: 6.871 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.2416, allocations: 39.56 kB / 483.5 MB, free: 6.852 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.243, allocations: 0.672 MB / 484.1 MB, free: 6.617 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.2431, allocations: 138 kB / 484.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.2432, allocations: 2.781 kB / 484.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.2433, allocations: 46.73 kB / 484.3 MB, free: 6.559 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.2434, allocations: 58.59 kB / 484.4 MB, free: 6.543 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.2434, allocations: 3 kB / 484.4 MB, free: 6.543 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.245, allocations: 1.14 MB / 485.5 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.2451, allocations: 36.59 kB / 485.6 MB, free: 6.215 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.2451, allocations: 61.17 kB / 485.6 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.2463, allocations: 0.9745 MB / 486.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2463, allocations: 1.375 kB / 486.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2463, allocations: 0 / 486.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.2463, allocations: 0 / 486.6 MB, free: 6.055 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004839/0.2468, allocations: 0.5288 MB / 487.1 MB, free: 5.555 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2469, allocations: 13.62 kB / 487.1 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.2469, allocations: 8.969 kB / 487.1 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.247, allocations: 189.3 kB / 487.3 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2471, allocations: 5.5 kB / 487.3 MB, free: 5.336 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.2471, allocations: 9.297 kB / 487.3 MB, free: 5.328 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.2472, allocations: 79.16 kB / 487.4 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.2472, allocations: 0 / 487.4 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2472, allocations: 2.266 kB / 487.4 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2472, allocations: 0 / 487.4 MB, free: 5.285 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/0.2473, allocations: 38.06 kB / 487.5 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.2474, allocations: 179.9 kB / 487.6 MB, free: 5.078 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.2475, allocations: 81.64 kB / 487.7 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.2476, allocations: 61.61 kB / 487.8 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-06/0.2476, allocations: 0 / 487.8 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.2476, allocations: 36.59 kB / 487.8 MB, free: 4.957 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 8.32e-07/0.2476, allocations: 0 / 487.8 MB, free: 4.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002961/0.2479, allocations: 212.8 kB / 488 MB, free: 4.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.248, allocations: 95.36 kB / 488.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.508e-05/0.2481, allocations: 149.8 kB / 488.3 MB, free: 4.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.2481, allocations: 27.69 kB / 488.3 MB, free: 4.629 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.2481, allocations: 98.52 kB / 488.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.2482, allocations: 48.73 kB / 488.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.2482, allocations: 0 / 488.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.2482, allocations: 331.6 kB / 488.7 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.2483, allocations: 40.73 kB / 488.8 MB, free: 4.164 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.2483, allocations: 41.52 kB / 488.8 MB, free: 4.156 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.2485, allocations: 180.1 kB / 489 MB, free: 4.066 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2485, allocations: 3.938 kB / 489 MB, free: 4.062 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001969/0.2487, allocations: 175.3 kB / 489.2 MB, free: 3.977 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.2488, allocations: 49.66 kB / 489.2 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.2488, allocations: 1.25 kB / 489.2 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.2488, allocations: 3.938 kB / 489.2 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.2488, allocations: 0.6094 kB / 489.2 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2488, allocations: 1.469 kB / 489.2 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.2489, allocations: 3.297 kB / 489.2 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.2489, allocations: 9.922 kB / 489.2 MB, free: 3.934 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.415e-05/0.249, allocations: 179.1 kB / 489.4 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.249, allocations: 15.45 kB / 489.4 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.249, allocations: 9.828 kB / 489.4 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2491, allocations: 0 / 489.4 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2491, allocations: 0.6094 kB / 489.4 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.2491, allocations: 1.312 kB / 489.4 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.76e-05/0.2492, allocations: 198 kB / 489.6 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2492, allocations: 0 / 489.6 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.2492, allocations: 6.297 kB / 489.6 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.2492, allocations: 0 / 489.6 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2492, allocations: 5 kB / 489.7 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.2492, allocations: 0 / 489.7 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.2492, allocations: 0 / 489.7 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.2495, allocations: 293.7 kB / 489.9 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.2496, allocations: 92.48 kB / 490 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.2496, allocations: 4.109 kB / 490 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.2496, allocations: 5.688 kB / 490 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.2497, allocations: 3.391 kB / 490 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.2497, allocations: 9.25 kB / 490.1 MB, free: 3.297 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.158e-05/0.2497, allocations: 120 kB / 490.2 MB, free: 3.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2498, allocations: 0 / 490.2 MB, free: 3.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008703/0.2506, allocations: 332.2 kB / 490.5 MB, free: 3.164 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.0007947/0.2514, allocations: 367.4 kB / 490.9 MB, free: 3.008 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.2518, allocations: 332.8 kB / 491.2 MB, free: 2.844 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2518, allocations: 0 / 491.2 MB, free: 2.844 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.252, allocations: 259.2 kB / 491.4 MB, free: 2.691 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.2522, allocations: 14.31 kB / 491.4 MB, free: 2.688 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.2527, allocations: 421.7 kB / 491.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.2529, allocations: 0.7167 MB / 492.6 MB, free: 1.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-06/0.2529, allocations: 8.844 kB / 492.6 MB, free: 1.742 MB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2529, allocations: 0 / 492.6 MB, free: 1.742 MB / 314.7 MB Notification: Performance of Templates: time 0.009714/0.2626, allocations: 6.145 MB / 498.7 MB, free: 15.5 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe 2>&1)