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.001341/0.001341, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.00141/0.00141, allocations: 212.9 kB / 23.74 MB, free: 4.688 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 8.047 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.2293/0.2293, allocations: 38.52 MB / 352.4 MB, free: 12.6 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.002102/0.002102, allocations: 63.91 kB / 492.6 MB, free: 4.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3425, allocations: 62.46 MB / 0.542 GB, free: 492 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.01008/0.3526, allocations: 6.888 MB / 0.5487 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004524/0.3571, allocations: 2.182 MB / 0.5509 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005273/0.3577, allocations: 34.44 kB / 0.5509 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.3594, allocations: 0.5311 MB / 0.5514 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.3613, allocations: 0.5659 MB / 0.552 GB, free: 8.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3625, allocations: 362.8 kB / 0.5523 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001961/0.3645, allocations: 1.295 MB / 0.5536 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/0.3654, allocations: 0.5354 MB / 0.5541 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.3665, allocations: 0.5595 MB / 0.5546 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.3677, allocations: 0.7787 MB / 0.5554 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.3679, allocations: 113.7 kB / 0.5555 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.3694, allocations: 0.6412 MB / 0.5561 GB, free: 6.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006107/0.37, allocations: 487 kB / 0.5566 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006964/0.3707, allocations: 0.525 MB / 0.5571 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.373, allocations: 1.538 MB / 0.5586 GB, free: 3.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.373, allocations: 0 / 0.5586 GB, free: 3.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.373, allocations: 0 / 0.5586 GB, free: 3.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.711e-05/0.373, allocations: 0 / 0.5586 GB, free: 3.496 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.003413/0.3764, allocations: 1.332 MB / 0.5599 GB, free: 2.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3765, allocations: 15.98 kB / 0.5599 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002054/0.3767, allocations: 143.8 kB / 0.5601 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008714/0.3775, allocations: 176.2 kB / 0.5602 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.3791, allocations: 0.619 MB / 0.5608 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/0.3795, allocations: 337.6 kB / 0.5612 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.3797, allocations: 80 kB / 0.5612 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.3822, allocations: 1.414 MB / 0.5626 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.3822, allocations: 7.938 kB / 0.5626 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.3823, allocations: 32 kB / 0.5627 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002189/0.3825, allocations: 85.88 kB / 0.5627 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/0.3853, allocations: 1.515 MB / 0.5642 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00778/0.3931, allocations: 4.355 MB / 0.5685 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.3954, allocations: 1.118 MB / 0.5696 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.3968, allocations: 0.7075 MB / 0.5703 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.726e-05/0.3968, allocations: 12.66 kB / 0.5703 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.3969, allocations: 43.16 kB / 0.5703 GB, free: 7.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.958e-06/0.3969, allocations: 0 / 0.5703 GB, free: 7.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007202/0.4041, allocations: 3.654 MB / 0.5739 GB, free: 3.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.4042, allocations: 86.11 kB / 0.574 GB, free: 3.414 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.4047, allocations: 401.9 kB / 0.5743 GB, free: 3.016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/0.4048, allocations: 41.7 kB / 0.5744 GB, free: 2.969 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.4051, allocations: 349.1 kB / 0.5747 GB, free: 2.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.4054, allocations: 372.8 kB / 0.5751 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.4057, allocations: 162.6 kB / 0.5752 GB, free: 2.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.4059, allocations: 382.8 kB / 0.5756 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.4071, allocations: 0.5953 MB / 0.5762 GB, free: 1.109 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.4082, allocations: 0.7425 MB / 0.5769 GB, free: 328 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.4106, allocations: 1.379 MB / 0.5782 GB, free: 14.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/0.4106, allocations: 0 / 0.5782 GB, free: 14.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002883/0.4135, allocations: 1.528 MB / 0.5797 GB, free: 13.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4135, allocations: 4 kB / 0.5797 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.4135, allocations: 4 kB / 0.5797 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.4137, allocations: 49.02 kB / 0.5798 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/0.4161, allocations: 0.4953 MB / 0.5803 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007638/0.4238, allocations: 6.276 MB / 0.5864 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/0.4246, allocations: 79.89 kB / 0.5865 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.14e-05/0.4247, allocations: 31.98 kB / 0.5865 GB, free: 5.965 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.0005609/0.4253, allocations: 317.5 kB / 0.5868 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.4255, allocations: 83.45 kB / 0.5869 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.4285, allocations: 1.513 MB / 0.5884 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/0.4285, allocations: 20 kB / 0.5884 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.4285, allocations: 0 / 0.5884 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.4285, allocations: 7.984 kB / 0.5884 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/0.4336, allocations: 2.773 MB / 0.5911 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4336, allocations: 0 / 0.5911 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/0.4363, allocations: 0.5346 MB / 0.5916 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.4364, allocations: 36.84 kB / 0.5917 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-05/0.4365, allocations: 27.97 kB / 0.5917 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.4379, allocations: 1.527 MB / 0.5932 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4379, allocations: 3.938 kB / 0.5932 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004361/0.4422, allocations: 2.468 MB / 0.5956 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.4424, allocations: 63.53 kB / 0.5957 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.4426, allocations: 23.98 kB / 0.5957 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/0.4432, allocations: 75.97 kB / 0.5958 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.4434, allocations: 80.45 kB / 0.5958 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/0.4435, allocations: 24 kB / 0.5959 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005053/0.444, allocations: 283.1 kB / 0.5961 GB, free: 11.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.444, allocations: 3.938 kB / 0.5961 GB, free: 11.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001123/0.4451, allocations: 235.9 kB / 0.5964 GB, free: 11.62 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.005156/0.4503, allocations: 3.07 MB / 0.5993 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00449/0.4548, allocations: 1.751 MB / 0.6011 GB, free: 6.738 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.4548, allocations: 4 kB / 0.6011 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002949/0.4577, allocations: 1.139 MB / 0.6022 GB, free: 5.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.4587, allocations: 166.7 kB / 0.6023 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.4744, allocations: 8.986 MB / 0.6111 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00094/0.4754, allocations: 1.083 MB / 0.6122 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.4764, allocations: 273.5 kB / 0.6124 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/0.4769, allocations: 295.3 kB / 0.6127 GB, free: 10.54 MB / 462.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4769, allocations: 0 / 0.6127 GB, free: 10.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0641/0.541, allocations: 18.93 MB / 0.6312 GB, free: 7.797 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.41, allocations: 4 kB / 0.6312 GB, free: 7.793 MB / 478.1 MB " [Timeout remaining time 645] (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.409247413976118]