Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 211.4 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1865/0.1865, allocations: 38.56 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.91 kB / 492.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3299, allocations: 62.46 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.00937/0.3393, allocations: 6.433 MB / 0.5482 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004166/0.3435, allocations: 2.013 MB / 0.5502 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004695/0.3439, allocations: 31.28 kB / 0.5502 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.3455, allocations: 0.4895 MB / 0.5507 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.347, allocations: 0.5703 MB / 0.5512 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3481, allocations: 363.1 kB / 0.5516 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.3498, allocations: 1.294 MB / 0.5529 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008701/0.3507, allocations: 0.5307 MB / 0.5534 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.3518, allocations: 0.5607 MB / 0.5539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.3529, allocations: 0.7539 MB / 0.5547 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.3531, allocations: 109 kB / 0.5548 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.3542, allocations: 0.6012 MB / 0.5554 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000542/0.3548, allocations: 482.8 kB / 0.5558 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006132/0.3554, allocations: 450.2 kB / 0.5562 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.3573, allocations: 1.557 MB / 0.5578 GB, free: 4.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3573, allocations: 4 kB / 0.5578 GB, free: 4.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3573, allocations: 0 / 0.5578 GB, free: 4.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.3574, allocations: 4 kB / 0.5578 GB, free: 4.031 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003217/0.3606, allocations: 1.326 MB / 0.5591 GB, free: 2.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3606, allocations: 15.98 kB / 0.5591 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.3608, allocations: 139.8 kB / 0.5592 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008767/0.3617, allocations: 172.2 kB / 0.5594 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.3633, allocations: 0.6268 MB / 0.56 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003437/0.3636, allocations: 337.6 kB / 0.5603 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.3638, allocations: 79.98 kB / 0.5604 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.3663, allocations: 1.406 MB / 0.5618 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.3663, allocations: 0 / 0.5618 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.716e-05/0.3664, allocations: 39.92 kB / 0.5618 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/0.3667, allocations: 81.95 kB / 0.5619 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/0.3696, allocations: 1.514 MB / 0.5634 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007825/0.3774, allocations: 4.125 MB / 0.5674 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.3799, allocations: 1.125 MB / 0.5685 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.3813, allocations: 0.7075 MB / 0.5692 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.834e-05/0.3814, allocations: 8.656 kB / 0.5692 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.3815, allocations: 43.22 kB / 0.5692 GB, free: 7.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.426e-06/0.3815, allocations: 0 / 0.5692 GB, free: 7.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007538/0.389, allocations: 3.646 MB / 0.5728 GB, free: 4.305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.3891, allocations: 90.11 kB / 0.5729 GB, free: 4.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.3896, allocations: 409.8 kB / 0.5733 GB, free: 3.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.811e-05/0.3896, allocations: 33.7 kB / 0.5733 GB, free: 3.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.3899, allocations: 353.1 kB / 0.5736 GB, free: 3.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.3903, allocations: 372.8 kB / 0.574 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.3906, allocations: 154.7 kB / 0.5741 GB, free: 2.879 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3908, allocations: 378.8 kB / 0.5745 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.3919, allocations: 0.5954 MB / 0.5751 GB, free: 1.902 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.3932, allocations: 0.7463 MB / 0.5758 GB, free: 1.113 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.3957, allocations: 1.387 MB / 0.5772 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3957, allocations: 7.938 kB / 0.5772 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003123/0.3989, allocations: 1.525 MB / 0.5787 GB, free: 14.13 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.3989, allocations: 8 kB / 0.5787 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3989, allocations: 4 kB / 0.5787 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.3991, allocations: 41.03 kB / 0.5787 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/0.4017, allocations: 0.4953 MB / 0.5792 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007606/0.4093, allocations: 6.264 MB / 0.5853 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009185/0.4102, allocations: 79.89 kB / 0.5854 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.532e-05/0.4103, allocations: 28.08 kB / 0.5854 GB, free: 6.762 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006319/0.4109, allocations: 325.6 kB / 0.5857 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.4112, allocations: 75.5 kB / 0.5858 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/0.4144, allocations: 1.517 MB / 0.5873 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.964e-05/0.4144, allocations: 20 kB / 0.5873 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.4144, allocations: 4 kB / 0.5873 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4144, allocations: 3.984 kB / 0.5873 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005311/0.4197, allocations: 2.656 MB / 0.5899 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.4197, allocations: 3.938 kB / 0.5899 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002817/0.4226, allocations: 0.5268 MB / 0.5904 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001386/0.4227, allocations: 36.84 kB / 0.5904 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.4228, allocations: 27.98 kB / 0.5905 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.4241, allocations: 1.519 MB / 0.592 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4242, allocations: 4 kB / 0.592 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004324/0.4285, allocations: 2.476 MB / 0.5944 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.4287, allocations: 63.56 kB / 0.5944 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.4288, allocations: 16 kB / 0.5945 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006212/0.4294, allocations: 67.91 kB / 0.5945 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.4296, allocations: 92.53 kB / 0.5946 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/0.4297, allocations: 20 kB / 0.5946 GB, free: 13.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003873/0.4301, allocations: 279.1 kB / 0.5949 GB, free: 12.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4301, allocations: 0 / 0.5949 GB, free: 12.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00101/0.4311, allocations: 239.9 kB / 0.5951 GB, free: 12.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004952/0.436, allocations: 3.08 MB / 0.5981 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004569/0.4406, allocations: 1.755 MB / 0.5998 GB, free: 7.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.4406, allocations: 0.5625 kB / 0.5998 GB, free: 7.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003171/0.4438, allocations: 1.143 MB / 0.601 GB, free: 6.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.4448, allocations: 164.1 kB / 0.6011 GB, free: 6.348 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.4615, allocations: 8.992 MB / 0.6099 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/0.4623, allocations: 494.2 kB / 0.6104 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008791/0.4631, allocations: 265.6 kB / 0.6106 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005646/0.4637, allocations: 287.3 kB / 0.6109 GB, free: 12.07 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4637, allocations: 3.938 kB / 0.6109 GB, free: 12.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07849/0.5422, allocations: 19.17 MB / 0.6296 GB, free: 9.137 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.16, allocations: 6.656 kB / 0.6296 GB, free: 9.133 MB / 478.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 PowerSystems_latest_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.156117693986744]