Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.001015/0.001015, allocations: 90.17 kB / 16.65 MB, free: 6.535 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.001032/0.001032, allocations: 178.5 kB / 17.56 MB, free: 6.18 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.265/1.265, allocations: 223.2 MB / 241.6 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1661/0.1661, allocations: 38.09 MB / 330.8 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002888, allocations: 8 kB / 400.8 MB, free: 34.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09557, allocations: 59.17 MB / 460 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004973/0.1006, allocations: 4.83 MB / 464.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.103, allocations: 1.636 MB / 466.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.1032, allocations: 23.88 kB / 466.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.1034, allocations: 63.55 kB / 466.5 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.1038, allocations: 211 kB / 466.7 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.1044, allocations: 227.6 kB / 467 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007058/0.1051, allocations: 0.8458 MB / 467.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008353/0.106, allocations: 0.5884 MB / 468.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.1062, allocations: 203.1 kB / 468.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.1067, allocations: 314.9 kB / 468.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.1067, allocations: 16 kB / 468.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.107, allocations: 131.8 kB / 469 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.1072, allocations: 219.4 kB / 469.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.1074, allocations: 252.4 kB / 469.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004965/0.1079, allocations: 0.5683 MB / 470.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1079, allocations: 0 / 470.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1079, allocations: 0 / 470.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1079, allocations: 0 / 470.1 MB, free: 12.84 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001079/0.109, allocations: 0.6842 MB / 470.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.109, allocations: 8.031 kB / 470.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.036e-05/0.1091, allocations: 90.7 kB / 470.9 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005333/0.1097, allocations: 92.2 kB / 470.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.1102, allocations: 400 kB / 471.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.1102, allocations: 29.38 kB / 471.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.1104, allocations: 51.94 kB / 471.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008364/0.1112, allocations: 0.6489 MB / 472.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.1112, allocations: 11.94 kB / 472.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.1113, allocations: 16 kB / 472.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.1114, allocations: 28.98 kB / 472.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.1121, allocations: 479.5 kB / 472.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.1151, allocations: 3.03 MB / 475.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.1154, allocations: 185 kB / 475.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1155, allocations: 101.7 kB / 475.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1155, allocations: 3.984 kB / 475.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1156, allocations: 38.56 kB / 475.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.1156, allocations: 0 / 475.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001242/0.1168, allocations: 0.8383 MB / 476.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.1169, allocations: 85.06 kB / 476.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.1172, allocations: 349.4 kB / 477.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1172, allocations: 29.7 kB / 477.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.1174, allocations: 299 kB / 477.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.1175, allocations: 86.83 kB / 477.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.1175, allocations: 41.7 kB / 477.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1177, allocations: 346.8 kB / 478 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.1179, allocations: 128.8 kB / 478.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1182, allocations: 334.8 kB / 478.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.1187, allocations: 0.4902 MB / 478.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.1187, allocations: 11.92 kB / 478.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009142/0.1196, allocations: 0.547 MB / 479.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1197, allocations: 11.94 kB / 479.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004871/0.1202, allocations: 276.4 kB / 479.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/0.1205, allocations: 80.78 kB / 479.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.1208, allocations: 99.81 kB / 479.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.1222, allocations: 1.597 MB / 481.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1225, allocations: 23.98 kB / 481.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.1225, allocations: 24 kB / 481.6 MB, free: 0.5078 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002156/0.1227, allocations: 221.6 kB / 481.8 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.1228, allocations: 31.62 kB / 481.8 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/0.1233, allocations: 291.5 kB / 482.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1233, allocations: 4 kB / 482.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.1233, allocations: 0 / 482.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1233, allocations: 0 / 482.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.1244, allocations: 0.7948 MB / 482.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1244, allocations: 0 / 482.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.1247, allocations: 59.91 kB / 483 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1247, allocations: 0 / 483 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.1247, allocations: 7.984 kB / 483 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1247, allocations: 4 kB / 483 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1247, allocations: 4.062 kB / 483 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.1252, allocations: 482.8 kB / 483.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.1253, allocations: 108.7 kB / 483.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.1254, allocations: 8 kB / 483.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1255, allocations: 11.98 kB / 483.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.1256, allocations: 19.92 kB / 483.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1256, allocations: 8 kB / 483.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.1258, allocations: 231.2 kB / 483.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1258, allocations: 0 / 483.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000421/0.1262, allocations: 100 kB / 483.9 MB, free: 14.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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.0008131/0.1271, allocations: 1.01 MB / 485 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006666/0.1277, allocations: 447.3 kB / 485.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1278, allocations: 0 / 485.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.1279, allocations: 118.8 kB / 485.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.1284, allocations: 66.2 kB / 485.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/0.1332, allocations: 4.24 MB / 489.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.1337, allocations: 0.8736 MB / 490.7 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002912/0.134, allocations: 115.2 kB / 490.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.1342, allocations: 143.4 kB / 490.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1342, allocations: 0 / 490.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.17, allocations: 6.911 MB / 497.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/0.1703, allocations: 232.3 kB / 498.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/1.972, allocations: 0 / 498.1 MB, free: 15.69 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches