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.001006/0.001006, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.0009777/0.0009777, allocations: 195 kB / 18 MB, free: 5.105 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1839/0.1839, allocations: 38.04 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 457.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3354, allocations: 58.06 MB / 0.5036 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00554/0.341, allocations: 4.553 MB / 0.5081 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.3434, allocations: 1.565 MB / 0.5096 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.3436, allocations: 11.31 kB / 0.5096 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.3445, allocations: 294.8 kB / 0.5099 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000507/0.345, allocations: 263.9 kB / 0.5101 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.3456, allocations: 254.8 kB / 0.5104 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006092/0.3463, allocations: 0.6128 MB / 0.511 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.3466, allocations: 255.1 kB / 0.5112 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.347, allocations: 271.2 kB / 0.5115 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.3475, allocations: 331.8 kB / 0.5118 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.3475, allocations: 34.19 kB / 0.5118 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.3478, allocations: 140.1 kB / 0.512 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.3481, allocations: 220.5 kB / 0.5122 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.3484, allocations: 247.3 kB / 0.5124 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008061/0.3492, allocations: 0.5952 MB / 0.513 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3492, allocations: 0 / 0.513 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3492, allocations: 0 / 0.513 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.3492, allocations: 3.938 kB / 0.513 GB, free: 1.691 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.001271/0.3505, allocations: 0.7716 MB / 0.5137 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3506, allocations: 14.39 kB / 0.5138 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.856e-05/0.3507, allocations: 87.47 kB / 0.5138 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.3513, allocations: 86.47 kB / 0.5139 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.3519, allocations: 417.6 kB / 0.5143 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.3519, allocations: 38.98 kB / 0.5144 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.3521, allocations: 49.06 kB / 0.5144 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008721/0.3529, allocations: 0.6638 MB / 0.5151 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.353, allocations: 5.062 kB / 0.5151 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.353, allocations: 21.39 kB / 0.5151 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/0.3532, allocations: 48.06 kB / 0.5151 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.3539, allocations: 498.3 kB / 0.5156 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/0.3577, allocations: 3.145 MB / 0.5187 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.3582, allocations: 245.4 kB / 0.5189 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3583, allocations: 123.2 kB / 0.519 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3584, allocations: 9.141 kB / 0.519 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.3584, allocations: 40.06 kB / 0.5191 GB, free: 13.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.432e-06/0.3584, allocations: 0 / 0.5191 GB, free: 13.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001438/0.3599, allocations: 0.8847 MB / 0.5199 GB, free: 12.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.3599, allocations: 84.73 kB / 0.52 GB, free: 12.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.3603, allocations: 331.6 kB / 0.5203 GB, free: 12.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3603, allocations: 34.86 kB / 0.5204 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.3605, allocations: 290.2 kB / 0.5206 GB, free: 12.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.3606, allocations: 91.34 kB / 0.5207 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3607, allocations: 85.23 kB / 0.5208 GB, free: 12.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3609, allocations: 350.5 kB / 0.5211 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.3611, allocations: 128.6 kB / 0.5213 GB, free: 11.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.3614, allocations: 324.3 kB / 0.5216 GB, free: 11.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005894/0.362, allocations: 0.4895 MB / 0.5221 GB, free: 11.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.362, allocations: 2.219 kB / 0.5221 GB, free: 11.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001052/0.3631, allocations: 0.5943 MB / 0.5226 GB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3631, allocations: 11.69 kB / 0.5226 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006193/0.3637, allocations: 328.5 kB / 0.523 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/0.3642, allocations: 116.5 kB / 0.5231 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.3645, allocations: 90.02 kB / 0.5232 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.3673, allocations: 3.287 MB / 0.5264 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.3676, allocations: 19.75 kB / 0.5264 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.3676, allocations: 23.94 kB / 0.5264 GB, free: 7.711 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.0002788/0.3679, allocations: 212.5 kB / 0.5266 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.368, allocations: 34.78 kB / 0.5266 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.3685, allocations: 313.2 kB / 0.5269 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3685, allocations: 2.875 kB / 0.5269 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3685, allocations: 3.938 kB / 0.527 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3686, allocations: 2.922 kB / 0.527 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.3697, allocations: 0.8005 MB / 0.5277 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3698, allocations: 5.234 kB / 0.5277 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.3701, allocations: 66.22 kB / 0.5278 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.3701, allocations: 3.344 kB / 0.5278 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.3702, allocations: 11.89 kB / 0.5278 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3702, allocations: 2.812 kB / 0.5278 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3702, allocations: 5.188 kB / 0.5278 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.3708, allocations: 0.5077 MB / 0.5283 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.371, allocations: 129.3 kB / 0.5284 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.371, allocations: 8.781 kB / 0.5285 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.3712, allocations: 10.78 kB / 0.5285 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.3713, allocations: 14.33 kB / 0.5285 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3713, allocations: 13.86 kB / 0.5285 GB, free: 6.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.3715, allocations: 223.4 kB / 0.5287 GB, free: 6.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3715, allocations: 0 / 0.5287 GB, free: 6.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000524/0.372, allocations: 99.09 kB / 0.5288 GB, free: 6.312 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.0009003/0.3729, allocations: 1.051 MB / 0.5298 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009059/0.3739, allocations: 0.5815 MB / 0.5304 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3739, allocations: 0 / 0.5304 GB, free: 5.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.3741, allocations: 129.8 kB / 0.5305 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.3746, allocations: 63 kB / 0.5306 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.3798, allocations: 4.066 MB / 0.5345 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.3803, allocations: 0.8758 MB / 0.5354 GB, free: 1.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002992/0.3806, allocations: 106 kB / 0.5355 GB, free: 1.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.3808, allocations: 147.1 kB / 0.5356 GB, free: 1.516 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3808, allocations: 7.938 kB / 0.5357 GB, free: 1.508 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.4121, allocations: 7.743 MB / 0.5432 GB, free: 14.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.637/10.05, allocations: 5.203 kB / 0.5432 GB, free: 14 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