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.001605/0.001605, allocations: 107.4 kB / 16.92 MB, free: 6.145 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.001697/0.001697, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.366/1.366, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1807/0.1807, allocations: 38.04 MB / 329.7 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 61.08 kB / 398.9 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09522, allocations: 58.07 MB / 457 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003605/0.09886, allocations: 2.043 MB / 459 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009273/0.09982, allocations: 0.5221 MB / 459.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.0999, allocations: 0 / 459.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.1001, allocations: 11.92 kB / 459.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1002, allocations: 27.83 kB / 459.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.1006, allocations: 63.84 kB / 459.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.1008, allocations: 63.72 kB / 459.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.1008, allocations: 7.984 kB / 459.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/0.1009, allocations: 27.91 kB / 459.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.101, allocations: 27.84 kB / 459.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.101, allocations: 4 kB / 459.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1012, allocations: 79.83 kB / 459.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.1012, allocations: 23.92 kB / 459.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.1013, allocations: 15.81 kB / 459.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1015, allocations: 108 kB / 460 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1015, allocations: 3.938 kB / 460 MB, free: 4.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1015, allocations: 0 / 460 MB, free: 4.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1015, allocations: 0 / 460 MB, free: 4.91 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003793/0.1019, allocations: 397 kB / 460.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1019, allocations: 11.89 kB / 460.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.102, allocations: 38.75 kB / 460.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.102, allocations: 8.844 kB / 460.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.1022, allocations: 180.2 kB / 460.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1022, allocations: 4.375 kB / 460.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1022, allocations: 7.875 kB / 460.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1023, allocations: 65.67 kB / 460.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1024, allocations: 0 / 460.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1024, allocations: 4 kB / 460.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1024, allocations: 0 / 460.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.1024, allocations: 27.98 kB / 460.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.1026, allocations: 165.5 kB / 460.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.604e-05/0.1027, allocations: 66.44 kB / 461 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.1027, allocations: 40.88 kB / 461 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-06/0.1027, allocations: 4 kB / 461 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1028, allocations: 34.56 kB / 461 MB, free: 3.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.1028, allocations: 0 / 461 MB, free: 3.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002638/0.103, allocations: 179.5 kB / 461.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1031, allocations: 89.09 kB / 461.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1032, allocations: 126 kB / 461.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1032, allocations: 25.7 kB / 461.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.1033, allocations: 88.14 kB / 461.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.1033, allocations: 39.36 kB / 461.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.1034, allocations: 29.73 kB / 461.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1035, allocations: 322.8 kB / 461.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/0.1035, allocations: 24 kB / 461.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.1036, allocations: 27.98 kB / 462 MB, free: 2.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1037, allocations: 156.2 kB / 462.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1037, allocations: 0 / 462.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001738/0.1039, allocations: 151.2 kB / 462.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.104, allocations: 49.61 kB / 462.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.104, allocations: 0 / 462.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.104, allocations: 64 / 462.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.104, allocations: 4 kB / 462.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.104, allocations: 4 kB / 462.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.1041, allocations: 0 / 462.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.1041, allocations: 4 kB / 462.3 MB, free: 2.309 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.0001436/0.1042, allocations: 167.5 kB / 462.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.1043, allocations: 11.84 kB / 462.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.722e-05/0.1043, allocations: 12.36 kB / 462.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1043, allocations: 0 / 462.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1043, allocations: 4 kB / 462.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1043, allocations: 4 kB / 462.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.1045, allocations: 189.4 kB / 462.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1045, allocations: 0 / 462.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1045, allocations: 0 / 462.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1045, allocations: 0 / 462.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1045, allocations: 4 kB / 462.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1045, allocations: 0 / 462.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1045, allocations: 0 / 462.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.1049, allocations: 282.5 kB / 463 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.1049, allocations: 92.98 kB / 463.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.105, allocations: 7.938 kB / 463.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/0.105, allocations: 0 / 463.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.105, allocations: 4 kB / 463.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.105, allocations: 4 kB / 463.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.672e-05/0.1051, allocations: 99.81 kB / 463.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1051, allocations: 0 / 463.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1053, allocations: 28 kB / 463.2 MB, free: 1.305 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.0006496/0.106, allocations: 0.829 MB / 464 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.1063, allocations: 295.2 kB / 464.3 MB, free: 144 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1063, allocations: 0 / 464.3 MB, free: 144 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.1065, allocations: 219.3 kB / 464.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1068, allocations: 20.06 kB / 464.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.1085, allocations: 1.741 MB / 466.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1087, allocations: 0.704 MB / 467 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.787e-05/0.1088, allocations: 7.859 kB / 467 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.1088, allocations: 19.44 kB / 467 MB, free: 13.31 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1088, allocations: 4.031 kB / 467 MB, free: 13.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.1301, allocations: 2.531 MB / 469.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.182, allocations: 0.5 kB / 469.6 MB, free: 10.88 MB / 350.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