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.0007877/0.0007877, allocations: 88.16 kB / 16.31 MB, free: 5.555 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.0009937/0.0009938, allocations: 181.5 kB / 17.21 MB, free: 5.473 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.237/1.237, allocations: 223.3 MB / 241.2 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1633/0.1633, allocations: 38.09 MB / 330.4 MB, free: 8.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002985, allocations: 8.812 kB / 400.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08558/0.0859, allocations: 59.17 MB / 459.2 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00477/0.09071, allocations: 4.575 MB / 463.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.09318, allocations: 1.648 MB / 465.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.09351, allocations: 31.81 kB / 465.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.09375, allocations: 79.39 kB / 465.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006613/0.09442, allocations: 286.6 kB / 465.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.09506, allocations: 239.6 kB / 466.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007142/0.09579, allocations: 0.7209 MB / 466.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006465/0.09644, allocations: 442.9 kB / 467.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.09679, allocations: 235 kB / 467.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.09723, allocations: 323 kB / 467.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.09728, allocations: 20 kB / 467.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.0975, allocations: 91.84 kB / 467.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.09769, allocations: 195.5 kB / 468.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.565e-05/0.09779, allocations: 113.4 kB / 468.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.09818, allocations: 462.8 kB / 468.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09819, allocations: 0 / 468.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0982, allocations: 0 / 468.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.09821, allocations: 0 / 468.6 MB, free: 13.92 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.0009881/0.0992, allocations: 0.6763 MB / 469.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.09924, allocations: 8.031 kB / 469.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005136/0.09976, allocations: 95.28 kB / 469.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.1003, allocations: 398.8 kB / 469.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.1003, allocations: 29 kB / 469.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.1004, allocations: 55.97 kB / 469.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/0.1013, allocations: 0.6521 MB / 470.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.1013, allocations: 7.938 kB / 470.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.1013, allocations: 12 kB / 470.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/0.1015, allocations: 52.97 kB / 470.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006906/0.1022, allocations: 495.4 kB / 471.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.1054, allocations: 3.152 MB / 474.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.1059, allocations: 245.8 kB / 474.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.1061, allocations: 126 kB / 474.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.1062, allocations: 8.188 kB / 474.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1062, allocations: 34.75 kB / 474.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 4.799e-06/0.1062, allocations: 0 / 474.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001688/0.1079, allocations: 0.8931 MB / 475.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.108, allocations: 85.05 kB / 475.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/0.1084, allocations: 328.5 kB / 476 MB, free: 6.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1085, allocations: 29.7 kB / 476 MB, free: 6.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.1087, allocations: 295 kB / 476.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.1088, allocations: 82.84 kB / 476.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.1088, allocations: 12 kB / 476.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.109, allocations: 342.8 kB / 476.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.1092, allocations: 128.8 kB / 476.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.1096, allocations: 325.1 kB / 477.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.1099, allocations: 200.5 kB / 477.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.11, allocations: 0 / 477.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001114/0.1111, allocations: 0.5924 MB / 477.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1111, allocations: 8 kB / 477.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005711/0.1117, allocations: 329.4 kB / 478.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/0.1121, allocations: 113.6 kB / 478.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.1124, allocations: 95.83 kB / 478.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.1149, allocations: 3.018 MB / 481.5 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.1151, allocations: 20 kB / 481.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.1152, allocations: 23.98 kB / 481.5 MB, free: 184 kB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.1154, allocations: 220.8 kB / 481.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.1155, allocations: 35.48 kB / 481.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.116, allocations: 309 kB / 482.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.116, allocations: 4 kB / 482.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.116, allocations: 0 / 482.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.116, allocations: 4 kB / 482.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.1171, allocations: 0.8005 MB / 482.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1171, allocations: 7.938 kB / 482.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.1174, allocations: 56.11 kB / 483 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.1174, allocations: 4 kB / 483 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.1174, allocations: 7.984 kB / 483 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1174, allocations: 8 kB / 483 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1175, allocations: 3.938 kB / 483 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005865/0.118, allocations: 0.5051 MB / 483.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1182, allocations: 132.6 kB / 483.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.1182, allocations: 8 kB / 483.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1184, allocations: 7.984 kB / 483.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.1184, allocations: 23.91 kB / 483.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1185, allocations: 12 kB / 483.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.1187, allocations: 223 kB / 483.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1187, allocations: 3.938 kB / 483.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004669/0.1192, allocations: 96 kB / 484 MB, free: 13.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001061/0.1193, allocations: 99.25 kB / 484.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007986/0.1201, allocations: 0.5797 MB / 484.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1201, allocations: 0 / 484.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1203, allocations: 124.9 kB / 484.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.1207, allocations: 69.53 kB / 484.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.1223, allocations: 1.229 MB / 486.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.1228, allocations: 0.8701 MB / 486.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002946/0.1231, allocations: 115.1 kB / 487.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.1232, allocations: 31.44 kB / 487.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.034e-06/0.1232, allocations: 0 / 487.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of Templates: time 0.006964/0.1301, allocations: 3.529 MB / 490.6 MB, free: 6.902 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches