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.001652/0.001652, allocations: 108.1 kB / 17.06 MB, free: 6.137 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.001852/0.001852, allocations: 187.1 kB / 18 MB, free: 5.219 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.431/1.431, 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.1847/0.1847, allocations: 38.05 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 63.91 kB / 458.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4092, allocations: 58.04 MB / 0.5041 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005436/0.4147, allocations: 4.558 MB / 0.5086 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.4168, allocations: 1.317 MB / 0.5098 GB, free: 3.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.417, allocations: 13.12 kB / 0.5098 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.4183, allocations: 407.6 kB / 0.5102 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006248/0.4189, allocations: 252.9 kB / 0.5105 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.4195, allocations: 171.8 kB / 0.5106 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007985/0.4203, allocations: 0.5572 MB / 0.5112 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005047/0.4208, allocations: 288.3 kB / 0.5115 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004246/0.4212, allocations: 262.6 kB / 0.5117 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000559/0.4218, allocations: 280.7 kB / 0.512 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.4219, allocations: 29.62 kB / 0.512 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.4222, allocations: 125.8 kB / 0.5121 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.4225, allocations: 194.2 kB / 0.5123 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.4227, allocations: 218.1 kB / 0.5125 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007045/0.4234, allocations: 0.5098 MB / 0.513 GB, free: 2.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4234, allocations: 0.7969 kB / 0.513 GB, free: 2.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4234, allocations: 5.094 kB / 0.513 GB, free: 2.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.4234, allocations: 0 / 0.513 GB, free: 2.465 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.001137/0.4246, allocations: 0.697 MB / 0.5137 GB, free: 1.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4246, allocations: 17.77 kB / 0.5137 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006055/0.4252, allocations: 87.53 kB / 0.5138 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006216/0.4259, allocations: 410.1 kB / 0.5142 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.4259, allocations: 27.84 kB / 0.5142 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.4261, allocations: 50.58 kB / 0.5143 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007459/0.4268, allocations: 478.4 kB / 0.5147 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.4268, allocations: 5 kB / 0.5147 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.4269, allocations: 11.25 kB / 0.5147 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.427, allocations: 29.14 kB / 0.5148 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005978/0.4276, allocations: 352.4 kB / 0.5151 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.4302, allocations: 1.723 MB / 0.5168 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.4306, allocations: 160.1 kB / 0.5169 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.4309, allocations: 110.8 kB / 0.517 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.431, allocations: 5.531 kB / 0.5171 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.431, allocations: 37.31 kB / 0.5171 GB, free: 15.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 2.405e-06/0.431, allocations: 0 / 0.5171 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.002191/0.4332, allocations: 0.8921 MB / 0.518 GB, free: 15.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.4333, allocations: 79.33 kB / 0.518 GB, free: 15.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.4338, allocations: 311.3 kB / 0.5183 GB, free: 14.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.4338, allocations: 27.05 kB / 0.5184 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.4341, allocations: 249.2 kB / 0.5186 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.4341, allocations: 70.12 kB / 0.5187 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.4343, allocations: 62.22 kB / 0.5187 GB, free: 14.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4344, allocations: 344 kB / 0.5191 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.4346, allocations: 98.23 kB / 0.5191 GB, free: 14.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.4348, allocations: 202.6 kB / 0.5193 GB, free: 14.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.4353, allocations: 334.5 kB / 0.5197 GB, free: 13.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4353, allocations: 0.9375 kB / 0.5197 GB, free: 13.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009374/0.4362, allocations: 468.1 kB / 0.5201 GB, free: 13.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4362, allocations: 7 kB / 0.5201 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006872/0.4369, allocations: 314.5 kB / 0.5204 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/0.4375, allocations: 140.8 kB / 0.5205 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.4378, allocations: 52.5 kB / 0.5206 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.441, allocations: 2.437 MB / 0.523 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.4412, allocations: 16.77 kB / 0.523 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.4412, allocations: 15.28 kB / 0.523 GB, free: 11.55 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.0002691/0.4415, allocations: 192.6 kB / 0.5232 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.4416, allocations: 29.75 kB / 0.5232 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000542/0.4421, allocations: 269.8 kB / 0.5235 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4421, allocations: 2.75 kB / 0.5235 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4422, allocations: 0 / 0.5235 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4422, allocations: 6.5 kB / 0.5235 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.4435, allocations: 0.7348 MB / 0.5242 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4435, allocations: 2.031 kB / 0.5242 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.4438, allocations: 36.2 kB / 0.5242 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.4439, allocations: 41.06 kB / 0.5243 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.4439, allocations: 4.016 kB / 0.5243 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4439, allocations: 1.375 kB / 0.5243 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4439, allocations: 1.938 kB / 0.5243 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006462/0.4446, allocations: 453.2 kB / 0.5247 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.4447, allocations: 107.2 kB / 0.5248 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.4448, allocations: 8.562 kB / 0.5248 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.4449, allocations: 7.094 kB / 0.5248 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.445, allocations: 22.25 kB / 0.5249 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.445, allocations: 5.391 kB / 0.5249 GB, free: 10.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002627/0.4453, allocations: 223.4 kB / 0.5251 GB, free: 10.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4453, allocations: 0 / 0.5251 GB, free: 10.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000497/0.4458, allocations: 81.56 kB / 0.5252 GB, free: 10.21 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.0001351/0.4459, allocations: 110.7 kB / 0.5253 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.4467, allocations: 415.5 kB / 0.5257 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4467, allocations: 0 / 0.5257 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.4469, allocations: 179.4 kB / 0.5258 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.4474, allocations: 62.78 kB / 0.5259 GB, free: 9.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.449, allocations: 0.858 MB / 0.5267 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.4495, allocations: 0.849 MB / 0.5276 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.4497, allocations: 67.7 kB / 0.5276 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.23e-05/0.4497, allocations: 22.5 kB / 0.5276 GB, free: 8.473 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4497, allocations: 1.219 kB / 0.5276 GB, free: 8.473 MB / 398.1 MB Notification: Performance of Templates: time 0.008446/0.4582, allocations: 3.881 MB / 0.5314 GB, free: 7.387 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