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.001109/0.001109, allocations: 111.1 kB / 17.74 MB, free: 5.312 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.001033/0.001033, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.388/1.388, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1835/0.1835, allocations: 38.03 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 67.89 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3482, allocations: 58.04 MB / 0.5048 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005336/0.3536, allocations: 4.562 MB / 0.5092 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.3561, allocations: 1.558 MB / 0.5107 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.3564, allocations: 16.41 kB / 0.5107 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009614/0.3574, allocations: 286.8 kB / 0.511 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007075/0.3581, allocations: 271.2 kB / 0.5113 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007795/0.3589, allocations: 259.2 kB / 0.5115 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000672/0.3596, allocations: 0.6049 MB / 0.5121 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.36, allocations: 260.6 kB / 0.5124 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.3604, allocations: 271.3 kB / 0.5126 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.3609, allocations: 328.9 kB / 0.5129 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.74e-05/0.361, allocations: 38.47 kB / 0.513 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.3613, allocations: 139.5 kB / 0.5131 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.3616, allocations: 224.3 kB / 0.5133 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.3618, allocations: 250.7 kB / 0.5136 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007416/0.3626, allocations: 0.5966 MB / 0.5141 GB, free: 1.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3626, allocations: 1.094 kB / 0.5141 GB, free: 1.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3626, allocations: 0 / 0.5141 GB, free: 1.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3626, allocations: 0 / 0.5141 GB, free: 1.938 MB / 382.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.001367/0.364, allocations: 0.7723 MB / 0.5149 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.364, allocations: 13.14 kB / 0.5149 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006483/0.3647, allocations: 90.39 kB / 0.515 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.3654, allocations: 419.6 kB / 0.5154 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.3654, allocations: 32.61 kB / 0.5154 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.3656, allocations: 50.83 kB / 0.5155 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/0.3665, allocations: 0.6651 MB / 0.5161 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.3666, allocations: 1.938 kB / 0.5161 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.3666, allocations: 20.98 kB / 0.5161 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/0.3668, allocations: 51.62 kB / 0.5162 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008701/0.3677, allocations: 493.9 kB / 0.5167 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.3713, allocations: 3.146 MB / 0.5197 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.3718, allocations: 246.4 kB / 0.52 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.372, allocations: 115.9 kB / 0.5201 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.372, allocations: 11.83 kB / 0.5201 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.3721, allocations: 41.17 kB / 0.5201 GB, free: 13.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.465e-06/0.3721, allocations: 0 / 0.5201 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001628/0.3737, allocations: 0.8943 MB / 0.521 GB, free: 13.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.3738, allocations: 81.84 kB / 0.5211 GB, free: 13.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.3741, allocations: 332 kB / 0.5214 GB, free: 12.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.3742, allocations: 30.98 kB / 0.5214 GB, free: 12.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.3744, allocations: 293.4 kB / 0.5217 GB, free: 12.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.3745, allocations: 90.92 kB / 0.5218 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.3746, allocations: 87 kB / 0.5219 GB, free: 12.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3747, allocations: 348.9 kB / 0.5222 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.3749, allocations: 127.4 kB / 0.5223 GB, free: 12.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.3753, allocations: 328.5 kB / 0.5226 GB, free: 11.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/0.3759, allocations: 494.1 kB / 0.5231 GB, free: 11.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3759, allocations: 5.75 kB / 0.5231 GB, free: 11.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001167/0.3771, allocations: 0.5908 MB / 0.5237 GB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3771, allocations: 8.25 kB / 0.5237 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006333/0.3777, allocations: 336.6 kB / 0.524 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004502/0.3782, allocations: 115.4 kB / 0.5241 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.3786, allocations: 95.11 kB / 0.5242 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.3814, allocations: 3.28 MB / 0.5274 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.3817, allocations: 23.02 kB / 0.5275 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.3818, allocations: 23.14 kB / 0.5275 GB, free: 8.023 MB / 398.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.0002953/0.3821, allocations: 212.7 kB / 0.5277 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.3822, allocations: 32.05 kB / 0.5277 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005335/0.3827, allocations: 315.1 kB / 0.528 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3827, allocations: 3.5 kB / 0.528 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.3827, allocations: 6.234 kB / 0.528 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3827, allocations: 1.078 kB / 0.528 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.384, allocations: 0.8046 MB / 0.5288 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.384, allocations: 1.25 kB / 0.5288 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.3843, allocations: 65.75 kB / 0.5289 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3844, allocations: 6.094 kB / 0.5289 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3844, allocations: 8.719 kB / 0.5289 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3844, allocations: 3.094 kB / 0.5289 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3844, allocations: 1.5 kB / 0.5289 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/0.3851, allocations: 0.5005 MB / 0.5294 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.3853, allocations: 133.7 kB / 0.5295 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.3853, allocations: 7.375 kB / 0.5295 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.3855, allocations: 10.92 kB / 0.5295 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.3856, allocations: 18.28 kB / 0.5295 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.3856, allocations: 11.02 kB / 0.5296 GB, free: 6.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000251/0.3858, allocations: 221.8 kB / 0.5298 GB, free: 6.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3858, allocations: 0 / 0.5298 GB, free: 6.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005699/0.3864, allocations: 99.84 kB / 0.5299 GB, free: 6.633 MB / 398.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.0001364/0.3866, allocations: 111.4 kB / 0.53 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009507/0.3875, allocations: 0.5795 MB / 0.5305 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3875, allocations: 0 / 0.5305 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.3877, allocations: 126.7 kB / 0.5307 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.3883, allocations: 66.44 kB / 0.5307 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.39, allocations: 1.058 MB / 0.5318 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.3905, allocations: 0.8706 MB / 0.5326 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.3906, allocations: 35.59 kB / 0.5326 GB, free: 4.75 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3906, allocations: 1.344 kB / 0.5326 GB, free: 4.75 MB / 398.1 MB Notification: Performance of Templates: time 0.01205/0.4027, allocations: 6.544 MB / 0.539 GB, free: 1.859 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches