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.001101/0.001101, allocations: 106.2 kB / 16.62 MB, free: 6.957 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.001182/0.001182, allocations: 189.8 kB / 17.55 MB, free: 6.047 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.298/1.298, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1724/0.1724, allocations: 38.04 MB / 329.4 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.72 kB / 398.4 MB, free: 34.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.09578, allocations: 58.07 MB / 456.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005564/0.1014, allocations: 5.185 MB / 461.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.1036, allocations: 1.749 MB / 463.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1038, allocations: 23.81 kB / 463.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007115/0.1046, allocations: 259 kB / 463.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004552/0.105, allocations: 250.9 kB / 463.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.1056, allocations: 239.5 kB / 464.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.1062, allocations: 0.6118 MB / 464.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.1065, allocations: 268.3 kB / 465 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.1069, allocations: 262.9 kB / 465.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.1073, allocations: 350.8 kB / 465.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.1073, allocations: 36 kB / 465.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.1076, allocations: 135.8 kB / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.1078, allocations: 219.5 kB / 466 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.108, allocations: 250.8 kB / 466.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005403/0.1085, allocations: 0.5995 MB / 466.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1086, allocations: 0 / 466.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1086, allocations: 0 / 466.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1086, allocations: 0 / 466.9 MB, free: 13.87 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.00122/0.1098, allocations: 0.7698 MB / 467.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1098, allocations: 15.89 kB / 467.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.314e-05/0.1099, allocations: 86.7 kB / 467.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005528/0.1105, allocations: 84.31 kB / 467.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.1111, allocations: 400 kB / 468.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.1111, allocations: 37.36 kB / 468.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.1112, allocations: 51.92 kB / 468.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008296/0.1121, allocations: 0.6599 MB / 468.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.1121, allocations: 4 kB / 468.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.53e-05/0.1122, allocations: 23.97 kB / 469 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.1123, allocations: 48.97 kB / 469 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007012/0.113, allocations: 495.5 kB / 469.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.1161, allocations: 3.155 MB / 472.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.1165, allocations: 253.2 kB / 472.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.1167, allocations: 121.7 kB / 473 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.1168, allocations: 3.984 kB / 473 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1168, allocations: 38.55 kB / 473.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.1168, allocations: 0 / 473.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001372/0.1182, allocations: 0.8906 MB / 474 MB, free: 6.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.1182, allocations: 85.11 kB / 474 MB, free: 6.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.1185, allocations: 324.4 kB / 474.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1186, allocations: 33.7 kB / 474.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.1188, allocations: 298.9 kB / 474.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.1188, allocations: 86.8 kB / 474.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.119, allocations: 86.03 kB / 474.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1191, allocations: 354.8 kB / 475.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.1193, allocations: 132.8 kB / 475.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.1196, allocations: 317.1 kB / 475.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005463/0.1201, allocations: 0.5002 MB / 476.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1201, allocations: 0 / 476.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009857/0.1211, allocations: 0.5919 MB / 476.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1212, allocations: 8.719 kB / 476.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005793/0.1217, allocations: 333.3 kB / 477.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003956/0.1222, allocations: 117.6 kB / 477.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.1225, allocations: 87.83 kB / 477.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.1254, allocations: 3.282 MB / 480.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.1256, allocations: 19.98 kB / 480.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.1256, allocations: 20 kB / 480.6 MB, free: 15.18 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.0002459/0.1259, allocations: 217.8 kB / 480.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.126, allocations: 31.62 kB / 480.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005118/0.1265, allocations: 332.6 kB / 481.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1265, allocations: 0 / 481.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.1265, allocations: 7.938 kB / 481.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1265, allocations: 3.984 kB / 481.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1276, allocations: 0.7926 MB / 482 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1276, allocations: 8.062 kB / 482 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.1279, allocations: 59.84 kB / 482 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1279, allocations: 4 kB / 482 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1279, allocations: 7.984 kB / 482 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1279, allocations: 4 kB / 482 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.128, allocations: 0 / 482 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.1286, allocations: 0.5031 MB / 482.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.1287, allocations: 132.6 kB / 482.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.1288, allocations: 8 kB / 482.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.129, allocations: 11.98 kB / 482.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.129, allocations: 19.92 kB / 482.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1291, allocations: 7.938 kB / 482.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002825/0.1293, allocations: 223 kB / 482.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1294, allocations: 4 kB / 482.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005466/0.1299, allocations: 100 kB / 483 MB, free: 12.59 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.0008781/0.1308, allocations: 1.051 MB / 484.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009161/0.1317, allocations: 0.61 MB / 484.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1317, allocations: 4.125 kB / 484.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.132, allocations: 131.8 kB / 484.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.1325, allocations: 70.97 kB / 484.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/0.1376, allocations: 4.248 MB / 489.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.138, allocations: 0.8738 MB / 490 MB, free: 5.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.1383, allocations: 115.2 kB / 490.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.1385, allocations: 147.4 kB / 490.3 MB, free: 4.996 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1385, allocations: 0 / 490.3 MB, free: 4.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.1633, allocations: 7.41 MB / 497.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.1635, allocations: 227.5 kB / 497.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.126, allocations: 3.938 kB / 497.9 MB, free: 13.5 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