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.001466/0.001466, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001654/0.001654, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.331/1.331, allocations: 222.9 MB / 242.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1768/0.1768, allocations: 38.04 MB / 330.5 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.72 kB / 400.3 MB, free: 33.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.09506, allocations: 58.06 MB / 458.3 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005816/0.1009, allocations: 4.572 MB / 462.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.103, allocations: 1.305 MB / 464.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.1032, allocations: 15.88 kB / 464.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.1044, allocations: 394.3 kB / 464.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.1049, allocations: 250.8 kB / 464.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.1054, allocations: 171.6 kB / 465 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005738/0.106, allocations: 0.5646 MB / 465.6 MB, free: 8 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004266/0.1064, allocations: 281.2 kB / 465.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.1067, allocations: 262.9 kB / 466.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.1072, allocations: 271.1 kB / 466.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.1072, allocations: 32 kB / 466.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.1075, allocations: 127.8 kB / 466.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.1077, allocations: 195.5 kB / 466.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.1079, allocations: 214.9 kB / 466.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.1084, allocations: 0.5178 MB / 467.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1084, allocations: 0 / 467.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1084, allocations: 8 kB / 467.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1085, allocations: 0 / 467.4 MB, free: 14.13 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.0011/0.1096, allocations: 0.6941 MB / 468.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1096, allocations: 19.83 kB / 468.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005594/0.1102, allocations: 80.41 kB / 468.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007202/0.1109, allocations: 415.2 kB / 468.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.1109, allocations: 25.38 kB / 468.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.1111, allocations: 52.11 kB / 468.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.1118, allocations: 480.8 kB / 469.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1118, allocations: 0 / 469.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.1118, allocations: 19.98 kB / 469.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.1119, allocations: 24.98 kB / 469.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.1125, allocations: 355.7 kB / 469.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.1147, allocations: 1.714 MB / 471.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.115, allocations: 153.1 kB / 471.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1152, allocations: 114 kB / 471.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1152, allocations: 7.938 kB / 471.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1153, allocations: 42.44 kB / 471.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.1153, allocations: 0 / 471.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001478/0.1168, allocations: 0.8754 MB / 472.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.1168, allocations: 85.05 kB / 472.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.1171, allocations: 308.5 kB / 472.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1172, allocations: 33.7 kB / 472.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1173, allocations: 255.4 kB / 473.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.1174, allocations: 63.09 kB / 473.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1175, allocations: 62.11 kB / 473.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1177, allocations: 346.7 kB / 473.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.1178, allocations: 96.22 kB / 473.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.1181, allocations: 201.4 kB / 473.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.1185, allocations: 326.7 kB / 474.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1185, allocations: 3.938 kB / 474.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008823/0.1194, allocations: 480.8 kB / 474.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1194, allocations: 8 kB / 474.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006151/0.12, allocations: 308.7 kB / 475 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/0.1205, allocations: 140.7 kB / 475.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.1207, allocations: 59.91 kB / 475.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.1235, allocations: 2.436 MB / 477.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.1237, allocations: 20 kB / 477.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1237, allocations: 12 kB / 477.7 MB, free: 3.27 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.0002126/0.1239, allocations: 189.7 kB / 477.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.124, allocations: 27.72 kB / 477.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.1244, allocations: 265.3 kB / 478.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1245, allocations: 7.938 kB / 478.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1245, allocations: 0 / 478.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1245, allocations: 4 kB / 478.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.1256, allocations: 0.7351 MB / 478.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1256, allocations: 0 / 478.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.1259, allocations: 43.97 kB / 478.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-05/0.126, allocations: 36.89 kB / 479 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.126, allocations: 8 kB / 479 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.126, allocations: 8 kB / 479 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.126, allocations: 0 / 479 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.1266, allocations: 449.4 kB / 479.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.1266, allocations: 108.7 kB / 479.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.1267, allocations: 4 kB / 479.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1268, allocations: 12.03 kB / 479.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.1269, allocations: 11.92 kB / 479.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1269, allocations: 8 kB / 479.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.1271, allocations: 223 kB / 479.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1271, allocations: 3.938 kB / 479.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.1276, allocations: 84 kB / 479.9 MB, free: 0.9375 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.0001083/0.1277, allocations: 107.1 kB / 480 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006741/0.1284, allocations: 414 kB / 480.4 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1284, allocations: 8.125 kB / 480.4 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.1286, allocations: 181.8 kB / 480.6 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.1291, allocations: 53.06 kB / 480.6 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.1304, allocations: 0.8664 MB / 481.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.1308, allocations: 0.8419 MB / 482.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.131, allocations: 66.91 kB / 482.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.131, allocations: 23.44 kB / 482.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.131, allocations: 0 / 482.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Templates: time 0.007407/0.1384, allocations: 3.8 MB / 486.2 MB, free: 10.52 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 -s gbode -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