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.001437/0.001437, allocations: 105.1 kB / 16.92 MB, free: 5.785 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.001594/0.001594, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1774/0.1774, allocations: 38.04 MB / 329.7 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 64.16 kB / 398.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.09743, allocations: 58.06 MB / 457 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00587/0.1034, allocations: 4.541 MB / 461.5 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1059, allocations: 1.562 MB / 463.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.1062, allocations: 11.94 kB / 463.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008323/0.107, allocations: 286.6 kB / 463.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005356/0.1076, allocations: 270.7 kB / 463.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.1082, allocations: 259.4 kB / 463.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.1088, allocations: 0.6079 MB / 464.5 MB, free: 416 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.1093, allocations: 260.3 kB / 464.8 MB, free: 152 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.1096, allocations: 266.9 kB / 465 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004791/0.1101, allocations: 315 kB / 465.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.1102, allocations: 36 kB / 465.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.1105, allocations: 147.7 kB / 465.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.1108, allocations: 215.5 kB / 465.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.111, allocations: 254.7 kB / 466 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006296/0.1117, allocations: 0.5879 MB / 466.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1117, allocations: 4 kB / 466.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1117, allocations: 0 / 466.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1117, allocations: 0 / 466.5 MB, free: 14.34 MB / 350.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.001297/0.113, allocations: 0.7582 MB / 467.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1131, allocations: 15.89 kB / 467.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.888e-05/0.1132, allocations: 86.7 kB / 467.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005717/0.1137, allocations: 96.2 kB / 467.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.1143, allocations: 396 kB / 467.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.1144, allocations: 29.38 kB / 467.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.1145, allocations: 63.89 kB / 468 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/0.1154, allocations: 0.663 MB / 468.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.1154, allocations: 7.938 kB / 468.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.1155, allocations: 23.92 kB / 468.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.1157, allocations: 44.97 kB / 468.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007669/0.1164, allocations: 495.5 kB / 469.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003405/0.1198, allocations: 3.155 MB / 472.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.1203, allocations: 249.3 kB / 472.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.1205, allocations: 121.6 kB / 472.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1206, allocations: 7.984 kB / 472.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1206, allocations: 42.55 kB / 472.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 3.256e-06/0.1206, allocations: 0 / 472.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001487/0.1221, allocations: 0.8877 MB / 473.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.1222, allocations: 81.11 kB / 473.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.1225, allocations: 328.4 kB / 474.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1225, allocations: 29.7 kB / 474.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.1228, allocations: 303 kB / 474.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.1228, allocations: 82.81 kB / 474.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.123, allocations: 86.03 kB / 474.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1231, allocations: 354.8 kB / 474.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.1233, allocations: 128.8 kB / 475 MB, free: 5.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.1237, allocations: 321.1 kB / 475.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005712/0.1242, allocations: 0.4963 MB / 475.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1243, allocations: 4 kB / 475.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00102/0.1253, allocations: 0.5919 MB / 476.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1253, allocations: 8.688 kB / 476.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005785/0.1259, allocations: 329.3 kB / 476.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004436/0.1264, allocations: 117.5 kB / 476.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.1266, allocations: 83.89 kB / 477 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.1294, allocations: 3.285 MB / 480.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.1297, allocations: 19.98 kB / 480.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.1298, allocations: 24 kB / 480.3 MB, free: 15.65 MB / 366.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.0002928/0.1301, allocations: 217 kB / 480.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.1301, allocations: 31.62 kB / 480.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.1307, allocations: 316.8 kB / 480.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1307, allocations: 4 kB / 480.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1307, allocations: 3.938 kB / 480.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.1307, allocations: 3.984 kB / 480.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.1318, allocations: 0.8043 MB / 481.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1318, allocations: 8 kB / 481.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.1321, allocations: 59.91 kB / 481.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1321, allocations: 0 / 481.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.1322, allocations: 15.92 kB / 481.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1322, allocations: 4 kB / 481.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1322, allocations: 7.875 kB / 481.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.1328, allocations: 0.4942 MB / 482.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.1329, allocations: 132.6 kB / 482.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.133, allocations: 8 kB / 482.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1331, allocations: 11.98 kB / 482.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.1332, allocations: 11.98 kB / 482.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.1332, allocations: 12 kB / 482.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.1334, allocations: 223 kB / 482.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1334, allocations: 7.938 kB / 482.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004461/0.1339, allocations: 100 kB / 482.7 MB, free: 13.07 MB / 366.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.0008373/0.1347, allocations: 1.044 MB / 483.8 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008672/0.1356, allocations: 0.6106 MB / 484.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1356, allocations: 8 kB / 484.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.1358, allocations: 123.9 kB / 484.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.1363, allocations: 67.5 kB / 484.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.1412, allocations: 4.076 MB / 488.7 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.1417, allocations: 0.8699 MB / 489.5 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003088/0.1421, allocations: 115.2 kB / 489.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.1423, allocations: 147.4 kB / 489.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1423, allocations: 0 / 489.8 MB, free: 5.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.1761, allocations: 7.502 MB / 497.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/9.027, allocations: 8 kB / 497.3 MB, free: 14.29 MB / 382.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