Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001872/0.001872, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.566/1.566, allocations: 205.1 MB / 223.1 MB, free: 8.453 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.001196/0.001196, allocations: 102.3 kB / 270.5 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1855/0.1855, allocations: 38 MB / 355.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 47.92 kB / 421.9 MB, free: 37.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3089, allocations: 55.24 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003228/0.3122, allocations: 2.091 MB / 479.2 MB, free: 8.434 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007634/0.313, allocations: 0.576 MB / 479.8 MB, free: 8.039 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.313, allocations: 1.062 kB / 479.8 MB, free: 8.039 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.3132, allocations: 9.203 kB / 479.8 MB, free: 8.035 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/0.3133, allocations: 29.44 kB / 479.8 MB, free: 8.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.3135, allocations: 59.94 kB / 479.9 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.3137, allocations: 112.7 kB / 480 MB, free: 7.969 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.3138, allocations: 5.953 kB / 480 MB, free: 7.965 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.574e-05/0.3138, allocations: 27.45 kB / 480 MB, free: 7.953 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.912e-05/0.3139, allocations: 34.55 kB / 480 MB, free: 7.941 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3139, allocations: 1.469 kB / 480 MB, free: 7.941 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.3141, allocations: 78.39 kB / 480.1 MB, free: 7.914 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.3142, allocations: 42.14 kB / 480.2 MB, free: 7.902 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.3143, allocations: 50.3 kB / 480.2 MB, free: 7.863 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.3145, allocations: 150.9 kB / 480.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3145, allocations: 0 / 480.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3145, allocations: 0 / 480.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3146, allocations: 1.188 kB / 480.3 MB, free: 7.82 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.0003654/0.3149, allocations: 477.1 kB / 480.8 MB, free: 7.375 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.315, allocations: 10 kB / 480.8 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.315, allocations: 17.16 kB / 480.8 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3152, allocations: 207.9 kB / 481 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-06/0.3152, allocations: 3.938 kB / 481 MB, free: 7.133 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3152, allocations: 9.031 kB / 481.1 MB, free: 7.125 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3154, allocations: 126.4 kB / 481.2 MB, free: 7.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.3154, allocations: 3.938 kB / 481.2 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.3154, allocations: 1.156 kB / 481.2 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3154, allocations: 0 / 481.2 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.707e-05/0.3155, allocations: 90.97 kB / 481.3 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.3157, allocations: 200.2 kB / 481.5 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.3158, allocations: 157 kB / 481.6 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3159, allocations: 146.7 kB / 481.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.3159, allocations: 0 / 481.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.3159, allocations: 32.41 kB / 481.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.032e-06/0.3159, allocations: 0 / 481.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005123/0.3165, allocations: 482.4 kB / 482.3 MB, free: 6.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.3165, allocations: 109.8 kB / 482.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.3166, allocations: 144.5 kB / 482.5 MB, free: 6.266 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.3166, allocations: 31.11 kB / 482.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.3167, allocations: 95.53 kB / 482.6 MB, free: 6.137 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/0.3168, allocations: 129.7 kB / 482.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.3168, allocations: 31.91 kB / 482.8 MB, free: 6.016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.3169, allocations: 336.1 kB / 483.1 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.317, allocations: 97.62 kB / 483.2 MB, free: 5.664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.317, allocations: 89.28 kB / 483.3 MB, free: 5.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.3173, allocations: 365 kB / 483.7 MB, free: 5.516 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3173, allocations: 4.031 kB / 483.7 MB, free: 5.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002936/0.3176, allocations: 323.5 kB / 484 MB, free: 5.387 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.956e-05/0.3177, allocations: 86.78 kB / 484.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3177, allocations: 0 / 484.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3178, allocations: 0 / 484.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.3178, allocations: 1.719 kB / 484.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3178, allocations: 1.453 kB / 484.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.3178, allocations: 19.12 kB / 484.1 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3178, allocations: 7.375 kB / 484.1 MB, free: 5.336 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.318, allocations: 243.8 kB / 484.3 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.3181, allocations: 28.08 kB / 484.4 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.468e-05/0.3181, allocations: 15.12 kB / 484.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3181, allocations: 0.6562 kB / 484.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3181, allocations: 1.375 kB / 484.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3181, allocations: 0 / 484.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.3182, allocations: 238.5 kB / 484.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3182, allocations: 0 / 484.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.3182, allocations: 1.375 kB / 484.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3183, allocations: 0 / 484.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.3183, allocations: 7.812 kB / 484.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3183, allocations: 8 kB / 484.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3183, allocations: 0 / 484.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.3196, allocations: 1.765 MB / 486.4 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.3197, allocations: 99.14 kB / 486.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.3197, allocations: 6.875 kB / 486.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.506e-05/0.3198, allocations: 10 kB / 486.5 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.3198, allocations: 15.38 kB / 486.5 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3198, allocations: 5.5 kB / 486.5 MB, free: 3.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.926e-05/0.3199, allocations: 113 kB / 486.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3199, allocations: 1.375 kB / 486.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003912/0.3203, allocations: 61.12 kB / 486.7 MB, free: 3.797 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 (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.0001643/0.3205, allocations: 114.6 kB / 486.8 MB, free: 3.707 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.3217, allocations: 1.583 MB / 488.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3217, allocations: 4.062 kB / 488.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009085/0.3226, allocations: 1.367 MB / 489.8 MB, free: 2.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.3229, allocations: 20.61 kB / 489.8 MB, free: 2.102 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.3239, allocations: 0.9415 MB / 490.7 MB, free: 1.602 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.3241, allocations: 0.7583 MB / 491.5 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.228e-05/0.3242, allocations: 1.859 kB / 491.5 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.3242, allocations: 9.594 kB / 491.5 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3242, allocations: 0 / 491.5 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of Templates: time 0.006145/0.3303, allocations: 2.643 MB / 494.1 MB, free: 0.668 MB / 314.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches