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.001598/0.001598, allocations: 106.2 kB / 17.06 MB, free: 6.098 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.002418/0.002418, allocations: 200.1 kB / 18 MB, free: 5.168 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.514/1.514, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2001/0.2001, allocations: 38.04 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.89 kB / 458.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3855, allocations: 58.05 MB / 0.5041 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005429/0.391, allocations: 4.565 MB / 0.5086 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.393, allocations: 1.314 MB / 0.5099 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.3934, allocations: 13.28 kB / 0.5099 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.3946, allocations: 396.6 kB / 0.5102 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007966/0.3954, allocations: 260.8 kB / 0.5105 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.3961, allocations: 166.4 kB / 0.5106 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009085/0.397, allocations: 0.553 MB / 0.5112 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005711/0.3976, allocations: 282.9 kB / 0.5115 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005939/0.3982, allocations: 257.3 kB / 0.5117 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007161/0.3989, allocations: 279.8 kB / 0.512 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.576e-05/0.399, allocations: 30.09 kB / 0.512 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.3994, allocations: 126 kB / 0.5121 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.3997, allocations: 201.7 kB / 0.5123 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004108/0.4002, allocations: 213.7 kB / 0.5125 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008999/0.4011, allocations: 0.5142 MB / 0.513 GB, free: 2.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4011, allocations: 4 kB / 0.513 GB, free: 2.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4011, allocations: 1.281 kB / 0.513 GB, free: 2.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.4011, allocations: 0 / 0.513 GB, free: 2.191 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.001648/0.4028, allocations: 0.7084 MB / 0.5137 GB, free: 1.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4028, allocations: 13.67 kB / 0.5137 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007038/0.4035, allocations: 87.77 kB / 0.5138 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/0.4044, allocations: 414.9 kB / 0.5142 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.4045, allocations: 31.41 kB / 0.5142 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.4046, allocations: 54.19 kB / 0.5143 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/0.4055, allocations: 474.4 kB / 0.5147 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.4055, allocations: 5.219 kB / 0.5147 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.4055, allocations: 16.19 kB / 0.5148 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.4056, allocations: 31.84 kB / 0.5148 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.4063, allocations: 358 kB / 0.5151 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.4088, allocations: 1.724 MB / 0.5168 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.4092, allocations: 147.2 kB / 0.517 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.4094, allocations: 113.7 kB / 0.5171 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.4095, allocations: 10.95 kB / 0.5171 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.4095, allocations: 32.22 kB / 0.5171 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 3.257e-06/0.4095, allocations: 0 / 0.5171 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.002201/0.4117, allocations: 0.8943 MB / 0.518 GB, free: 14.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.4118, allocations: 80.16 kB / 0.5181 GB, free: 14.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.4123, allocations: 310.3 kB / 0.5184 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.4124, allocations: 31.08 kB / 0.5184 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.4126, allocations: 262.2 kB / 0.5186 GB, free: 14.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.4127, allocations: 65.75 kB / 0.5187 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.4129, allocations: 62.25 kB / 0.5188 GB, free: 14.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.413, allocations: 344 kB / 0.5191 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.4132, allocations: 99.12 kB / 0.5192 GB, free: 13.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.4135, allocations: 210 kB / 0.5194 GB, free: 13.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.414, allocations: 322.2 kB / 0.5197 GB, free: 13.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.414, allocations: 1.406 kB / 0.5197 GB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009804/0.415, allocations: 476.8 kB / 0.5201 GB, free: 13.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.415, allocations: 9.469 kB / 0.5201 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006712/0.4157, allocations: 311.8 kB / 0.5204 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005286/0.4163, allocations: 140.5 kB / 0.5206 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.4165, allocations: 55.25 kB / 0.5206 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.4199, allocations: 2.446 MB / 0.523 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.4203, allocations: 11.81 kB / 0.523 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.4203, allocations: 12.09 kB / 0.523 GB, free: 11.24 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.0003486/0.4207, allocations: 191.6 kB / 0.5232 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.4208, allocations: 33.97 kB / 0.5233 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005484/0.4213, allocations: 271.2 kB / 0.5235 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4213, allocations: 1.531 kB / 0.5235 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4213, allocations: 8.938 kB / 0.5235 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4214, allocations: 2.812 kB / 0.5235 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.4229, allocations: 0.73 MB / 0.5242 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.4229, allocations: 1.984 kB / 0.5242 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.4232, allocations: 43.95 kB / 0.5243 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.4233, allocations: 37.25 kB / 0.5243 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.4233, allocations: 8.062 kB / 0.5243 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4234, allocations: 2.75 kB / 0.5243 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4234, allocations: 2.125 kB / 0.5243 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006598/0.424, allocations: 442.8 kB / 0.5248 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.4242, allocations: 107.2 kB / 0.5249 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/0.4242, allocations: 8.828 kB / 0.5249 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.4244, allocations: 10.61 kB / 0.5249 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.4245, allocations: 14.27 kB / 0.5249 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.4245, allocations: 8.125 kB / 0.5249 GB, free: 10.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.4248, allocations: 219 kB / 0.5251 GB, free: 9.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4249, allocations: 5.312 kB / 0.5251 GB, free: 9.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006123/0.4255, allocations: 89.31 kB / 0.5252 GB, free: 9.887 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.0001737/0.4257, allocations: 107.4 kB / 0.5253 GB, free: 9.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009135/0.4266, allocations: 410.4 kB / 0.5257 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4266, allocations: 1.375 kB / 0.5257 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.4268, allocations: 178.7 kB / 0.5259 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.4274, allocations: 57.22 kB / 0.5259 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.4291, allocations: 0.8726 MB / 0.5268 GB, free: 8.883 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.4297, allocations: 0.8406 MB / 0.5276 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.4299, allocations: 64.55 kB / 0.5277 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.43, allocations: 24 kB / 0.5277 GB, free: 8.152 MB / 398.1 MB Notification: Performance of SimCode: time 2.026e-05/0.43, allocations: 0 / 0.5277 GB, free: 8.152 MB / 398.1 MB Notification: Performance of Templates: time 0.01026/0.4403, allocations: 3.883 MB / 0.5315 GB, free: 7.051 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