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.001834/0.001834, allocations: 111.7 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.001859/0.001859, allocations: 189.4 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.43/1.43, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1797/0.1797, allocations: 38.03 MB / 329.9 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 71.83 kB / 457.7 MB, free: 7.391 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3362, allocations: 58.05 MB / 0.5036 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005313/0.3416, allocations: 4.549 MB / 0.5081 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.3437, allocations: 1.555 MB / 0.5096 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.3439, allocations: 15.81 kB / 0.5096 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.3447, allocations: 291.6 kB / 0.5099 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.3452, allocations: 271.1 kB / 0.5101 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.3458, allocations: 256 kB / 0.5104 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.3464, allocations: 0.6127 MB / 0.511 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.3468, allocations: 254.2 kB / 0.5112 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003049/0.3471, allocations: 273.1 kB / 0.5115 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004625/0.3475, allocations: 324.7 kB / 0.5118 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.23e-05/0.3476, allocations: 33.72 kB / 0.5118 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.3479, allocations: 139.8 kB / 0.512 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.3482, allocations: 220.4 kB / 0.5122 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.3484, allocations: 251.3 kB / 0.5124 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007796/0.3492, allocations: 0.5983 MB / 0.513 GB, free: 1.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3492, allocations: 1.281 kB / 0.513 GB, free: 1.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3492, allocations: 0 / 0.513 GB, free: 1.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.3493, allocations: 7.938 kB / 0.513 GB, free: 1.668 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.001289/0.3506, allocations: 0.7706 MB / 0.5138 GB, free: 1.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3506, allocations: 13.77 kB / 0.5138 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.674e-05/0.3507, allocations: 86.88 kB / 0.5139 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005949/0.3513, allocations: 95.66 kB / 0.5139 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.3519, allocations: 422.3 kB / 0.5143 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.3519, allocations: 34.28 kB / 0.5144 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3521, allocations: 53.23 kB / 0.5144 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.353, allocations: 0.659 MB / 0.5151 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.353, allocations: 3.125 kB / 0.5151 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.3531, allocations: 16.69 kB / 0.5151 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/0.3532, allocations: 51.64 kB / 0.5151 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/0.3539, allocations: 498.7 kB / 0.5156 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.3579, allocations: 3.157 MB / 0.5187 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.3584, allocations: 250.6 kB / 0.5189 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.3586, allocations: 123.8 kB / 0.5191 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.3587, allocations: 3.625 kB / 0.5191 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.3587, allocations: 37.47 kB / 0.5191 GB, free: 13.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/0.3587, allocations: 0 / 0.5191 GB, free: 13.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001564/0.3603, allocations: 0.9006 MB / 0.52 GB, free: 12.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.3604, allocations: 85.56 kB / 0.5201 GB, free: 12.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.3607, allocations: 331.7 kB / 0.5204 GB, free: 12.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.3608, allocations: 30.8 kB / 0.5204 GB, free: 12.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.361, allocations: 301.8 kB / 0.5207 GB, free: 12.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/0.3611, allocations: 88.55 kB / 0.5208 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.3613, allocations: 89.55 kB / 0.5209 GB, free: 12.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3614, allocations: 350.2 kB / 0.5212 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.3617, allocations: 132.7 kB / 0.5213 GB, free: 11.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.362, allocations: 324 kB / 0.5216 GB, free: 11.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.3627, allocations: 499.6 kB / 0.5221 GB, free: 11.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3627, allocations: 2.562 kB / 0.5221 GB, free: 11.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001119/0.3638, allocations: 0.5969 MB / 0.5227 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3639, allocations: 11.78 kB / 0.5227 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006382/0.3645, allocations: 333.5 kB / 0.523 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/0.3649, allocations: 110.6 kB / 0.5231 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.3652, allocations: 91.75 kB / 0.5232 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.3683, allocations: 3.275 MB / 0.5264 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.3686, allocations: 24.34 kB / 0.5264 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.3686, allocations: 22.39 kB / 0.5265 GB, free: 7.648 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.0002781/0.3689, allocations: 220 kB / 0.5267 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.369, allocations: 35.41 kB / 0.5267 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.3695, allocations: 316.5 kB / 0.527 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3696, allocations: 3.672 kB / 0.527 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3696, allocations: 5.5 kB / 0.527 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3696, allocations: 1.312 kB / 0.527 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.3708, allocations: 0.8071 MB / 0.5278 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3708, allocations: 1.25 kB / 0.5278 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.3711, allocations: 66.48 kB / 0.5279 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3711, allocations: 2.625 kB / 0.5279 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.3711, allocations: 7.969 kB / 0.5279 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3712, allocations: 2.797 kB / 0.5279 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3712, allocations: 0.9062 kB / 0.5279 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.3718, allocations: 0.5075 MB / 0.5284 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.372, allocations: 130.7 kB / 0.5285 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.372, allocations: 8.875 kB / 0.5285 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3722, allocations: 13.97 kB / 0.5285 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.3722, allocations: 18.06 kB / 0.5285 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.3723, allocations: 11.8 kB / 0.5285 GB, free: 6.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.3725, allocations: 221.3 kB / 0.5288 GB, free: 6.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3725, allocations: 0 / 0.5288 GB, free: 6.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005015/0.373, allocations: 98.69 kB / 0.5289 GB, free: 6.246 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.0009979/0.374, allocations: 1.057 MB / 0.5299 GB, free: 5.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000934/0.375, allocations: 0.5849 MB / 0.5305 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.375, allocations: 1.25 kB / 0.5305 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.3752, allocations: 127.8 kB / 0.5306 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.3757, allocations: 72.27 kB / 0.5306 GB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/0.381, allocations: 4.061 MB / 0.5346 GB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.3816, allocations: 0.8702 MB / 0.5355 GB, free: 1.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.3819, allocations: 107.5 kB / 0.5356 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.3821, allocations: 154 kB / 0.5357 GB, free: 1.43 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3821, allocations: 1.062 kB / 0.5357 GB, free: 1.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.4169, allocations: 7.639 MB / 0.5432 GB, free: 14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.54, allocations: 2.656 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