Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1749/0.1749, allocations: 38.02 MB / 330.4 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.94 kB / 399.5 MB, free: 34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08924, allocations: 58.06 MB / 457.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003408/0.09268, allocations: 2.145 MB / 459.7 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.09426, allocations: 1.072 MB / 460.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.09435, allocations: 0 / 460.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.09453, allocations: 15.86 kB / 460.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.09466, allocations: 51.78 kB / 460.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009109/0.09558, allocations: 279.3 kB / 461.1 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.09578, allocations: 127.5 kB / 461.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.09583, allocations: 4 kB / 461.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.09594, allocations: 51.81 kB / 461.3 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.09605, allocations: 67.73 kB / 461.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.09607, allocations: 4 kB / 461.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006437/0.09672, allocations: 407.2 kB / 461.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.09679, allocations: 39.88 kB / 461.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.09686, allocations: 35.75 kB / 461.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.09748, allocations: 0.5224 MB / 462.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.09749, allocations: 0 / 462.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.0975, allocations: 0 / 462.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.09752, allocations: 4 kB / 462.3 MB, free: 3.195 MB / 334.1 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.0004718/0.098, allocations: 452.8 kB / 462.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.09804, allocations: 11.89 kB / 462.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.09809, allocations: 12.75 kB / 462.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.09827, allocations: 188.2 kB / 463 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.09829, allocations: 384 / 463 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.09831, allocations: 12.06 kB / 463 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.09847, allocations: 97.64 kB / 463.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.09849, allocations: 0 / 463.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.0985, allocations: 0 / 463.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.09851, allocations: 0 / 463.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.257e-05/0.0986, allocations: 59.97 kB / 463.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.09876, allocations: 181.5 kB / 463.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.0989, allocations: 134.5 kB / 463.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.09902, allocations: 128.8 kB / 463.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.09903, allocations: 0 / 463.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.09906, allocations: 30.56 kB / 463.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 9.02e-07/0.09906, allocations: 0 / 463.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004163/0.09948, allocations: 291.5 kB / 463.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.09954, allocations: 93.09 kB / 464 MB, free: 1.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.902e-05/0.09965, allocations: 137.2 kB / 464.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.09967, allocations: 29.7 kB / 464.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.09973, allocations: 100.5 kB / 464.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.09979, allocations: 59.02 kB / 464.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.09984, allocations: 25.7 kB / 464.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.09995, allocations: 326.8 kB / 464.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.1, allocations: 55.91 kB / 464.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.451e-05/0.1001, allocations: 59.97 kB / 464.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.1003, allocations: 230.9 kB / 465 MB, free: 300 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1003, allocations: 4 kB / 465 MB, free: 296 kB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002405/0.1006, allocations: 223.1 kB / 465.2 MB, free: 60 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.1007, allocations: 61.72 kB / 465.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1007, allocations: 0 / 465.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1007, allocations: 7.922 kB / 465.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1007, allocations: 0 / 465.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1007, allocations: 0 / 465.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.1008, allocations: 11.94 kB / 465.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.1008, allocations: 8 kB / 465.3 MB, free: 15.96 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.1009, allocations: 183.4 kB / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.101, allocations: 15.81 kB / 465.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.48e-05/0.101, allocations: 17.19 kB / 465.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.101, allocations: 0 / 465.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.101, allocations: 3.938 kB / 465.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.101, allocations: 0 / 465.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.1011, allocations: 201.4 kB / 465.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1011, allocations: 0 / 465.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.1012, allocations: 0 / 465.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1012, allocations: 0 / 465.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1012, allocations: 4 kB / 465.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1012, allocations: 0 / 465.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1012, allocations: 0 / 465.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.1016, allocations: 396.7 kB / 466.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.1017, allocations: 92.86 kB / 466.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1017, allocations: 4 kB / 466.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.1017, allocations: 0 / 466.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.1018, allocations: 8 kB / 466.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1018, allocations: 8 kB / 466.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.571e-05/0.1018, allocations: 99.25 kB / 466.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1018, allocations: 4.031 kB / 466.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004229/0.1023, allocations: 136 kB / 466.4 MB, free: 14.71 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003922/0.1027, allocations: 182.4 kB / 466.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.1032, allocations: 0.5734 MB / 467.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1032, allocations: 0 / 467.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.1035, allocations: 463.3 kB / 467.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.1038, allocations: 36.03 kB / 467.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.1044, allocations: 426.4 kB / 468.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1047, allocations: 0.7158 MB / 468.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.1047, allocations: 11.44 kB / 468.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1047, allocations: 0 / 468.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of Templates: time 0.005216/0.1099, allocations: 3.104 MB / 471.9 MB, free: 9.141 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1)