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.0009472/0.0009473, allocations: 110 kB / 16.51 MB, free: 6.707 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.0009434/0.0009435, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.237/1.237, allocations: 222.9 MB / 241.1 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1628/0.1628, allocations: 38.04 MB / 329.3 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 61.03 kB / 398.2 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09429/0.09548, allocations: 58.06 MB / 456.3 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005695/0.1012, allocations: 5.193 MB / 461.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.1038, allocations: 1.768 MB / 463.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.104, allocations: 23.88 kB / 463.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.1048, allocations: 270.9 kB / 463.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.1053, allocations: 246.9 kB / 463.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.1058, allocations: 227.6 kB / 464 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007882/0.1066, allocations: 0.9238 MB / 464.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.107, allocations: 240.2 kB / 465.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.1073, allocations: 230.9 kB / 465.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.1078, allocations: 334.9 kB / 465.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.415e-05/0.1078, allocations: 27.98 kB / 465.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.1081, allocations: 139.7 kB / 465.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.1083, allocations: 211.4 kB / 466 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.1085, allocations: 230.8 kB / 466.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.109, allocations: 0.5879 MB / 466.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.109, allocations: 4 kB / 466.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.109, allocations: 0 / 466.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.109, allocations: 0 / 466.9 MB, free: 13.73 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.00124/0.1103, allocations: 0.7659 MB / 467.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1103, allocations: 8.031 kB / 467.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.65e-05/0.1104, allocations: 90.7 kB / 467.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005509/0.111, allocations: 92.25 kB / 467.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.1116, allocations: 392.1 kB / 468.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.1116, allocations: 37.3 kB / 468.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.1117, allocations: 51.92 kB / 468.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008355/0.1126, allocations: 0.6599 MB / 468.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1126, allocations: 8 kB / 469 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/0.1127, allocations: 23.92 kB / 469 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.1128, allocations: 44.97 kB / 469 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/0.1135, allocations: 495.5 kB / 469.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.1164, allocations: 3.159 MB / 472.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.1169, allocations: 245.3 kB / 472.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.117, allocations: 121.7 kB / 473 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1171, allocations: 11.97 kB / 473 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1171, allocations: 38.56 kB / 473.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.1171, allocations: 0 / 473.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001379/0.1185, allocations: 0.8839 MB / 474 MB, free: 6.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1186, allocations: 85.23 kB / 474 MB, free: 6.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.1189, allocations: 332.4 kB / 474.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1189, allocations: 29.7 kB / 474.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1191, allocations: 295 kB / 474.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.1192, allocations: 86.8 kB / 474.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1193, allocations: 86.03 kB / 474.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1194, allocations: 350.7 kB / 475.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.1196, allocations: 132.8 kB / 475.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.1199, allocations: 321.1 kB / 475.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/0.1205, allocations: 0.4963 MB / 476.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1205, allocations: 4 kB / 476.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009787/0.1215, allocations: 0.5881 MB / 476.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1215, allocations: 8 kB / 476.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000581/0.1221, allocations: 337.9 kB / 477.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/0.1225, allocations: 109.6 kB / 477.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.1228, allocations: 87.83 kB / 477.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/0.1252, allocations: 3.041 MB / 480.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.1254, allocations: 20 kB / 480.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.1255, allocations: 23.98 kB / 480.3 MB, free: 15.29 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.0002157/0.1257, allocations: 217.8 kB / 480.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.1258, allocations: 27.81 kB / 480.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.1263, allocations: 328.7 kB / 480.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1263, allocations: 0 / 480.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1263, allocations: 4 kB / 480.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1263, allocations: 0 / 480.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1273, allocations: 0.8119 MB / 481.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1273, allocations: 12 kB / 481.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.1276, allocations: 51.97 kB / 481.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1276, allocations: 4 kB / 481.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.1276, allocations: 8 kB / 481.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1277, allocations: 3.938 kB / 481.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1277, allocations: 3.938 kB / 481.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005789/0.1282, allocations: 0.4992 MB / 482.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1284, allocations: 132.7 kB / 482.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.1284, allocations: 8 kB / 482.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.1286, allocations: 11.98 kB / 482.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.1286, allocations: 23.84 kB / 482.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.1287, allocations: 8 kB / 482.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1288, allocations: 219.1 kB / 482.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1289, allocations: 4 kB / 482.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.1293, allocations: 100 kB / 482.8 MB, free: 12.71 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.0008099/0.1301, allocations: 1.048 MB / 483.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000787/0.1309, allocations: 0.5828 MB / 484.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1309, allocations: 4.062 kB / 484.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.1311, allocations: 119.8 kB / 484.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1316, allocations: 76.08 kB / 484.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.1363, allocations: 4.239 MB / 488.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.1368, allocations: 0.8776 MB / 489.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002988/0.1371, allocations: 111.2 kB / 489.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.1372, allocations: 147.4 kB / 490 MB, free: 5.16 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1372, allocations: 0 / 490 MB, free: 5.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.1564, allocations: 7.249 MB / 497.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.1567, allocations: 226.3 kB / 497.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.936, allocations: 4.062 kB / 497.5 MB, free: 13.8 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","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches