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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 108.5 kB / 17.06 MB, free: 6.016 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.001802/0.001802, allocations: 192 kB / 18 MB, free: 5.098 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.37/1.37, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1909/0.1909, allocations: 38.05 MB / 329.9 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 55.91 kB / 457.7 MB, free: 7.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3668, allocations: 58.06 MB / 0.5036 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006333/0.3732, allocations: 4.558 MB / 0.5081 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.3761, allocations: 1.549 MB / 0.5096 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.3765, allocations: 17 kB / 0.5096 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.3776, allocations: 299.3 kB / 0.5099 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009287/0.3785, allocations: 268 kB / 0.5101 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009347/0.3795, allocations: 251.6 kB / 0.5104 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008536/0.3803, allocations: 0.6121 MB / 0.511 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.3807, allocations: 260.3 kB / 0.5112 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004113/0.3812, allocations: 270 kB / 0.5115 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006122/0.3818, allocations: 336.8 kB / 0.5118 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.3819, allocations: 33.91 kB / 0.5118 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.3823, allocations: 141.3 kB / 0.512 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.3826, allocations: 218.2 kB / 0.5122 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.383, allocations: 247.9 kB / 0.5124 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008766/0.3838, allocations: 0.5953 MB / 0.513 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3839, allocations: 0 / 0.513 GB, free: 1.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3839, allocations: 5.031 kB / 0.513 GB, free: 1.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.3839, allocations: 4 kB / 0.513 GB, free: 1.699 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.001405/0.3853, allocations: 0.7674 MB / 0.5138 GB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3853, allocations: 9.094 kB / 0.5138 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.976e-05/0.3854, allocations: 87.28 kB / 0.5139 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006291/0.3861, allocations: 87.28 kB / 0.5139 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/0.3868, allocations: 418.4 kB / 0.5143 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.3868, allocations: 38.2 kB / 0.5144 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.387, allocations: 53.59 kB / 0.5144 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.3881, allocations: 0.6593 MB / 0.5151 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.3882, allocations: 6.594 kB / 0.5151 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.3882, allocations: 20.89 kB / 0.5151 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/0.3884, allocations: 48.02 kB / 0.5151 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008803/0.3893, allocations: 0.4897 MB / 0.5156 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/0.3933, allocations: 3.138 MB / 0.5187 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.3939, allocations: 249.5 kB / 0.5189 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.3941, allocations: 119.9 kB / 0.519 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.3941, allocations: 8.844 kB / 0.519 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.3942, allocations: 40.33 kB / 0.5191 GB, free: 13.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.284e-06/0.3942, allocations: 1.031 kB / 0.5191 GB, free: 13.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001657/0.3958, allocations: 0.8871 MB / 0.5199 GB, free: 12.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.3959, allocations: 83.64 kB / 0.52 GB, free: 12.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.3963, allocations: 331.7 kB / 0.5203 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.3964, allocations: 26.73 kB / 0.5204 GB, free: 12.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.3966, allocations: 290.5 kB / 0.5206 GB, free: 12.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.3968, allocations: 95.33 kB / 0.5207 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.3969, allocations: 85.56 kB / 0.5208 GB, free: 12.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3971, allocations: 347.3 kB / 0.5212 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.3974, allocations: 137.3 kB / 0.5213 GB, free: 11.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.3978, allocations: 323.6 kB / 0.5216 GB, free: 11.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.3985, allocations: 0.4895 MB / 0.5221 GB, free: 11.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.3985, allocations: 2.219 kB / 0.5221 GB, free: 11.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001299/0.3998, allocations: 0.5966 MB / 0.5227 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.3999, allocations: 8.25 kB / 0.5227 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006908/0.4006, allocations: 332.8 kB / 0.523 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004472/0.401, allocations: 114.8 kB / 0.5231 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.4014, allocations: 91.36 kB / 0.5232 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/0.4043, allocations: 3.28 MB / 0.5264 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.4046, allocations: 19.88 kB / 0.5264 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.4046, allocations: 23.56 kB / 0.5264 GB, free: 7.727 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.0002881/0.4049, allocations: 216.5 kB / 0.5266 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.405, allocations: 31.31 kB / 0.5267 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/0.4055, allocations: 312.1 kB / 0.527 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4055, allocations: 4 kB / 0.527 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4056, allocations: 3.938 kB / 0.527 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4056, allocations: 1.969 kB / 0.527 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.4068, allocations: 0.8044 MB / 0.5277 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4068, allocations: 1.094 kB / 0.5277 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.4072, allocations: 65.59 kB / 0.5278 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4072, allocations: 3.625 kB / 0.5278 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.4072, allocations: 7.562 kB / 0.5278 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4072, allocations: 3.672 kB / 0.5278 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4072, allocations: 1.188 kB / 0.5278 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006557/0.4079, allocations: 0.5043 MB / 0.5283 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.4081, allocations: 133 kB / 0.5284 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.4081, allocations: 8.844 kB / 0.5285 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.4083, allocations: 6.141 kB / 0.5285 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.4083, allocations: 18.06 kB / 0.5285 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.4084, allocations: 11.38 kB / 0.5285 GB, free: 6.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.4086, allocations: 226 kB / 0.5287 GB, free: 6.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4086, allocations: 0 / 0.5287 GB, free: 6.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005347/0.4091, allocations: 94.88 kB / 0.5288 GB, free: 6.34 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.0009332/0.4101, allocations: 1.059 MB / 0.5298 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009637/0.4111, allocations: 0.5858 MB / 0.5304 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4111, allocations: 1.594 kB / 0.5304 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.4113, allocations: 124.2 kB / 0.5305 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.4118, allocations: 71.08 kB / 0.5306 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/0.417, allocations: 4.052 MB / 0.5345 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.4175, allocations: 0.8709 MB / 0.5354 GB, free: 1.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003245/0.4179, allocations: 111.4 kB / 0.5355 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.4181, allocations: 153.7 kB / 0.5356 GB, free: 1.527 MB / 398.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4181, allocations: 0 / 0.5356 GB, free: 1.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.4525, allocations: 7.747 MB / 0.5432 GB, free: 14.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.879/10.33, allocations: 5.375 kB / 0.5432 GB, free: 14.01 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > 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