Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.0007657/0.0007658, allocations: 93.45 kB / 16.65 MB, free: 6.59 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.0007959/0.0007959, allocations: 183.4 kB / 17.57 MB, free: 6.199 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.229/1.229, allocations: 223.2 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1618/0.1618, allocations: 38.09 MB / 330.8 MB, free: 8.594 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003233, allocations: 8 kB / 400.8 MB, free: 34.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09838/0.09872, allocations: 59.17 MB / 460 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002187/0.1009, allocations: 1.756 MB / 461.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006262/0.1016, allocations: 0.5261 MB / 462.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.1016, allocations: 0 / 462.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.1017, allocations: 11.92 kB / 462.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.97e-05/0.1018, allocations: 19.91 kB / 462.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.1021, allocations: 59.84 kB / 462.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1022, allocations: 115.6 kB / 462.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1022, allocations: 8 kB / 462.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.1023, allocations: 23.92 kB / 462.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.1024, allocations: 35.83 kB / 462.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.1024, allocations: 0 / 462.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1025, allocations: 79.83 kB / 462.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.1026, allocations: 39.84 kB / 462.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.1026, allocations: 69.27 kB / 462.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.1028, allocations: 155.7 kB / 462.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1028, allocations: 4 kB / 462.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1028, allocations: 0 / 462.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1028, allocations: 0 / 462.9 MB, free: 4.027 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003884/0.1032, allocations: 472.6 kB / 463.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1033, allocations: 8.031 kB / 463.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.1033, allocations: 46.73 kB / 463.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.1033, allocations: 12.75 kB / 463.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.1035, allocations: 210.5 kB / 463.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1035, allocations: 0 / 463.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.1035, allocations: 0 / 463.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1037, allocations: 134.5 kB / 463.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1037, allocations: 0 / 463.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.1037, allocations: 4 kB / 463.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1038, allocations: 4 kB / 463.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/0.1038, allocations: 92.3 kB / 463.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.104, allocations: 202 kB / 464 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1042, allocations: 146.9 kB / 464.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.1043, allocations: 145.2 kB / 464.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.1043, allocations: 3.938 kB / 464.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1043, allocations: 34.56 kB / 464.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 8.31e-07/0.1043, allocations: 0 / 464.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0004854/0.1048, allocations: 475.9 kB / 464.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.1049, allocations: 105.1 kB / 464.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.105, allocations: 146.4 kB / 465.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.105, allocations: 25.7 kB / 465.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.1051, allocations: 96.8 kB / 465.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.1052, allocations: 133.9 kB / 465.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.1052, allocations: 25.7 kB / 465.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1053, allocations: 342.8 kB / 465.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.1054, allocations: 91.97 kB / 465.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.967e-05/0.1055, allocations: 96.89 kB / 465.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.1058, allocations: 364.4 kB / 466.2 MB, free: 428 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1058, allocations: 0 / 466.2 MB, free: 428 kB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003003/0.1061, allocations: 323 kB / 466.5 MB, free: 92 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.1062, allocations: 85.62 kB / 466.6 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1062, allocations: 0 / 466.6 MB, free: 0 / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.1062, allocations: 4.047 kB / 466.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.1062, allocations: 0 / 466.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.1062, allocations: 4.062 kB / 466.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.1063, allocations: 19.75 kB / 466.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.1063, allocations: 8 kB / 466.7 MB, free: 15.96 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.1065, allocations: 239.3 kB / 466.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.1065, allocations: 19.81 kB / 466.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.1065, allocations: 17.91 kB / 466.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1065, allocations: 0 / 466.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1065, allocations: 3.984 kB / 466.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1065, allocations: 0 / 466.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1067, allocations: 241.2 kB / 467.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1067, allocations: 0 / 467.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1067, allocations: 3.938 kB / 467.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1067, allocations: 0 / 467.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.1067, allocations: 8 kB / 467.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1067, allocations: 0 / 467.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1068, allocations: 0 / 467.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.1076, allocations: 0.9042 MB / 468.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.1076, allocations: 96.89 kB / 468.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.1077, allocations: 8 kB / 468.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.276e-05/0.1077, allocations: 4 kB / 468.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.1077, allocations: 8 kB / 468.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1078, allocations: 4 kB / 468.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.408e-05/0.1078, allocations: 122.2 kB / 468.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.1079, allocations: 0 / 468.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1081, allocations: 63.94 kB / 468.4 MB, free: 14.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.001102/0.1092, allocations: 1.453 MB / 469.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.1104, allocations: 1.581 MB / 471.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1104, allocations: 0 / 471.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009407/0.1114, allocations: 1.37 MB / 472.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1116, allocations: 24.09 kB / 472.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.1148, allocations: 3.498 MB / 476.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1151, allocations: 0.7481 MB / 477.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.709e-05/0.1151, allocations: 0 / 477.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.1152, allocations: 43.42 kB / 477.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1152, allocations: 0 / 477.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.1404, allocations: 4.378 MB / 481.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.1406, allocations: 214.2 kB / 481.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/1.833, allocations: 0 / 481.7 MB, free: 0.7773 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches