Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_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.001445/0.001445, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001635/0.001635, allocations: 187.1 kB / 18.67 MB, free: 4.422 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.413/1.413, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1825/0.1825, allocations: 38.04 MB / 330.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 458.8 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.334, allocations: 58.05 MB / 0.5048 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003076/0.3371, allocations: 2.159 MB / 0.5069 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.3385, allocations: 1.06 MB / 0.5079 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.3385, allocations: 0 / 0.5079 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.3387, allocations: 19.62 kB / 0.5079 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.3388, allocations: 54.39 kB / 0.508 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008672/0.3397, allocations: 287 kB / 0.5083 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.3399, allocations: 120.8 kB / 0.5084 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.3399, allocations: 4.609 kB / 0.5084 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.962e-05/0.34, allocations: 48.09 kB / 0.5084 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3402, allocations: 71.88 kB / 0.5085 GB, free: 5.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.3402, allocations: 2.344 kB / 0.5085 GB, free: 5.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006264/0.3408, allocations: 410.7 kB / 0.5089 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.3409, allocations: 36.8 kB / 0.5089 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.3409, allocations: 37.95 kB / 0.509 GB, free: 5.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.3416, allocations: 0.5225 MB / 0.5095 GB, free: 5.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3416, allocations: 0.6562 kB / 0.5095 GB, free: 5.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3416, allocations: 1.281 kB / 0.5095 GB, free: 5.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3416, allocations: 0 / 0.5095 GB, free: 5.164 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00037/0.342, allocations: 465.7 kB / 0.5099 GB, free: 4.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.342, allocations: 13.97 kB / 0.5099 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.3421, allocations: 14.44 kB / 0.5099 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3422, allocations: 186.1 kB / 0.5101 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.3422, allocations: 1.5 kB / 0.5101 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.3422, allocations: 11.25 kB / 0.5101 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3424, allocations: 98.58 kB / 0.5102 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.3424, allocations: 0 / 0.5102 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3424, allocations: 1.156 kB / 0.5102 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3424, allocations: 1.734 kB / 0.5102 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.207e-05/0.3425, allocations: 66.42 kB / 0.5103 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.3427, allocations: 184.6 kB / 0.5105 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.3428, allocations: 128.8 kB / 0.5106 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3429, allocations: 126.7 kB / 0.5107 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.3429, allocations: 1.25 kB / 0.5107 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.3429, allocations: 32.36 kB / 0.5107 GB, free: 4.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.3429, allocations: 3.938 kB / 0.5107 GB, free: 4.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004967/0.3434, allocations: 294.2 kB / 0.511 GB, free: 3.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3435, allocations: 91.89 kB / 0.5111 GB, free: 3.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.3436, allocations: 136.9 kB / 0.5112 GB, free: 3.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.3436, allocations: 30.89 kB / 0.5113 GB, free: 3.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.3436, allocations: 93.56 kB / 0.5114 GB, free: 3.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.3437, allocations: 57.25 kB / 0.5114 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.3438, allocations: 26.78 kB / 0.5114 GB, free: 3.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.3438, allocations: 322.2 kB / 0.5118 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.659e-05/0.3439, allocations: 57.58 kB / 0.5118 GB, free: 3.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.737e-05/0.344, allocations: 62.55 kB / 0.5119 GB, free: 3.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.3442, allocations: 227.5 kB / 0.5121 GB, free: 3.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3442, allocations: 4.031 kB / 0.5121 GB, free: 3.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000234/0.3444, allocations: 227.2 kB / 0.5123 GB, free: 2.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.3445, allocations: 55.36 kB / 0.5124 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3445, allocations: 1.156 kB / 0.5124 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3445, allocations: 1.172 kB / 0.5124 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.3445, allocations: 0 / 0.5124 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3445, allocations: 1.219 kB / 0.5124 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.3446, allocations: 12.41 kB / 0.5124 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3446, allocations: 6.578 kB / 0.5124 GB, free: 2.922 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.0001083/0.3447, allocations: 184.1 kB / 0.5126 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.3448, allocations: 13.34 kB / 0.5126 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.68e-05/0.3448, allocations: 13.94 kB / 0.5126 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3448, allocations: 0 / 0.5126 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3448, allocations: 0.7969 kB / 0.5126 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3448, allocations: 1.094 kB / 0.5126 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.3449, allocations: 197.8 kB / 0.5128 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3449, allocations: 0.9375 kB / 0.5128 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.3449, allocations: 0.5625 kB / 0.5128 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3449, allocations: 1.281 kB / 0.5128 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.345, allocations: 4.969 kB / 0.5128 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.345, allocations: 5.281 kB / 0.5128 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.345, allocations: 0 / 0.5128 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.3454, allocations: 392.3 kB / 0.5132 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.3454, allocations: 93.56 kB / 0.5132 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3454, allocations: 14.77 kB / 0.5133 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.8e-05/0.3455, allocations: 3.688 kB / 0.5133 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.3455, allocations: 7.016 kB / 0.5133 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3455, allocations: 10.66 kB / 0.5133 GB, free: 2.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.3456, allocations: 107.3 kB / 0.5134 GB, free: 2.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3456, allocations: 0 / 0.5134 GB, free: 2.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.3461, allocations: 134.3 kB / 0.5135 GB, free: 2.148 MB / 382.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.0003763/0.3465, allocations: 181.1 kB / 0.5137 GB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004945/0.347, allocations: 0.5647 MB / 0.5142 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.347, allocations: 0 / 0.5142 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.3473, allocations: 476.3 kB / 0.5147 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.3475, allocations: 22.59 kB / 0.5147 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.3481, allocations: 417 kB / 0.5151 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.3483, allocations: 0.7199 MB / 0.5158 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.233e-05/0.3483, allocations: 12.94 kB / 0.5158 GB, free: 496 kB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3483, allocations: 0 / 0.5158 GB, free: 496 kB / 382.1 MB Notification: Performance of Templates: time 0.005836/0.3541, allocations: 3.095 MB / 0.5188 GB, free: 256 kB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches