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.001038/0.001038, allocations: 114.4 kB / 16.63 MB, free: 6.812 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.00108/0.00108, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.328/1.328, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1707/0.1707, allocations: 38.04 MB / 329.4 MB, free: 9.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 62.92 kB / 398.3 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09276, allocations: 58.06 MB / 456.4 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.0065/0.09929, allocations: 5.22 MB / 461.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1019, allocations: 1.484 MB / 463.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004178/0.1023, allocations: 27.81 kB / 463.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.1035, allocations: 378.7 kB / 463.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006088/0.1041, allocations: 235 kB / 463.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.1047, allocations: 147.8 kB / 463.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.1053, allocations: 0.5646 MB / 464.4 MB, free: 376 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004954/0.1058, allocations: 309.2 kB / 464.7 MB, free: 72 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004297/0.1063, allocations: 251 kB / 464.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.1067, allocations: 303 kB / 465.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.1068, allocations: 28 kB / 465.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.1071, allocations: 127.8 kB / 465.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.1073, allocations: 203.5 kB / 465.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.1075, allocations: 211 kB / 465.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.1081, allocations: 0.5139 MB / 466.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1081, allocations: 0 / 466.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1081, allocations: 0 / 466.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1081, allocations: 0 / 466.3 MB, free: 14.45 MB / 350.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.001127/0.1093, allocations: 0.7068 MB / 467 MB, free: 13.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1093, allocations: 11.89 kB / 467 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005745/0.1099, allocations: 84.31 kB / 467.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.1104, allocations: 391.3 kB / 467.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1105, allocations: 25.36 kB / 467.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.1106, allocations: 44.12 kB / 467.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006761/0.1113, allocations: 480.8 kB / 468 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1113, allocations: 3.906 kB / 468 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.1114, allocations: 19.98 kB / 468 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.1115, allocations: 24.98 kB / 468.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/0.112, allocations: 355.7 kB / 468.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.1141, allocations: 1.737 MB / 470.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.1144, allocations: 153.1 kB / 470.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.1146, allocations: 109.7 kB / 470.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1146, allocations: 8.219 kB / 470.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1146, allocations: 30.56 kB / 470.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.1146, allocations: 0 / 470.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001466/0.1161, allocations: 0.887 MB / 471.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1162, allocations: 81.11 kB / 471.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.1165, allocations: 312.4 kB / 471.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1165, allocations: 29.7 kB / 471.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1167, allocations: 255.4 kB / 472 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.1167, allocations: 59.11 kB / 472.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.696e-05/0.1168, allocations: 58.11 kB / 472.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.117, allocations: 354.7 kB / 472.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1171, allocations: 100.2 kB / 472.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.1173, allocations: 197.4 kB / 472.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.1177, allocations: 326.6 kB / 473.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1178, allocations: 4 kB / 473.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008868/0.1186, allocations: 465.9 kB / 473.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1187, allocations: 12.03 kB / 473.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006178/0.1193, allocations: 319 kB / 473.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.1198, allocations: 132.7 kB / 474 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.12, allocations: 59.91 kB / 474 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.1229, allocations: 2.449 MB / 476.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.1231, allocations: 11.98 kB / 476.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1231, allocations: 12 kB / 476.5 MB, free: 3.59 MB / 350.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.0002006/0.1233, allocations: 193.7 kB / 476.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.1234, allocations: 27.62 kB / 476.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.1238, allocations: 265.3 kB / 477 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1238, allocations: 7.938 kB / 477 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1238, allocations: 0 / 477 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1238, allocations: 0 / 477 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.1249, allocations: 0.7351 MB / 477.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1249, allocations: 3.984 kB / 477.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.1252, allocations: 39.98 kB / 477.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-05/0.1253, allocations: 32.83 kB / 477.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.1253, allocations: 8 kB / 477.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1253, allocations: 0 / 477.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1253, allocations: 8 kB / 477.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.1259, allocations: 445.2 kB / 478.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.1259, allocations: 100.8 kB / 478.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.126, allocations: 7.984 kB / 478.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1261, allocations: 12 kB / 478.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.1262, allocations: 23.84 kB / 478.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1262, allocations: 12 kB / 478.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.1264, allocations: 215.1 kB / 478.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1264, allocations: 0 / 478.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004435/0.1269, allocations: 88 kB / 478.7 MB, free: 1.262 MB / 350.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.0001122/0.127, allocations: 107.2 kB / 478.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007138/0.1277, allocations: 424.9 kB / 479.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.1277, allocations: 7.938 kB / 479.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.1279, allocations: 178.7 kB / 479.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.1284, allocations: 72.3 kB / 479.5 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1298, allocations: 1.011 MB / 480.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.1302, allocations: 0.8419 MB / 481.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.1304, allocations: 62.92 kB / 481.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.1305, allocations: 27.44 kB / 481.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1305, allocations: 3.938 kB / 481.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Templates: time 0.007323/0.1378, allocations: 3.819 MB / 485.2 MB, free: 10.66 MB / 366.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