Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, 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.592/1.592, allocations: 205.1 MB / 223.1 MB, free: 8.465 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.001293/0.001293, allocations: 101.2 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1963/0.1963, allocations: 38.01 MB / 355.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 47.92 kB / 421.9 MB, free: 37.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3066, allocations: 55.24 MB / 477.1 MB, free: 9.918 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003424/0.3101, allocations: 2.087 MB / 479.2 MB, free: 8.441 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007537/0.3109, allocations: 0.5736 MB / 479.8 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.3109, allocations: 0 / 479.8 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.3111, allocations: 12.84 kB / 479.8 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.3112, allocations: 26.12 kB / 479.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.3115, allocations: 59.09 kB / 479.9 MB, free: 8.008 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.3117, allocations: 116 kB / 480 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.3117, allocations: 3.297 kB / 480 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.3118, allocations: 30.31 kB / 480 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.3119, allocations: 27.69 kB / 480 MB, free: 7.953 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.3119, allocations: 1.469 kB / 480 MB, free: 7.953 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.312, allocations: 83.16 kB / 480.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.3121, allocations: 16.5 kB / 480.1 MB, free: 7.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.3121, allocations: 17.39 kB / 480.1 MB, free: 7.906 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.3124, allocations: 113 kB / 480.3 MB, free: 7.879 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3124, allocations: 4 kB / 480.3 MB, free: 7.875 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.3124, allocations: 0 / 480.3 MB, free: 7.875 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.3124, allocations: 1.344 kB / 480.3 MB, free: 7.875 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003963/0.3128, allocations: 404.6 kB / 480.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3128, allocations: 12.86 kB / 480.7 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.3129, allocations: 7.406 kB / 480.7 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.313, allocations: 181.7 kB / 480.8 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.313, allocations: 1.438 kB / 480.8 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.3131, allocations: 5.188 kB / 480.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3132, allocations: 63.3 kB / 480.9 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3132, allocations: 0 / 480.9 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3132, allocations: 1.219 kB / 480.9 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3132, allocations: 0 / 480.9 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.538e-05/0.3133, allocations: 33.52 kB / 480.9 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.3134, allocations: 165.9 kB / 481.1 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/0.3135, allocations: 52.31 kB / 481.2 MB, free: 6.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.3136, allocations: 48.36 kB / 481.2 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.3136, allocations: 13.84 kB / 481.2 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.3136, allocations: 35.62 kB / 481.3 MB, free: 6.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.3136, allocations: 0 / 481.3 MB, free: 6.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002671/0.3139, allocations: 183.9 kB / 481.4 MB, free: 6.801 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3139, allocations: 86.14 kB / 481.5 MB, free: 6.707 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/0.314, allocations: 124.4 kB / 481.6 MB, free: 6.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.314, allocations: 27.11 kB / 481.7 MB, free: 6.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.3141, allocations: 90.02 kB / 481.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.3141, allocations: 36.8 kB / 481.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.3142, allocations: 22.2 kB / 481.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.3142, allocations: 317.1 kB / 482.1 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/0.3143, allocations: 28.89 kB / 482.2 MB, free: 6.113 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.3143, allocations: 32.06 kB / 482.2 MB, free: 6.105 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3144, allocations: 156.6 kB / 482.3 MB, free: 6.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3145, allocations: 0 / 482.3 MB, free: 6.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001536/0.3146, allocations: 149.6 kB / 482.5 MB, free: 5.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.3147, allocations: 53.38 kB / 482.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3147, allocations: 0 / 482.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3147, allocations: 2.172 kB / 482.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.3147, allocations: 0 / 482.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3147, allocations: 0 / 482.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.3148, allocations: 10.62 kB / 482.5 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.3148, allocations: 4.781 kB / 482.6 MB, free: 5.891 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 9.099e-05/0.3149, allocations: 167.8 kB / 482.7 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.3149, allocations: 13.53 kB / 482.7 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.574e-05/0.3149, allocations: 11.7 kB / 482.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3149, allocations: 0 / 482.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3149, allocations: 0 / 482.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3149, allocations: 1.094 kB / 482.7 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.817e-05/0.315, allocations: 176 kB / 482.9 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.315, allocations: 5.156 kB / 482.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.315, allocations: 0 / 482.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3151, allocations: 0.6094 kB / 482.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3151, allocations: 3.406 kB / 482.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3151, allocations: 0.5156 kB / 482.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3151, allocations: 5.031 kB / 482.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.3156, allocations: 0.9133 MB / 483.8 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.3157, allocations: 88.56 kB / 483.9 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3157, allocations: 6.422 kB / 483.9 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.3157, allocations: 2.219 kB / 483.9 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.3157, allocations: 8.078 kB / 483.9 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.3158, allocations: 10.44 kB / 484 MB, free: 4.664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.3158, allocations: 105.5 kB / 484.1 MB, free: 4.574 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3158, allocations: 0 / 484.1 MB, free: 4.574 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.3162, allocations: 29.97 kB / 484.1 MB, free: 4.574 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.0001702/0.3163, allocations: 116.8 kB / 484.2 MB, free: 4.477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003979/0.3167, allocations: 290.2 kB / 484.5 MB, free: 4.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3168, allocations: 0 / 484.5 MB, free: 4.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.3169, allocations: 224.2 kB / 484.7 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3172, allocations: 17.14 kB / 484.7 MB, free: 4.207 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.3178, allocations: 431.8 kB / 485.1 MB, free: 3.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3179, allocations: 0.7064 MB / 485.8 MB, free: 3.211 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.622e-05/0.3179, allocations: 2.031 kB / 485.9 MB, free: 3.211 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.235e-06/0.318, allocations: 7.438 kB / 485.9 MB, free: 3.203 MB / 314.7 MB Notification: Performance of SimCode: time 3.1e-07/0.318, allocations: 0 / 485.9 MB, free: 3.203 MB / 314.7 MB Notification: Performance of Templates: time 0.003962/0.3219, allocations: 1.288 MB / 487.1 MB, free: 3.082 MB / 314.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches