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.001395/0.001395, allocations: 109.7 kB / 16.62 MB, free: 6.961 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.00159/0.00159, allocations: 189.8 kB / 17.55 MB, free: 6.066 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.289/1.289, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1752/0.1752, allocations: 38.03 MB / 329.4 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.56 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09877, allocations: 58.07 MB / 456.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006396/0.1052, allocations: 5.224 MB / 461.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.1083, allocations: 1.648 MB / 463.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005057/0.1088, allocations: 23.88 kB / 463.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.11, allocations: 361.5 kB / 463.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006602/0.1106, allocations: 219.1 kB / 463.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.1114, allocations: 223.6 kB / 464.1 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007551/0.1122, allocations: 0.569 MB / 464.7 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000608/0.1128, allocations: 350.5 kB / 465 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.1132, allocations: 266.9 kB / 465.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005226/0.1137, allocations: 330.9 kB / 465.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.1138, allocations: 36 kB / 465.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.1141, allocations: 143.8 kB / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.1144, allocations: 223.5 kB / 466 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.1146, allocations: 250.7 kB / 466.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00064/0.1153, allocations: 0.5918 MB / 466.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1153, allocations: 4 kB / 466.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1153, allocations: 0 / 466.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.1153, 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001394/0.1167, allocations: 0.7698 MB / 467.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1168, allocations: 11.89 kB / 467.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.1169, allocations: 90.72 kB / 467.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.1175, allocations: 92.3 kB / 467.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.1181, allocations: 396 kB / 468.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.1182, allocations: 37.34 kB / 468.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.1183, allocations: 55.88 kB / 468.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009372/0.1193, allocations: 0.6333 MB / 468.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.1193, allocations: 7.938 kB / 468.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.1193, allocations: 27.97 kB / 469 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.1195, allocations: 32.98 kB / 469 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/0.1202, allocations: 479.5 kB / 469.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.1236, allocations: 3.026 MB / 472.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.1239, allocations: 181 kB / 472.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.1241, allocations: 101.7 kB / 472.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.1241, allocations: 4 kB / 472.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1241, allocations: 42.5 kB / 472.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.1241, allocations: 0 / 472.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001354/0.1255, allocations: 0.8341 MB / 473.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.1256, allocations: 85.06 kB / 473.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.1259, allocations: 349.5 kB / 474.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.1259, allocations: 25.83 kB / 474.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.1261, allocations: 307 kB / 474.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.1262, allocations: 78.91 kB / 474.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.1263, allocations: 86.03 kB / 474.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1265, allocations: 342.8 kB / 474.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.1267, allocations: 128.7 kB / 475 MB, free: 5.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.127, allocations: 334.9 kB / 475.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.1276, allocations: 0.5007 MB / 475.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1276, allocations: 3.938 kB / 475.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001006/0.1286, allocations: 0.5483 MB / 476.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1286, allocations: 11.98 kB / 476.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005235/0.1292, allocations: 279.5 kB / 476.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.1295, allocations: 84.78 kB / 476.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.1298, allocations: 87.83 kB / 476.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.1315, allocations: 1.734 MB / 478.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.1318, allocations: 16 kB / 478.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.1318, allocations: 27.88 kB / 478.6 MB, free: 1.27 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.0002303/0.1321, allocations: 221.7 kB / 478.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.1321, allocations: 35.62 kB / 478.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/0.1326, allocations: 296.6 kB / 479.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1327, allocations: 4 kB / 479.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.1327, allocations: 0 / 479.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1327, allocations: 0 / 479.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.1342, allocations: 0.7908 MB / 480 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1343, allocations: 0 / 480 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.1347, allocations: 51.91 kB / 480 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.1348, allocations: 4 kB / 480 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.1348, allocations: 15.92 kB / 480 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1348, allocations: 3.938 kB / 480 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.1348, allocations: 4 kB / 480 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.1358, allocations: 477.4 kB / 480.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1359, allocations: 108.7 kB / 480.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.136, allocations: 7.938 kB / 480.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.1362, allocations: 11.98 kB / 480.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.1363, allocations: 23.92 kB / 480.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.1363, allocations: 4 kB / 480.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003216/0.1367, allocations: 235.2 kB / 480.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1367, allocations: 0 / 480.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006371/0.1373, allocations: 92 kB / 481 MB, free: 14.8 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.001165/0.1385, allocations: 1.015 MB / 482 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.1396, allocations: 474.9 kB / 482.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1397, allocations: 0 / 482.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.1399, allocations: 110.8 kB / 482.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.1407, allocations: 70.44 kB / 482.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007503/0.1482, allocations: 4.171 MB / 486.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006437/0.1489, allocations: 0.8701 MB / 487.7 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004815/0.1494, allocations: 111.2 kB / 487.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.1497, allocations: 147.4 kB / 487.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1497, allocations: 0 / 487.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.1779, allocations: 7.205 MB / 495.1 MB, free: 468 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.1782, allocations: 229.3 kB / 495.4 MB, free: 204 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.069, allocations: 0 / 495.4 MB, free: 204 kB / 366.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches