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.001099/0.001099, allocations: 111.6 kB / 17.06 MB, free: 6 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.001241/0.001241, allocations: 198.9 kB / 18 MB, free: 5.078 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.399/1.399, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1857/0.1857, allocations: 38.03 MB / 329.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 59.91 kB / 457.7 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4032, allocations: 58.05 MB / 0.5036 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003419/0.4067, allocations: 2.048 MB / 0.5056 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006651/0.4074, allocations: 0.5212 MB / 0.5061 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.4074, allocations: 1.094 kB / 0.5061 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.4076, allocations: 13.02 kB / 0.5061 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.4078, allocations: 34.95 kB / 0.5062 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.4081, allocations: 58.3 kB / 0.5062 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.4083, allocations: 67.28 kB / 0.5063 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.4083, allocations: 5.469 kB / 0.5063 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.4084, allocations: 28.64 kB / 0.5063 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/0.4085, allocations: 33.25 kB / 0.5064 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.4085, allocations: 1.062 kB / 0.5064 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.4087, allocations: 74.61 kB / 0.5064 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.4087, allocations: 19.81 kB / 0.5065 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.4088, allocations: 18 kB / 0.5065 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.409, allocations: 102.8 kB / 0.5066 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.409, allocations: 0 / 0.5066 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.409, allocations: 5 kB / 0.5066 GB, free: 5.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.409, allocations: 3.938 kB / 0.5066 GB, free: 5.5 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.0003844/0.4094, allocations: 399 kB / 0.507 GB, free: 5.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.4095, allocations: 13.7 kB / 0.507 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.4095, allocations: 38.41 kB / 0.507 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.4096, allocations: 8.609 kB / 0.507 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.4097, allocations: 181.3 kB / 0.5072 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4097, allocations: 1.531 kB / 0.5072 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.4097, allocations: 5 kB / 0.5072 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.4099, allocations: 62.84 kB / 0.5073 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.4099, allocations: 0 / 0.5073 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4099, allocations: 1.719 kB / 0.5073 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4099, allocations: 1.094 kB / 0.5073 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.353e-05/0.41, allocations: 28.52 kB / 0.5073 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.4101, allocations: 167.5 kB / 0.5074 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.4102, allocations: 62.8 kB / 0.5075 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.4103, allocations: 43.58 kB / 0.5075 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.4103, allocations: 5.859 kB / 0.5076 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4103, allocations: 31.69 kB / 0.5076 GB, free: 4.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.854e-06/0.4103, allocations: 11.81 kB / 0.5076 GB, free: 4.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003074/0.4106, allocations: 180.1 kB / 0.5078 GB, free: 4.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.4107, allocations: 86.61 kB / 0.5078 GB, free: 4.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.4108, allocations: 120.4 kB / 0.508 GB, free: 4.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.4108, allocations: 29.64 kB / 0.508 GB, free: 4.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.4108, allocations: 91.97 kB / 0.5081 GB, free: 4.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.4109, allocations: 35.2 kB / 0.5081 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.4109, allocations: 18.81 kB / 0.5081 GB, free: 4.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.411, allocations: 321.1 kB / 0.5084 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/0.411, allocations: 28.33 kB / 0.5085 GB, free: 3.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.4111, allocations: 29.56 kB / 0.5085 GB, free: 3.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.4112, allocations: 164.2 kB / 0.5086 GB, free: 3.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4112, allocations: 0 / 0.5086 GB, free: 3.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001587/0.4114, allocations: 145.5 kB / 0.5088 GB, free: 3.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.4115, allocations: 53.33 kB / 0.5088 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4115, allocations: 1.594 kB / 0.5088 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4115, allocations: 0 / 0.5088 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-06/0.4115, allocations: 4.5 kB / 0.5088 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4115, allocations: 0 / 0.5088 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.4115, allocations: 7.531 kB / 0.5088 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.4116, allocations: 2.969 kB / 0.5089 GB, free: 3.48 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 0.0001027/0.4117, allocations: 170.2 kB / 0.509 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.4117, allocations: 8.344 kB / 0.509 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.417e-05/0.4117, allocations: 11.16 kB / 0.509 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.4117, allocations: 1.406 kB / 0.509 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4117, allocations: 0 / 0.509 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4117, allocations: 0.75 kB / 0.509 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.4118, allocations: 179.6 kB / 0.5092 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4118, allocations: 1.25 kB / 0.5092 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-06/0.4119, allocations: 4.516 kB / 0.5092 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.4119, allocations: 3.938 kB / 0.5092 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4119, allocations: 3.812 kB / 0.5092 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4119, allocations: 1.531 kB / 0.5092 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4119, allocations: 4 kB / 0.5092 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.4122, allocations: 276.2 kB / 0.5095 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.4122, allocations: 87.72 kB / 0.5096 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.4123, allocations: 6.562 kB / 0.5096 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.4123, allocations: 2.094 kB / 0.5096 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.4123, allocations: 2.75 kB / 0.5096 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4124, allocations: 3.016 kB / 0.5096 GB, free: 2.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.766e-05/0.4124, allocations: 93.31 kB / 0.5097 GB, free: 2.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4124, allocations: 4.031 kB / 0.5097 GB, free: 2.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.4127, allocations: 37.73 kB / 0.5097 GB, free: 2.773 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.0007741/0.4135, allocations: 0.8197 MB / 0.5105 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004299/0.4139, allocations: 293 kB / 0.5108 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4139, allocations: 4.094 kB / 0.5108 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.4142, allocations: 223.9 kB / 0.511 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4145, allocations: 11.64 kB / 0.511 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.4164, allocations: 1.78 MB / 0.5128 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.4167, allocations: 0.6982 MB / 0.5134 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.347e-05/0.4167, allocations: 1.531 kB / 0.5134 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.4168, allocations: 18.62 kB / 0.5135 GB, free: 15.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4168, allocations: 0 / 0.5135 GB, free: 15.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.4362, allocations: 2.626 MB / 0.516 GB, free: 15.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/8.004, allocations: 12.84 kB / 0.516 GB, free: 15.39 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