Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001141, allocations: 110.8 kB / 17.73 MB, free: 5.445 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.001132/0.001132, allocations: 184.5 kB / 18.66 MB, free: 4.523 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.353/1.353, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1914/0.1914, allocations: 38.03 MB / 330.5 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 63.91 kB / 458.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3316, allocations: 58.05 MB / 0.5048 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005428/0.3371, allocations: 4.562 MB / 0.5092 GB, free: 4.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3391, allocations: 1.305 MB / 0.5105 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.3394, allocations: 16.97 kB / 0.5105 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.3405, allocations: 405.4 kB / 0.5109 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005979/0.3411, allocations: 255.8 kB / 0.5111 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.3416, allocations: 159.4 kB / 0.5113 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.3423, allocations: 0.5679 MB / 0.5118 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004431/0.3427, allocations: 287.1 kB / 0.5121 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.3431, allocations: 258.8 kB / 0.5124 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.3436, allocations: 275 kB / 0.5126 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.3437, allocations: 30.75 kB / 0.5126 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.344, allocations: 138.1 kB / 0.5128 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.3442, allocations: 194.8 kB / 0.513 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.3444, allocations: 212.9 kB / 0.5132 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006745/0.3451, allocations: 0.5196 MB / 0.5137 GB, free: 2.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.3451, allocations: 0 / 0.5137 GB, free: 2.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3451, allocations: 1.766 kB / 0.5137 GB, free: 2.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3451, allocations: 0 / 0.5137 GB, free: 2.152 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001154/0.3463, allocations: 0.7011 MB / 0.5144 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3463, allocations: 13.48 kB / 0.5144 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006228/0.347, allocations: 83.61 kB / 0.5145 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.3476, allocations: 414.8 kB / 0.5148 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.3476, allocations: 27.62 kB / 0.5149 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.3478, allocations: 46.17 kB / 0.5149 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.3485, allocations: 482.7 kB / 0.5154 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.3485, allocations: 5.156 kB / 0.5154 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.3486, allocations: 14.84 kB / 0.5154 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.3487, allocations: 26 kB / 0.5154 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000563/0.3493, allocations: 352.9 kB / 0.5158 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.3515, allocations: 1.722 MB / 0.5174 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.3518, allocations: 151.2 kB / 0.5176 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.352, allocations: 110.6 kB / 0.5177 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3521, allocations: 5.562 kB / 0.5177 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.3521, allocations: 36.89 kB / 0.5177 GB, free: 15.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.3521, allocations: 4.438 kB / 0.5177 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001761/0.3539, allocations: 0.8869 MB / 0.5186 GB, free: 14.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.3539, allocations: 84.33 kB / 0.5187 GB, free: 14.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.3543, allocations: 315.8 kB / 0.519 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.3543, allocations: 33.64 kB / 0.519 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.3545, allocations: 245.2 kB / 0.5193 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.3546, allocations: 62.45 kB / 0.5193 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.3547, allocations: 57.94 kB / 0.5194 GB, free: 14.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3548, allocations: 343.7 kB / 0.5197 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.355, allocations: 98.47 kB / 0.5198 GB, free: 13.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.3552, allocations: 207.1 kB / 0.52 GB, free: 13.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.3557, allocations: 330.1 kB / 0.5203 GB, free: 13.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3557, allocations: 1.25 kB / 0.5203 GB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009522/0.3566, allocations: 478.3 kB / 0.5208 GB, free: 13.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3567, allocations: 6.812 kB / 0.5208 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006622/0.3573, allocations: 314.4 kB / 0.5211 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000511/0.3578, allocations: 141.1 kB / 0.5212 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.3581, allocations: 59.55 kB / 0.5213 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.3609, allocations: 2.427 MB / 0.5236 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.3612, allocations: 17.16 kB / 0.5236 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.3612, allocations: 15.69 kB / 0.5237 GB, free: 11.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.3615, allocations: 196.3 kB / 0.5238 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.3615, allocations: 33.16 kB / 0.5239 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/0.362, allocations: 263.8 kB / 0.5241 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3621, allocations: 2.25 kB / 0.5241 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3621, allocations: 0 / 0.5241 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3621, allocations: 1.766 kB / 0.5241 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3633, allocations: 0.7387 MB / 0.5249 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3633, allocations: 1.812 kB / 0.5249 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.3635, allocations: 40.44 kB / 0.5249 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.3636, allocations: 32.67 kB / 0.5249 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.3637, allocations: 8.75 kB / 0.5249 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.3637, allocations: 2.203 kB / 0.5249 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3637, allocations: 5.188 kB / 0.5249 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.3643, allocations: 450 kB / 0.5254 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.3644, allocations: 103.9 kB / 0.5255 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.3644, allocations: 3.875 kB / 0.5255 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.3646, allocations: 10.8 kB / 0.5255 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.3646, allocations: 26.09 kB / 0.5255 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3646, allocations: 9.5 kB / 0.5255 GB, free: 10.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.3649, allocations: 219.2 kB / 0.5257 GB, free: 9.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3649, allocations: 0 / 0.5257 GB, free: 9.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005737/0.3655, allocations: 86.56 kB / 0.5258 GB, free: 9.898 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001347/0.3656, allocations: 100.8 kB / 0.5259 GB, free: 9.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000796/0.3664, allocations: 410.6 kB / 0.5263 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3664, allocations: 0 / 0.5263 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.3666, allocations: 184.3 kB / 0.5265 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.3672, allocations: 72.2 kB / 0.5265 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3686, allocations: 0.9063 MB / 0.5274 GB, free: 8.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.3691, allocations: 0.8369 MB / 0.5282 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.3692, allocations: 25.33 kB / 0.5283 GB, free: 8.137 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3692, allocations: 0 / 0.5283 GB, free: 8.137 MB / 398.1 MB Notification: Performance of Templates: time 0.009289/0.3785, allocations: 5.741 MB / 0.5339 GB, free: 6.008 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches