Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 109.2 kB / 17.75 MB, free: 5.309 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.001542/0.001542, allocations: 188.3 kB / 18.67 MB, free: 4.395 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1683/0.1683, allocations: 38.04 MB / 330.6 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.89 kB / 458.8 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3214, allocations: 58.06 MB / 0.5048 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.00276/0.3242, allocations: 2.048 MB / 0.5068 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006025/0.3248, allocations: 0.5234 MB / 0.5073 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.3249, allocations: 1.062 kB / 0.5073 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.325, allocations: 9.797 kB / 0.5073 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.3251, allocations: 28.89 kB / 0.5073 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.3254, allocations: 67.38 kB / 0.5074 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3255, allocations: 58.86 kB / 0.5075 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.3256, allocations: 4.359 kB / 0.5075 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.3257, allocations: 28.97 kB / 0.5075 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.3257, allocations: 31.58 kB / 0.5075 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.3257, allocations: 1.125 kB / 0.5075 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.3259, allocations: 75.59 kB / 0.5076 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.326, allocations: 31.45 kB / 0.5076 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.326, allocations: 32.39 kB / 0.5076 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3262, allocations: 123.1 kB / 0.5078 GB, free: 5.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3262, allocations: 5.156 kB / 0.5078 GB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3262, allocations: 0 / 0.5078 GB, free: 5.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3262, allocations: 0 / 0.5078 GB, free: 5.797 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003418/0.3266, allocations: 435.9 kB / 0.5082 GB, free: 5.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3266, allocations: 13.09 kB / 0.5082 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.3267, allocations: 8.25 kB / 0.5082 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.3268, allocations: 192.1 kB / 0.5084 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3268, allocations: 1.531 kB / 0.5084 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.3268, allocations: 5.312 kB / 0.5084 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.327, allocations: 91.89 kB / 0.5085 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.327, allocations: 0 / 0.5085 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.327, allocations: 1.094 kB / 0.5085 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.327, allocations: 0 / 0.5085 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.008e-05/0.3271, allocations: 60.53 kB / 0.5085 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.3272, allocations: 184 kB / 0.5087 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/0.3273, allocations: 96.92 kB / 0.5088 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/0.3274, allocations: 91.2 kB / 0.5089 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.3274, allocations: 4 kB / 0.5089 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.3274, allocations: 32.11 kB / 0.5089 GB, free: 4.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.022e-06/0.3274, allocations: 0 / 0.5089 GB, free: 4.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003883/0.3278, allocations: 301.2 kB / 0.5092 GB, free: 4.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3279, allocations: 97.94 kB / 0.5093 GB, free: 4.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.328, allocations: 136.5 kB / 0.5094 GB, free: 4.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.328, allocations: 26.92 kB / 0.5095 GB, free: 4.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.328, allocations: 97.83 kB / 0.5096 GB, free: 4.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.3281, allocations: 83.78 kB / 0.5096 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3281, allocations: 25.88 kB / 0.5097 GB, free: 4.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.3282, allocations: 328 kB / 0.51 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.3282, allocations: 57.06 kB / 0.51 GB, free: 3.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.512e-05/0.3283, allocations: 55.89 kB / 0.5101 GB, free: 3.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.3285, allocations: 248.2 kB / 0.5103 GB, free: 3.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3285, allocations: 0 / 0.5103 GB, free: 3.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002316/0.3288, allocations: 227.3 kB / 0.5105 GB, free: 3.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/0.3288, allocations: 72.23 kB / 0.5106 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3288, allocations: 0 / 0.5106 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3289, allocations: 0 / 0.5106 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.3289, allocations: 1.766 kB / 0.5106 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3289, allocations: 0 / 0.5106 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.3289, allocations: 16.59 kB / 0.5106 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.3289, allocations: 5.359 kB / 0.5106 GB, free: 3.609 MB / 382.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.0001211/0.3291, allocations: 194.4 kB / 0.5108 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.3291, allocations: 16.59 kB / 0.5108 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.3291, allocations: 15.52 kB / 0.5108 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.3291, allocations: 0 / 0.5108 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3291, allocations: 1.031 kB / 0.5108 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.3292, allocations: 93.3 kB / 0.5109 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.3292, allocations: 3.875 kB / 0.5109 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.585e-05/0.3292, allocations: 4.703 kB / 0.5109 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.3292, allocations: 5.25 kB / 0.511 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006209/0.3299, allocations: 0.7129 MB / 0.5116 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005371/0.3304, allocations: 0.6461 MB / 0.5123 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002627/0.3307, allocations: 397.7 kB / 0.5127 GB, free: 2.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.3307, allocations: 105.3 kB / 0.5128 GB, free: 2.41 MB / 382.1 MB Notification: Performance of Backend: time 2.5e-07/0.3308, allocations: 0 / 0.5128 GB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007617/0.3315, allocations: 0.6599 MB / 0.5134 GB, free: 2.039 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006331/0.3322, allocations: 0.8817 MB / 0.5143 GB, free: 1.32 MB / 382.1 MB Notification: Performance of Templates: time 0.005204/0.3374, allocations: 1.957 MB / 0.5162 GB, free: 1.148 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches