Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.0007498/0.0007498, allocations: 91.06 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.0007633/0.0007635, allocations: 174.6 kB / 17.56 MB, free: 6.184 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.247/1.247, allocations: 223.2 MB / 241.6 MB, free: 160 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1653/0.1653, allocations: 38.1 MB / 330.8 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002764, allocations: 12 kB / 400.8 MB, free: 34.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.09892, allocations: 59.17 MB / 460 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.001995/0.1009, allocations: 1.756 MB / 461.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006177/0.1016, allocations: 0.5222 MB / 462.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.1016, allocations: 0 / 462.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.1017, allocations: 11.92 kB / 462.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.024e-05/0.1018, allocations: 19.91 kB / 462.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1021, allocations: 59.86 kB / 462.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.1022, allocations: 119.6 kB / 462.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.1022, allocations: 4 kB / 462.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.848e-05/0.1023, allocations: 23.92 kB / 462.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.1024, allocations: 31.84 kB / 462.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.1024, allocations: 0 / 462.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1025, allocations: 83.81 kB / 462.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.1026, allocations: 27.86 kB / 462.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.1026, allocations: 53.45 kB / 462.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1028, allocations: 135.8 kB / 462.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1028, allocations: 0 / 462.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1028, allocations: 0 / 462.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1028, allocations: 4 kB / 462.8 MB, free: 4.133 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003283/0.1032, allocations: 428.8 kB / 463.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1032, allocations: 12.03 kB / 463.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.1032, allocations: 42.73 kB / 463.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.1033, allocations: 8.844 kB / 463.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.1034, allocations: 190.2 kB / 463.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.1034, allocations: 384 / 463.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1035, allocations: 3.938 kB / 463.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1036, allocations: 89.67 kB / 463.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.1036, allocations: 4 kB / 463.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.1036, allocations: 0 / 463.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.1036, allocations: 0 / 463.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.1037, allocations: 63.91 kB / 463.6 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1038, allocations: 185.4 kB / 463.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.338e-05/0.1039, allocations: 98.5 kB / 463.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/0.104, allocations: 88.86 kB / 464 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.104, allocations: 0 / 464 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1041, allocations: 38.56 kB / 464 MB, free: 2.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.874e-06/0.1041, allocations: 0 / 464 MB, free: 2.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003429/0.1044, allocations: 299.4 kB / 464.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1045, allocations: 97.09 kB / 464.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.822e-05/0.1046, allocations: 137.7 kB / 464.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1046, allocations: 25.7 kB / 464.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.1046, allocations: 96.56 kB / 464.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.1047, allocations: 74.92 kB / 464.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.1047, allocations: 21.72 kB / 464.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1048, allocations: 330.8 kB / 465.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.808e-05/0.1049, allocations: 55.98 kB / 465.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.804e-05/0.105, allocations: 47.98 kB / 465.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.1052, allocations: 254.1 kB / 465.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1052, allocations: 3.938 kB / 465.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002015/0.1054, allocations: 226.3 kB / 465.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.1055, allocations: 65.66 kB / 465.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1055, allocations: 64 / 465.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.1055, allocations: 4 kB / 465.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1055, allocations: 4 kB / 465.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1055, allocations: 0 / 465.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.1055, allocations: 11.84 kB / 465.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1056, allocations: 7.984 kB / 465.8 MB, free: 0.9102 MB / 334.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.0001355/0.1057, allocations: 195.4 kB / 466 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.1057, allocations: 15.89 kB / 466 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.191e-05/0.1058, allocations: 5.188 kB / 466 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1058, allocations: 8 kB / 466 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1058, allocations: 0 / 466 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.1058, allocations: 0 / 466 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.1059, allocations: 205.4 kB / 466.2 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1059, allocations: 0 / 466.2 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1059, allocations: 0 / 466.2 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1059, allocations: 0 / 466.2 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1059, allocations: 4 kB / 466.2 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1059, allocations: 0 / 466.2 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1059, allocations: 0 / 466.2 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.1064, allocations: 0.5177 MB / 466.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.1065, allocations: 92.86 kB / 466.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1065, allocations: 7.938 kB / 466.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.359e-05/0.1065, allocations: 7.938 kB / 466.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.1066, allocations: 0 / 466.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1066, allocations: 4 kB / 466.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.82e-05/0.1066, allocations: 109.8 kB / 466.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1066, allocations: 0 / 466.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1069, allocations: 44 kB / 467 MB, free: 15.6 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.0007844/0.1077, allocations: 1.062 MB / 468 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006062/0.1083, allocations: 0.6983 MB / 468.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1083, allocations: 0 / 468.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.1087, allocations: 0.5696 MB / 469.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.109, allocations: 23.27 kB / 469.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.1113, allocations: 2.482 MB / 471.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1115, allocations: 0.7242 MB / 472.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.731e-05/0.1116, allocations: 0 / 472.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.1116, allocations: 27.42 kB / 472.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1116, allocations: 0 / 472.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.1248, allocations: 3.22 MB / 475.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/0.1251, allocations: 214.7 kB / 476 MB, free: 6.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/1.822, allocations: 0 / 476 MB, free: 6.531 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches