Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00084/0.00084, allocations: 173.5 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.174/1.174, 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.000721/0.000721, allocations: 84.98 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.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.0003584/0.0003584, allocations: 8 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2199, allocations: 56.32 MB / 479.6 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002059/0.222, allocations: 1.837 MB / 481.5 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.2232, allocations: 1.037 MB / 482.5 MB, free: 7.469 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.2233, allocations: 0 / 482.5 MB, free: 7.469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.2234, allocations: 11.92 kB / 482.5 MB, free: 7.465 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.2235, allocations: 56.14 kB / 482.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006823/0.2242, allocations: 245 kB / 482.8 MB, free: 7.352 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.2244, allocations: 198.8 kB / 483 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.2245, allocations: 3.094 kB / 483 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.2246, allocations: 53.19 kB / 483.1 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.2247, allocations: 72.47 kB / 483.1 MB, free: 7.258 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2247, allocations: 3.469 kB / 483.1 MB, free: 7.258 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.2253, allocations: 385.3 kB / 483.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.2254, allocations: 35.09 kB / 483.5 MB, free: 7.141 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.2254, allocations: 62.42 kB / 483.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.226, allocations: 417.4 kB / 484 MB, free: 7.047 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.226, allocations: 0 / 484 MB, free: 7.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.226, allocations: 0 / 484 MB, free: 7.047 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.226, allocations: 0 / 484 MB, free: 7.047 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003506/0.2263, allocations: 456.8 kB / 484.5 MB, free: 6.602 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2264, allocations: 8.594 kB / 484.5 MB, free: 6.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.2264, allocations: 13.78 kB / 484.5 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2266, allocations: 196.8 kB / 484.7 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.2266, allocations: 384 / 484.7 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.2266, allocations: 11.23 kB / 484.7 MB, free: 6.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.2268, allocations: 91.38 kB / 484.8 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2268, allocations: 0 / 484.8 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2268, allocations: 1.875 kB / 484.8 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2268, allocations: 0 / 484.8 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.2269, allocations: 61.64 kB / 484.8 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.227, allocations: 185.1 kB / 485 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.2272, allocations: 130 kB / 485.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.2273, allocations: 126.6 kB / 485.3 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.2273, allocations: 0 / 485.3 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2273, allocations: 36.28 kB / 485.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 9.22e-07/0.2273, allocations: 0 / 485.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004019/0.2277, allocations: 286 kB / 485.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.2278, allocations: 96.05 kB / 485.7 MB, free: 5.711 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/0.2279, allocations: 129.2 kB / 485.8 MB, free: 5.605 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.2279, allocations: 26.98 kB / 485.8 MB, free: 5.574 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.2279, allocations: 101.5 kB / 485.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.406e-05/0.228, allocations: 65.39 kB / 486 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.228, allocations: 0.9375 kB / 486 MB, free: 5.426 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.228, allocations: 322.4 kB / 486.3 MB, free: 5.109 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.2281, allocations: 57.53 kB / 486.4 MB, free: 5.098 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.2282, allocations: 61.16 kB / 486.4 MB, free: 5.082 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.2284, allocations: 229 kB / 486.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2284, allocations: 0 / 486.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002603/0.2287, allocations: 221.2 kB / 486.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.2287, allocations: 60.25 kB / 486.9 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2287, allocations: 0 / 486.9 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.2288, allocations: 1.312 kB / 486.9 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.2288, allocations: 0.6562 kB / 486.9 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2288, allocations: 0 / 486.9 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.2288, allocations: 9.281 kB / 486.9 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.2289, allocations: 15.23 kB / 486.9 MB, free: 4.824 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.0001131/0.229, allocations: 184.9 kB / 487.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.229, allocations: 16.12 kB / 487.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.229, allocations: 12.66 kB / 487.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.229, allocations: 0.9688 kB / 487.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.229, allocations: 0.5156 kB / 487.1 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2291, allocations: 1 kB / 487.2 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.2292, allocations: 201.6 kB / 487.3 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2292, allocations: 0 / 487.3 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.2292, allocations: 0.5625 kB / 487.3 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2292, allocations: 0 / 487.3 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2292, allocations: 3.266 kB / 487.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2292, allocations: 4 kB / 487.4 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2292, allocations: 5.406 kB / 487.4 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.2296, allocations: 392.3 kB / 487.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.2297, allocations: 94.22 kB / 487.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.2297, allocations: 2.969 kB / 487.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.2297, allocations: 4 kB / 487.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.2298, allocations: 3.422 kB / 487.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2298, allocations: 9.734 kB / 487.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.796e-05/0.2299, allocations: 111.7 kB / 488 MB, free: 4.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2299, allocations: 3.938 kB / 488 MB, free: 4.066 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.2303, allocations: 131 kB / 488.1 MB, free: 4.055 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.000387/0.2307, allocations: 189.5 kB / 488.3 MB, free: 3.938 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005228/0.2313, allocations: 0.5629 MB / 488.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2313, allocations: 1.188 kB / 488.8 MB, free: 3.621 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.2316, allocations: 472.3 kB / 489.3 MB, free: 3.324 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.2318, allocations: 24.94 kB / 489.3 MB, free: 3.312 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.2324, allocations: 465.5 kB / 489.8 MB, free: 3.062 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.2325, allocations: 0.7148 MB / 490.5 MB, free: 2.367 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.045e-05/0.2325, allocations: 8.688 kB / 490.5 MB, free: 2.359 MB / 314.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2325, allocations: 1.219 kB / 490.5 MB, free: 2.359 MB / 314.7 MB Notification: Performance of Templates: time 0.00536/0.2379, allocations: 3.083 MB / 493.6 MB, free: 2.133 MB / 314.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1)