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.001539/0.001539, allocations: 108.3 kB / 17.06 MB, free: 6.023 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.001472/0.001472, allocations: 192 kB / 17.99 MB, free: 5.109 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.402/1.402, allocations: 222.9 MB / 241.7 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.1785/0.1785, allocations: 38.03 MB / 329.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3338, allocations: 58.06 MB / 0.5041 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004871/0.3387, allocations: 4.56 MB / 0.5086 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3404, allocations: 1.307 MB / 0.5098 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.3406, allocations: 13.12 kB / 0.5098 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.3417, allocations: 411 kB / 0.5102 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.3422, allocations: 257.2 kB / 0.5105 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.3426, allocations: 166.9 kB / 0.5106 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.3432, allocations: 0.5535 MB / 0.5112 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.3436, allocations: 285.2 kB / 0.5115 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.344, allocations: 262.6 kB / 0.5117 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.3444, allocations: 285.1 kB / 0.512 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.6e-05/0.3445, allocations: 30.19 kB / 0.512 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.3447, allocations: 125.2 kB / 0.5121 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.3449, allocations: 194.3 kB / 0.5123 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.3451, allocations: 218 kB / 0.5125 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.3457, allocations: 0.5119 MB / 0.513 GB, free: 2.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3457, allocations: 4 kB / 0.513 GB, free: 2.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3457, allocations: 1.281 kB / 0.513 GB, free: 2.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.3457, allocations: 0.75 kB / 0.513 GB, free: 2.215 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.0009712/0.3467, allocations: 0.6966 MB / 0.5137 GB, free: 1.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3468, allocations: 13.7 kB / 0.5137 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000588/0.3474, allocations: 83.08 kB / 0.5138 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006734/0.348, allocations: 423.5 kB / 0.5142 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.3481, allocations: 22.81 kB / 0.5142 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.3482, allocations: 46.81 kB / 0.5143 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.3489, allocations: 482.3 kB / 0.5147 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3489, allocations: 5.25 kB / 0.5147 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.349, allocations: 11.66 kB / 0.5147 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.3491, allocations: 32.64 kB / 0.5148 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/0.3496, allocations: 348.6 kB / 0.5151 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.3518, allocations: 1.72 MB / 0.5168 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.3521, allocations: 160.6 kB / 0.5169 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.3523, allocations: 108.6 kB / 0.517 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3523, allocations: 6.953 kB / 0.517 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3523, allocations: 36.34 kB / 0.5171 GB, free: 15.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.3523, allocations: 0 / 0.5171 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001607/0.354, allocations: 0.8916 MB / 0.518 GB, free: 14.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.354, allocations: 79.92 kB / 0.518 GB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.3543, allocations: 314.1 kB / 0.5183 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3544, allocations: 30.98 kB / 0.5184 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.3545, allocations: 253.7 kB / 0.5186 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.3546, allocations: 65.78 kB / 0.5187 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.481e-05/0.3547, allocations: 54.61 kB / 0.5187 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3548, allocations: 348 kB / 0.519 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.355, allocations: 98.55 kB / 0.5191 GB, free: 13.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.3552, allocations: 202.1 kB / 0.5193 GB, free: 13.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.3557, allocations: 331.5 kB / 0.5197 GB, free: 13.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3557, allocations: 1.156 kB / 0.5197 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000934/0.3566, allocations: 471.2 kB / 0.5201 GB, free: 13.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3566, allocations: 6.469 kB / 0.5201 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006539/0.3573, allocations: 313.6 kB / 0.5204 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/0.3578, allocations: 145.4 kB / 0.5205 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.358, allocations: 59.2 kB / 0.5206 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.3608, allocations: 2.435 MB / 0.523 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.361, allocations: 17.48 kB / 0.523 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.3611, allocations: 13.62 kB / 0.523 GB, free: 11.3 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.0002264/0.3613, allocations: 185.4 kB / 0.5232 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.3614, allocations: 28.61 kB / 0.5232 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.3618, allocations: 267.9 kB / 0.5235 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3619, allocations: 6.078 kB / 0.5235 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3619, allocations: 5.312 kB / 0.5235 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3619, allocations: 2.125 kB / 0.5235 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3631, allocations: 0.738 MB / 0.5242 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3631, allocations: 1.922 kB / 0.5242 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.3633, allocations: 39.47 kB / 0.5242 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/0.3634, allocations: 37.7 kB / 0.5243 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3635, allocations: 3.609 kB / 0.5243 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3635, allocations: 3.109 kB / 0.5243 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3635, allocations: 1.719 kB / 0.5243 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.364, allocations: 448.9 kB / 0.5247 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.3641, allocations: 104.3 kB / 0.5248 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.3642, allocations: 7.328 kB / 0.5248 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3644, allocations: 10.81 kB / 0.5248 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.3644, allocations: 22.02 kB / 0.5249 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3644, allocations: 6.156 kB / 0.5249 GB, free: 10.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.3646, allocations: 218.4 kB / 0.5251 GB, free: 9.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3646, allocations: 4 kB / 0.5251 GB, free: 9.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004748/0.3651, allocations: 86.5 kB / 0.5252 GB, free: 9.961 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.0001076/0.3652, allocations: 101 kB / 0.5252 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007114/0.366, allocations: 411.2 kB / 0.5256 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.366, allocations: 0 / 0.5256 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.3662, allocations: 179.6 kB / 0.5258 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.3667, allocations: 71.89 kB / 0.5259 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3681, allocations: 0.8611 MB / 0.5267 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.3685, allocations: 0.8421 MB / 0.5275 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.3687, allocations: 62.08 kB / 0.5276 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.3687, allocations: 28.55 kB / 0.5276 GB, free: 8.227 MB / 398.1 MB Notification: Performance of SimCode: time 1.442e-06/0.3687, allocations: 0 / 0.5276 GB, free: 8.227 MB / 398.1 MB Notification: Performance of Templates: time 0.007969/0.3767, allocations: 3.881 MB / 0.5314 GB, free: 7.133 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches