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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001774/0.001774, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 223.1 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009696/0.0009696, allocations: 102.2 kB / 270.5 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.177/0.177, allocations: 38.01 MB / 355.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 51.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.361, allocations: 55.24 MB / 477.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.008369/0.3695, allocations: 5.2 MB / 482.3 MB, free: 6.223 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003154/0.3727, allocations: 1.805 MB / 484.1 MB, free: 4.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.3732, allocations: 27.34 kB / 484.1 MB, free: 4.949 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008486/0.374, allocations: 272.3 kB / 484.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006019/0.3746, allocations: 251.7 kB / 484.6 MB, free: 4.645 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.3753, allocations: 228.4 kB / 484.9 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.3766, allocations: 0.9313 MB / 485.8 MB, free: 4.246 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/0.3772, allocations: 237.7 kB / 486 MB, free: 4.152 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.3776, allocations: 229.4 kB / 486.3 MB, free: 4.062 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.3783, allocations: 348.4 kB / 486.6 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.801e-05/0.3783, allocations: 21.78 kB / 486.6 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.3787, allocations: 138.8 kB / 486.7 MB, free: 3.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.379, allocations: 212.4 kB / 487 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.3793, allocations: 232.7 kB / 487.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.38, allocations: 0.5753 MB / 487.8 MB, free: 3.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.38, allocations: 2.031 kB / 487.8 MB, free: 3.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.38, allocations: 0 / 487.8 MB, free: 3.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.38, allocations: 0 / 487.8 MB, free: 3.504 MB / 314.7 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.001328/0.3814, allocations: 0.7712 MB / 488.5 MB, free: 2.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3814, allocations: 9.625 kB / 488.5 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006135/0.382, allocations: 90.14 kB / 488.6 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.3826, allocations: 400.8 kB / 489 MB, free: 2.582 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.3827, allocations: 28.95 kB / 489 MB, free: 2.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.3828, allocations: 54.73 kB / 489.1 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009545/0.3838, allocations: 0.6669 MB / 489.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.3838, allocations: 6.281 kB / 489.8 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.3839, allocations: 16.86 kB / 489.8 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.384, allocations: 48.52 kB / 489.8 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007565/0.3848, allocations: 0.4905 MB / 490.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.3882, allocations: 3.147 MB / 493.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.3888, allocations: 242.4 kB / 493.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.389, allocations: 124.4 kB / 493.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.3891, allocations: 8.766 kB / 493.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3891, allocations: 40.42 kB / 493.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.784e-06/0.3891, allocations: 4 kB / 493.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001705/0.3908, allocations: 0.8954 MB / 494.8 MB, free: 14.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.3909, allocations: 85.2 kB / 494.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.3914, allocations: 331.4 kB / 495.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3914, allocations: 30.83 kB / 495.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.3916, allocations: 294 kB / 495.5 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.724e-05/0.3918, allocations: 91.42 kB / 495.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.3919, allocations: 93.47 kB / 495.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3921, allocations: 346.2 kB / 496 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.3923, allocations: 132.8 kB / 496.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.3927, allocations: 315.7 kB / 496.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.3933, allocations: 0.4982 MB / 497 MB, free: 13.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3933, allocations: 2.25 kB / 497 MB, free: 13.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001123/0.3945, allocations: 0.5987 MB / 497.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3945, allocations: 8.188 kB / 497.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006963/0.3952, allocations: 327.5 kB / 497.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/0.3957, allocations: 116.3 kB / 498 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.396, allocations: 90.02 kB / 498.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.3988, allocations: 3.032 MB / 0.4894 GB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.3992, allocations: 19.44 kB / 0.4894 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.3993, allocations: 28.05 kB / 0.4894 GB, free: 9.793 MB / 330.7 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.0004348/0.3997, allocations: 219.2 kB / 0.4896 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.3999, allocations: 35.52 kB / 0.4897 GB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005656/0.4004, allocations: 316.8 kB / 0.49 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4004, allocations: 2.531 kB / 0.49 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.4005, allocations: 1.344 kB / 0.49 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4005, allocations: 5.234 kB / 0.49 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.4018, allocations: 0.8027 MB / 0.4908 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4018, allocations: 1.094 kB / 0.4908 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.4021, allocations: 57.41 kB / 0.4908 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4021, allocations: 1.969 kB / 0.4908 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.4021, allocations: 11.45 kB / 0.4908 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4022, allocations: 2.375 kB / 0.4908 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4022, allocations: 5.344 kB / 0.4908 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003324/0.4055, allocations: 2.389 MB / 0.4932 GB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.4057, allocations: 130.9 kB / 0.4933 GB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.4057, allocations: 7.5 kB / 0.4933 GB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.4059, allocations: 16.08 kB / 0.4933 GB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.406, allocations: 16.33 kB / 0.4933 GB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.406, allocations: 9.609 kB / 0.4933 GB, free: 6.793 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002415/0.4062, allocations: 220.1 kB / 0.4936 GB, free: 6.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4062, allocations: 0 / 0.4936 GB, free: 6.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007224/0.407, allocations: 123.7 kB / 0.4937 GB, free: 6.645 MB / 330.7 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.0001387/0.4071, allocations: 116.1 kB / 0.4938 GB, free: 6.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009538/0.4081, allocations: 0.5791 MB / 0.4943 GB, free: 6.141 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4081, allocations: 9 kB / 0.4944 GB, free: 6.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.4083, allocations: 133.5 kB / 0.4945 GB, free: 6.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.4088, allocations: 65.52 kB / 0.4945 GB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.4108, allocations: 1.398 MB / 0.4959 GB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.4115, allocations: 0.8764 MB / 0.4968 GB, free: 4.207 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003786/0.4119, allocations: 112.2 kB / 0.4969 GB, free: 4.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.412, allocations: 37.36 kB / 0.4969 GB, free: 4.148 MB / 330.7 MB Notification: Performance of SimCode: time 9.61e-07/0.412, allocations: 3.938 kB / 0.4969 GB, free: 4.145 MB / 330.7 MB Notification: Performance of Templates: time 0.008487/0.4205, allocations: 4.296 MB / 0.5011 GB, free: 1.664 MB / 330.7 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@2/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