Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.001174/0.001174, allocations: 191.3 kB / 18.52 MB, free: 4.637 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.311/1.311, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1709/0.1709, allocations: 38.04 MB / 330.4 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 58.08 kB / 399.5 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08333/0.08458, allocations: 58.06 MB / 457.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005821/0.09044, allocations: 4.584 MB / 462.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.09277, allocations: 1.464 MB / 463.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.09302, allocations: 15.94 kB / 463.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.09408, allocations: 378.3 kB / 464 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005403/0.09463, allocations: 242.8 kB / 464.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.09531, allocations: 255.4 kB / 464.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.09591, allocations: 0.5573 MB / 465 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/0.09638, allocations: 338.4 kB / 465.3 MB, free: 256 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.09674, allocations: 247 kB / 465.6 MB, free: 8 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004938/0.09724, allocations: 323 kB / 465.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.997e-05/0.09732, allocations: 36 kB / 465.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.09762, allocations: 139.8 kB / 466.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.09785, allocations: 223.4 kB / 466.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.0981, allocations: 246.8 kB / 466.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.09867, allocations: 0.588 MB / 467.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09868, allocations: 0 / 467.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.09869, allocations: 0 / 467.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.0987, allocations: 0 / 467.1 MB, free: 14.47 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00123/0.09994, allocations: 0.766 MB / 467.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.09998, allocations: 15.89 kB / 467.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006023/0.1006, allocations: 92.2 kB / 468 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.1012, allocations: 400 kB / 468.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.1012, allocations: 29.38 kB / 468.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.1013, allocations: 52.11 kB / 468.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008545/0.1022, allocations: 0.645 MB / 469.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.1022, allocations: 7.922 kB / 469.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.1023, allocations: 20 kB / 469.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/0.1024, allocations: 32.98 kB / 469.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.1031, allocations: 479.5 kB / 469.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.1064, allocations: 3.026 MB / 472.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.1066, allocations: 185 kB / 472.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.1068, allocations: 105.7 kB / 472.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.1069, allocations: 4 kB / 472.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1069, allocations: 30.56 kB / 473 MB, free: 8.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.1069, allocations: 0 / 473 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00132/0.1082, allocations: 0.8419 MB / 473.8 MB, free: 7.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1083, allocations: 89 kB / 473.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.1086, allocations: 341.5 kB / 474.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1086, allocations: 33.7 kB / 474.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.1088, allocations: 306.9 kB / 474.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.1089, allocations: 75 kB / 474.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.109, allocations: 89.94 kB / 474.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1092, allocations: 342.8 kB / 475.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.1094, allocations: 124.8 kB / 475.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.1097, allocations: 334.8 kB / 475.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.1102, allocations: 0.5008 MB / 476 MB, free: 4.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1102, allocations: 0 / 476 MB, free: 4.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009958/0.1112, allocations: 0.5604 MB / 476.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1113, allocations: 8 kB / 476.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005041/0.1118, allocations: 274.9 kB / 476.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/0.1121, allocations: 80.78 kB / 476.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.1125, allocations: 95.83 kB / 477 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.1141, allocations: 1.738 MB / 478.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.1143, allocations: 20 kB / 478.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.1144, allocations: 20 kB / 478.8 MB, free: 1.969 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002209/0.1146, allocations: 221.5 kB / 479 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.1147, allocations: 35.47 kB / 479.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.1151, allocations: 292.8 kB / 479.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1151, allocations: 0 / 479.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1152, allocations: 4 kB / 479.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1152, allocations: 0 / 479.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1163, allocations: 0.791 MB / 480.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.1163, allocations: 0 / 480.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.1166, allocations: 59.97 kB / 480.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.1166, allocations: 4 kB / 480.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.1167, allocations: 7.984 kB / 480.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1167, allocations: 0 / 480.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1167, allocations: 3.938 kB / 480.2 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.1173, allocations: 488.6 kB / 480.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.1173, allocations: 104.7 kB / 480.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.1174, allocations: 11.94 kB / 480.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.1176, allocations: 12.03 kB / 480.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.1176, allocations: 7.984 kB / 480.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1176, allocations: 12 kB / 480.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.1179, allocations: 231.2 kB / 481.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1179, allocations: 0 / 481.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.1183, allocations: 104 kB / 481.2 MB, free: 15.5 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 (24): * Single equations (assignments): 23 * Array equations: 0 * 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.000105/0.1185, allocations: 107.1 kB / 481.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007386/0.1192, allocations: 479.7 kB / 481.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1192, allocations: 0 / 481.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.1194, allocations: 111.9 kB / 481.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.1199, allocations: 65.12 kB / 481.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.1215, allocations: 1.042 MB / 482.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.1221, allocations: 0.8739 MB / 483.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.1222, allocations: 31.44 kB / 483.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1222, allocations: 0 / 483.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.008036/0.1302, allocations: 5.634 MB / 489.5 MB, free: 7.078 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches