Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 174.6 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.163/1.163, allocations: 205.4 MB / 222.2 MB, free: 9.027 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.0007355/0.0007355, allocations: 71.95 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1582/0.1582, allocations: 38.08 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003077, allocations: 15.98 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2125, allocations: 56.32 MB / 479.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.001849/0.2144, allocations: 1.787 MB / 481.4 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.2166, allocations: 1.943 MB / 483.4 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.2166, allocations: 4 kB / 483.4 MB, free: 6.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.2167, allocations: 10.91 kB / 483.4 MB, free: 6.906 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.2168, allocations: 29.2 kB / 483.4 MB, free: 6.891 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.2184, allocations: 0.6793 MB / 484.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2185, allocations: 103.4 kB / 484.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.2186, allocations: 3.641 kB / 484.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.037e-05/0.2187, allocations: 34.38 kB / 484.2 MB, free: 6.609 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.2187, allocations: 55.25 kB / 484.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.2188, allocations: 3.25 kB / 484.3 MB, free: 6.594 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.2204, allocations: 1.163 MB / 485.4 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.2204, allocations: 41.36 kB / 485.5 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.2205, allocations: 80.38 kB / 485.6 MB, free: 6.191 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.2217, allocations: 1.006 MB / 486.6 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2217, allocations: 0 / 486.6 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2217, allocations: 1.562 kB / 486.6 MB, free: 6.082 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.2217, allocations: 0 / 486.6 MB, free: 6.082 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005219/0.2223, allocations: 0.5857 MB / 487.1 MB, free: 5.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.2223, allocations: 14.66 kB / 487.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.2223, allocations: 18.53 kB / 487.2 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2225, allocations: 215.4 kB / 487.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-06/0.2225, allocations: 1.906 kB / 487.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.2225, allocations: 0 / 487.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.2227, allocations: 143.6 kB / 487.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.2227, allocations: 1.344 kB / 487.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2227, allocations: 0.5625 kB / 487.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.2227, allocations: 0 / 487.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.2228, allocations: 96.2 kB / 487.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.223, allocations: 214.9 kB / 487.8 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.2231, allocations: 155.5 kB / 488 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.2232, allocations: 148 kB / 488.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.2232, allocations: 0 / 488.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.2233, allocations: 31.94 kB / 488.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 7.81e-07/0.2233, allocations: 3.938 kB / 488.2 MB, free: 4.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005109/0.2238, allocations: 0.4915 MB / 488.7 MB, free: 4.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.2238, allocations: 105 kB / 488.8 MB, free: 4.566 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.224, allocations: 169.3 kB / 488.9 MB, free: 4.449 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.224, allocations: 25.7 kB / 489 MB, free: 4.418 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.224, allocations: 108.3 kB / 489.1 MB, free: 4.312 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.2241, allocations: 126.4 kB / 489.2 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.2241, allocations: 1.25 kB / 489.2 MB, free: 4.215 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.2242, allocations: 338 kB / 489.5 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.893e-05/0.2243, allocations: 99.39 kB / 489.6 MB, free: 3.867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.2244, allocations: 98.2 kB / 489.7 MB, free: 3.844 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.2247, allocations: 377.5 kB / 490.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2247, allocations: 0 / 490.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003473/0.225, allocations: 333 kB / 490.4 MB, free: 3.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/0.2251, allocations: 85.06 kB / 490.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2251, allocations: 1.25 kB / 490.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.2251, allocations: 0 / 490.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.2252, allocations: 2.188 kB / 490.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2252, allocations: 3.938 kB / 490.5 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.2252, allocations: 31.25 kB / 490.5 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.2253, allocations: 13.98 kB / 490.5 MB, free: 3.52 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.0001605/0.2254, allocations: 237 kB / 490.8 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.2255, allocations: 26.84 kB / 490.8 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.2255, allocations: 16.2 kB / 490.8 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2255, allocations: 0.7031 kB / 490.8 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2255, allocations: 1.812 kB / 490.8 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2255, allocations: 0 / 490.8 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.2257, allocations: 232.9 kB / 491 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2257, allocations: 0 / 491 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.2257, allocations: 8.5 kB / 491 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2257, allocations: 1.344 kB / 491.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.2257, allocations: 7.203 kB / 491.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2257, allocations: 1.625 kB / 491.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2257, allocations: 0.8906 kB / 491.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009156/0.2266, allocations: 0.9191 MB / 492 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.2267, allocations: 104.3 kB / 492.1 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.2267, allocations: 6.656 kB / 492.1 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.2268, allocations: 10.58 kB / 492.1 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.2268, allocations: 6.656 kB / 492.1 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.2268, allocations: 10.03 kB / 492.1 MB, free: 2.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.088e-05/0.2269, allocations: 128.4 kB / 492.2 MB, free: 2.645 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2269, allocations: 0 / 492.2 MB, free: 2.645 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009739/0.2279, allocations: 351.9 kB / 492.6 MB, free: 2.609 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.0008185/0.2287, allocations: 384.4 kB / 493 MB, free: 2.445 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.2299, allocations: 1.598 MB / 494.6 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2299, allocations: 0 / 494.6 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.2308, allocations: 1.372 MB / 495.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.231, allocations: 16.73 kB / 495.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/0.2319, allocations: 0.7616 MB / 496.7 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2321, allocations: 0.7574 MB / 497.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.128e-05/0.2321, allocations: 8.719 kB / 497.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2321, allocations: 0 / 497.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of Templates: time 0.01111/0.2433, allocations: 7.086 MB / 0.4927 GB, free: 12.64 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1)