Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,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.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001186, allocations: 112.9 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.001077/0.001077, 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.48/1.48, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1774/0.1774, allocations: 38.04 MB / 329.4 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 66.5 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09747/0.09868, allocations: 58.07 MB / 456.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006094/0.1048, allocations: 5.189 MB / 461.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.1075, allocations: 1.745 MB / 463.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.1077, allocations: 27.81 kB / 463.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008382/0.1085, allocations: 263 kB / 463.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.109, allocations: 243 kB / 463.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006111/0.1096, allocations: 239.6 kB / 464 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.1102, allocations: 0.6117 MB / 464.7 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.1106, allocations: 268.2 kB / 464.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.1109, allocations: 262.9 kB / 465.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.1114, allocations: 350.9 kB / 465.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.1114, allocations: 36 kB / 465.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.1117, allocations: 135.8 kB / 465.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.1119, allocations: 223.5 kB / 465.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.1121, allocations: 254.7 kB / 466.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.1127, allocations: 0.5957 MB / 466.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1127, allocations: 0 / 466.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1127, allocations: 0 / 466.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1127, allocations: 0 / 466.7 MB, free: 13.95 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001264/0.114, allocations: 0.7621 MB / 467.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.114, allocations: 11.89 kB / 467.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005954/0.1146, allocations: 96.22 kB / 467.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.1152, allocations: 396 kB / 468 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.1152, allocations: 37.36 kB / 468 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.1154, allocations: 56.05 kB / 468.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008785/0.1163, allocations: 0.656 MB / 468.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1163, allocations: 0 / 468.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.1163, allocations: 27.92 kB / 468.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.1165, allocations: 44.97 kB / 468.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000722/0.1172, allocations: 0.4916 MB / 469.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/0.1204, allocations: 3.152 MB / 472.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.1209, allocations: 245.2 kB / 472.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.121, allocations: 121.7 kB / 472.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.1211, allocations: 11.92 kB / 472.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.1211, allocations: 42.5 kB / 472.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.1211, allocations: 0 / 472.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001422/0.1226, allocations: 0.8895 MB / 473.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.1226, allocations: 81.11 kB / 473.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.123, allocations: 328.4 kB / 474.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.123, allocations: 25.83 kB / 474.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.1232, allocations: 299 kB / 474.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/0.1233, allocations: 94.73 kB / 474.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1234, allocations: 82.03 kB / 474.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1235, allocations: 350.7 kB / 475 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.1237, allocations: 132.8 kB / 475.1 MB, free: 5.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.1241, allocations: 329.1 kB / 475.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/0.1246, allocations: 0.4971 MB / 475.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1246, allocations: 4 kB / 475.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001014/0.1257, allocations: 0.5883 MB / 476.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1257, allocations: 11.98 kB / 476.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005855/0.1263, allocations: 325.3 kB / 476.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/0.1267, allocations: 118 kB / 477 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.127, allocations: 87.83 kB / 477.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.1296, allocations: 3.278 MB / 480.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1299, allocations: 19.98 kB / 480.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.1299, allocations: 27.98 kB / 480.4 MB, free: 15.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * 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.000222/0.1301, allocations: 213.7 kB / 480.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.1302, allocations: 31.62 kB / 480.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/0.1307, allocations: 316.8 kB / 480.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.1307, allocations: 4 kB / 480.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1308, allocations: 3.938 kB / 480.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.1308, allocations: 7.984 kB / 481 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1318, allocations: 0.8042 MB / 481.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1318, allocations: 0 / 481.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.1321, allocations: 63.91 kB / 481.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1322, allocations: 3.938 kB / 481.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.1322, allocations: 8 kB / 481.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.1322, allocations: 8.047 kB / 481.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1322, allocations: 4 kB / 481.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.1328, allocations: 0.4953 MB / 482.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1329, allocations: 128.6 kB / 482.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.133, allocations: 11.98 kB / 482.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1332, allocations: 15.94 kB / 482.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.1332, allocations: 19.97 kB / 482.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1332, allocations: 8 kB / 482.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.1334, allocations: 227 kB / 482.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.1335, allocations: 0 / 482.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004462/0.1339, allocations: 95.94 kB / 482.8 MB, free: 12.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.0001151/0.134, allocations: 111.1 kB / 482.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009107/0.1349, allocations: 0.6076 MB / 483.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.135, allocations: 0 / 483.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.1351, allocations: 138.6 kB / 483.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.1356, allocations: 66.34 kB / 483.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.1372, allocations: 1.192 MB / 484.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.1377, allocations: 0.866 MB / 485.8 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.138, allocations: 111.2 kB / 485.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.138, allocations: 31.44 kB / 486 MB, free: 9.566 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.138, allocations: 0 / 486 MB, free: 9.566 MB / 366.1 MB Notification: Performance of Templates: time 0.009384/0.1474, allocations: 3.802 MB / 489.8 MB, free: 5.785 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches