Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008283/0.0008283, allocations: 91.75 kB / 16.65 MB, free: 6.586 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.0009871/0.0009872, allocations: 183.8 kB / 17.56 MB, free: 6.203 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.206/1.206, allocations: 223.3 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.156/0.156, allocations: 38.09 MB / 330.8 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 8 kB / 400.7 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08802/0.08832, allocations: 59.17 MB / 459.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004447/0.0928, allocations: 4.67 MB / 464.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.09491, allocations: 1.695 MB / 466.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.09509, allocations: 23.81 kB / 466.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.09526, allocations: 55.61 kB / 466.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.09575, allocations: 270.9 kB / 466.6 MB, free: 360 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.09625, allocations: 215.6 kB / 466.8 MB, free: 144 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007657/0.09703, allocations: 0.9511 MB / 467.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/0.09768, allocations: 455.7 kB / 468.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.09796, allocations: 214.9 kB / 468.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004601/0.09843, allocations: 370.9 kB / 468.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.09849, allocations: 20 kB / 468.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.09888, allocations: 239.5 kB / 469 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.09907, allocations: 215.4 kB / 469.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.0993, allocations: 252.5 kB / 469.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.09985, allocations: 0.6423 MB / 470.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.09986, allocations: 4 kB / 470.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09987, allocations: 0 / 470.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.09988, allocations: 0 / 470.1 MB, free: 12.77 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001089/0.101, allocations: 0.692 MB / 470.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.101, allocations: 8.031 kB / 470.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.1016, allocations: 84.31 kB / 470.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.1021, allocations: 403.2 kB / 471.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.1022, allocations: 29.36 kB / 471.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.1023, allocations: 52.06 kB / 471.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.1033, allocations: 0.6953 MB / 472.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1033, allocations: 0 / 472.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.1034, allocations: 20 kB / 472.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/0.1036, allocations: 68.94 kB / 472.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.1045, allocations: 0.6713 MB / 472.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/0.1075, allocations: 2.654 MB / 475.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.108, allocations: 317.3 kB / 475.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.1083, allocations: 205.7 kB / 476 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.1083, allocations: 11.97 kB / 476 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1084, allocations: 34.56 kB / 476 MB, free: 6.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.1084, allocations: 0 / 476 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001776/0.1101, allocations: 1.3 MB / 477.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.1102, allocations: 81.11 kB / 477.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.1105, allocations: 287.2 kB / 477.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1105, allocations: 33.7 kB / 477.7 MB, free: 4.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1107, allocations: 247.6 kB / 478 MB, free: 4.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.024e-05/0.1108, allocations: 145.9 kB / 478.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.1108, allocations: 41.7 kB / 478.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1109, allocations: 354.7 kB / 478.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.1112, allocations: 188.9 kB / 478.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.1115, allocations: 321.3 kB / 479 MB, free: 3.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.1121, allocations: 0.5662 MB / 479.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1121, allocations: 0 / 479.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001083/0.1132, allocations: 0.6779 MB / 480.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1133, allocations: 8 kB / 480.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007835/0.114, allocations: 487.5 kB / 480.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004095/0.1145, allocations: 114 kB / 480.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.1147, allocations: 83.83 kB / 480.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.1172, allocations: 3.033 MB / 484 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1174, allocations: 19.98 kB / 484 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.1174, allocations: 20 kB / 484 MB, free: 14.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.1176, allocations: 201.7 kB / 484.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.1177, allocations: 39.5 kB / 484.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.1184, allocations: 464.8 kB / 484.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.1184, allocations: 15.98 kB / 484.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1184, allocations: 0 / 484.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1185, allocations: 3.938 kB / 484.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.1197, allocations: 1.025 MB / 485.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1197, allocations: 4 kB / 485.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.12, allocations: 67.95 kB / 485.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.12, allocations: 4 kB / 485.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.1201, allocations: 8.141 kB / 485.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1201, allocations: 0 / 485.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1201, allocations: 0 / 485.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008293/0.1209, allocations: 0.755 MB / 486.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.1211, allocations: 136.7 kB / 486.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.1211, allocations: 8 kB / 486.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.1213, allocations: 15.98 kB / 486.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.1214, allocations: 27.91 kB / 486.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.1214, allocations: 11.98 kB / 486.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.1216, allocations: 207.1 kB / 487 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1216, allocations: 0 / 487 MB, free: 10.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.122, allocations: 116 kB / 487.1 MB, free: 10.85 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001977/0.1222, allocations: 138.3 kB / 487.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008964/0.1231, allocations: 0.7089 MB / 487.9 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1231, allocations: 4 kB / 487.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.1234, allocations: 211.8 kB / 488.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.1239, allocations: 67.59 kB / 488.2 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1254, allocations: 1.369 MB / 489.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.1258, allocations: 0.8704 MB / 490.4 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.126, allocations: 111.2 kB / 490.5 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.1261, allocations: 27.44 kB / 490.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1261, allocations: 0 / 490.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of Templates: time 0.00691/0.133, allocations: 3.993 MB / 494.6 MB, free: 3.285 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches