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.001144/0.001144, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001168/0.001168, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.245/1.245, allocations: 222.9 MB / 241.1 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.162/0.162, allocations: 38.03 MB / 329.3 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 63.28 kB / 398.2 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.09239, allocations: 58.07 MB / 456.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003406/0.09583, allocations: 2.084 MB / 458.3 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006646/0.09653, allocations: 0.5339 MB / 458.9 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.09658, allocations: 3.938 kB / 458.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.0967, allocations: 3.938 kB / 458.9 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.0968, allocations: 23.89 kB / 458.9 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.09704, allocations: 67.84 kB / 459 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.09715, allocations: 111.7 kB / 459.1 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.0972, allocations: 4 kB / 459.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.786e-05/0.09727, allocations: 23.92 kB / 459.1 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.032e-05/0.09733, allocations: 39.78 kB / 459.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.777e-06/0.09734, allocations: 0 / 459.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.09749, allocations: 79.81 kB / 459.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.09754, allocations: 27.92 kB / 459.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.09758, allocations: 27.75 kB / 459.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.09775, allocations: 131.8 kB / 459.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09776, allocations: 0 / 459.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.09776, allocations: 0 / 459.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.09777, allocations: 0 / 459.4 MB, free: 5.215 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.0003434/0.09812, allocations: 436.8 kB / 459.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.09816, allocations: 12.03 kB / 459.8 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.09819, allocations: 42.73 kB / 459.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.09823, allocations: 12.75 kB / 459.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.09838, allocations: 196 kB / 460.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.09839, allocations: 384 / 460.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.0984, allocations: 3.938 kB / 460.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.09853, allocations: 89.67 kB / 460.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.09855, allocations: 0 / 460.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.09856, allocations: 3.938 kB / 460.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.09857, allocations: 4 kB / 460.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.443e-05/0.09864, allocations: 59.97 kB / 460.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.09877, allocations: 177.5 kB / 460.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.002e-05/0.09887, allocations: 94.5 kB / 460.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.991e-05/0.09894, allocations: 88.86 kB / 460.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.76e-06/0.09896, allocations: 0 / 460.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.09899, allocations: 34.56 kB / 460.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 8.12e-07/0.099, allocations: 4 kB / 460.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003599/0.09936, allocations: 310.2 kB / 460.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.09942, allocations: 97.05 kB / 461 MB, free: 3.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.09952, allocations: 132.2 kB / 461.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.09953, allocations: 29.69 kB / 461.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.09958, allocations: 92.58 kB / 461.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.09964, allocations: 74.81 kB / 461.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.09969, allocations: 29.7 kB / 461.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.09979, allocations: 330.9 kB / 461.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.09985, allocations: 51.98 kB / 461.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-05/0.0999, allocations: 55.97 kB / 461.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1001, allocations: 250.5 kB / 462.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1001, allocations: 3.938 kB / 462.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002047/0.1003, allocations: 223.2 kB / 462.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.1004, allocations: 57.67 kB / 462.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1004, allocations: 0 / 462.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.1004, allocations: 0 / 462.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.963e-06/0.1004, allocations: 12.05 kB / 462.4 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1004, allocations: 0 / 462.4 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.1005, allocations: 11.84 kB / 462.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.1005, allocations: 4 kB / 462.4 MB, free: 1.984 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.0001488/0.1006, allocations: 199.4 kB / 462.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1007, allocations: 15.81 kB / 462.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.1007, allocations: 9.172 kB / 462.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1007, allocations: 4 kB / 462.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1007, allocations: 0 / 462.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1007, allocations: 4 kB / 462.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1008, allocations: 205.4 kB / 462.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1008, allocations: 3.938 kB / 462.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.1008, allocations: 4 kB / 462.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1009, allocations: 0 / 462.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1009, allocations: 4 kB / 462.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1009, allocations: 0 / 462.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1009, allocations: 0 / 462.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.1014, allocations: 0.5164 MB / 463.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.1014, allocations: 88.95 kB / 463.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.1014, allocations: 4 kB / 463.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.352e-05/0.1015, allocations: 4 kB / 463.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1015, allocations: 7.984 kB / 463.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1015, allocations: 4 kB / 463.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.926e-05/0.1016, allocations: 99.27 kB / 463.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1016, allocations: 0 / 463.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1018, allocations: 44 kB / 463.6 MB, free: 0.6758 MB / 334.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.0007763/0.1026, allocations: 1.074 MB / 464.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005726/0.1032, allocations: 0.7022 MB / 465.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1032, allocations: 4 kB / 465.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003981/0.1036, allocations: 0.5579 MB / 465.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.1038, allocations: 34.47 kB / 465.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.1059, allocations: 2.473 MB / 468.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1062, allocations: 0.7242 MB / 469.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.029e-05/0.1062, allocations: 3.984 kB / 469.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.1063, allocations: 27.44 kB / 469.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1063, allocations: 0 / 469.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.1192, allocations: 3.283 MB / 472.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.1195, allocations: 215.8 kB / 472.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/1.812, allocations: 0 / 472.7 MB, free: 7.504 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