Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.001688/0.001688, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001789/0.001789, allocations: 197.3 kB / 18.01 MB, free: 5.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.435/1.435, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1776/0.1776, allocations: 38.04 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 59.89 kB / 457.7 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.323, allocations: 58.06 MB / 0.5036 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002925/0.326, allocations: 2.032 MB / 0.5056 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006641/0.3266, allocations: 0.5298 MB / 0.5061 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.3267, allocations: 1.125 kB / 0.5061 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.3269, allocations: 10.38 kB / 0.5061 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.327, allocations: 32.92 kB / 0.5062 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.3273, allocations: 63.08 kB / 0.5062 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.3274, allocations: 58.89 kB / 0.5063 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.3275, allocations: 3.625 kB / 0.5063 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.3275, allocations: 33.19 kB / 0.5063 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.3276, allocations: 33.05 kB / 0.5064 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.3276, allocations: 1.125 kB / 0.5064 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.3278, allocations: 78.7 kB / 0.5064 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.3278, allocations: 14.64 kB / 0.5065 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.3278, allocations: 19.14 kB / 0.5065 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.328, allocations: 107.7 kB / 0.5066 GB, free: 5.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3281, allocations: 4 kB / 0.5066 GB, free: 5.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3281, allocations: 0 / 0.5066 GB, free: 5.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.3281, allocations: 4.734 kB / 0.5066 GB, free: 5.457 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003126/0.3284, allocations: 398.9 kB / 0.507 GB, free: 5.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3284, allocations: 14.55 kB / 0.507 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/0.3285, allocations: 37.77 kB / 0.507 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.3285, allocations: 8.672 kB / 0.507 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3286, allocations: 182.1 kB / 0.5072 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3287, allocations: 384 / 0.5072 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.3287, allocations: 13.38 kB / 0.5072 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.3288, allocations: 59.17 kB / 0.5073 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3288, allocations: 1.219 kB / 0.5073 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.3288, allocations: 1.969 kB / 0.5073 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3288, allocations: 0 / 0.5073 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.3289, allocations: 28.91 kB / 0.5073 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.329, allocations: 167.9 kB / 0.5075 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.564e-05/0.3291, allocations: 63.05 kB / 0.5075 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.3291, allocations: 47.66 kB / 0.5076 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.3291, allocations: 1.406 kB / 0.5076 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3292, allocations: 32.39 kB / 0.5076 GB, free: 4.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 9.42e-07/0.3292, allocations: 3.938 kB / 0.5076 GB, free: 4.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002859/0.3295, allocations: 178 kB / 0.5078 GB, free: 4.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.3295, allocations: 88.08 kB / 0.5078 GB, free: 4.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.3296, allocations: 123.8 kB / 0.508 GB, free: 4.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.3296, allocations: 30.44 kB / 0.508 GB, free: 4.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.3297, allocations: 87.12 kB / 0.5081 GB, free: 4.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.3297, allocations: 36.38 kB / 0.5081 GB, free: 3.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.3297, allocations: 22.2 kB / 0.5081 GB, free: 3.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.123e-05/0.3298, allocations: 320.8 kB / 0.5084 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.139e-05/0.3298, allocations: 29.06 kB / 0.5085 GB, free: 3.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/0.3299, allocations: 29.77 kB / 0.5085 GB, free: 3.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.33, allocations: 163.5 kB / 0.5087 GB, free: 3.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.33, allocations: 4.031 kB / 0.5087 GB, free: 3.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001344/0.3301, allocations: 148.5 kB / 0.5088 GB, free: 3.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.3302, allocations: 50.09 kB / 0.5088 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3302, allocations: 0 / 0.5088 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3302, allocations: 5.094 kB / 0.5089 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.3302, allocations: 0.5156 kB / 0.5089 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3302, allocations: 0 / 0.5089 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.3303, allocations: 12.09 kB / 0.5089 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.3303, allocations: 2.156 kB / 0.5089 GB, free: 3.43 MB / 382.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 9.389e-05/0.3304, allocations: 173.3 kB / 0.509 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.3304, allocations: 9.328 kB / 0.509 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.365e-05/0.3304, allocations: 8 kB / 0.509 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3304, allocations: 0 / 0.509 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3305, allocations: 1.125 kB / 0.509 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-06/0.3305, allocations: 0 / 0.509 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.085e-05/0.3305, allocations: 179.7 kB / 0.5092 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3306, allocations: 0.7188 kB / 0.5092 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-06/0.3306, allocations: 0.7969 kB / 0.5092 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3306, allocations: 5.406 kB / 0.5092 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.3306, allocations: 1.875 kB / 0.5092 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3306, allocations: 6.719 kB / 0.5092 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3306, allocations: 0 / 0.5092 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.3309, allocations: 278.7 kB / 0.5095 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.3309, allocations: 87.89 kB / 0.5096 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.3309, allocations: 8.062 kB / 0.5096 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.772e-05/0.3309, allocations: 2.375 kB / 0.5096 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.331, allocations: 1.953 kB / 0.5096 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.331, allocations: 2.406 kB / 0.5096 GB, free: 2.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.765e-05/0.331, allocations: 97.5 kB / 0.5097 GB, free: 2.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.331, allocations: 1.25 kB / 0.5097 GB, free: 2.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.3313, allocations: 32.33 kB / 0.5097 GB, free: 2.727 MB / 382.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.0005264/0.3318, allocations: 0.8287 MB / 0.5105 GB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.3321, allocations: 296.5 kB / 0.5108 GB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3322, allocations: 0 / 0.5108 GB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.3323, allocations: 223.6 kB / 0.511 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.3326, allocations: 18.64 kB / 0.511 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3342, allocations: 1.771 MB / 0.5128 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.3344, allocations: 0.6982 MB / 0.5135 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.691e-05/0.3344, allocations: 5.094 kB / 0.5135 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.3345, allocations: 22.61 kB / 0.5135 GB, free: 15.78 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3345, allocations: 0 / 0.5135 GB, free: 15.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/0.4434, allocations: 2.571 MB / 0.516 GB, free: 15.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/8.7, allocations: 12.94 kB / 0.516 GB, free: 15.35 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches