Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.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.0008315/0.0008315, allocations: 92.33 kB / 20.95 MB, free: 3.477 MB / 18.57 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.000813/0.000813, allocations: 161.3 kB / 24.26 MB, free: 176 kB / 18.57 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 0.8807/0.8807, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2262/0.2262, allocations: 29.42 MB / 290.5 MB, free: 2.441 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.192e-05, allocations: 2.312 kB / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.005341/0.005353, allocations: 6.449 MB / 374.8 MB, free: 5.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.008282, allocations: 2.037 MB / 376.9 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.008653, allocations: 35.69 kB / 376.9 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009288/0.009582, allocations: 0.5091 MB / 377.4 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008624/0.01044, allocations: 0.5712 MB / 378 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.01112, allocations: 390.9 kB / 378.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.01215, allocations: 1.336 MB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005648/0.01272, allocations: 0.5255 MB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008041/0.01352, allocations: 0.7597 MB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007201/0.01424, allocations: 0.6586 MB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.01436, allocations: 100 kB / 381.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006744/0.01503, allocations: 0.5264 MB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.01536, allocations: 494.8 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.01565, allocations: 375.2 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.01689, allocations: 1.55 MB / 384.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01689, allocations: 4 kB / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01689, allocations: 0 / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.01691, allocations: 0 / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001727/0.01863, allocations: 1.283 MB / 386 MB, free: 10.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.01867, allocations: 15.98 kB / 386 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.0188, allocations: 147.6 kB / 386.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.01949, allocations: 276.1 kB / 386.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008078/0.0203, allocations: 0.6441 MB / 387 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.02048, allocations: 329.8 kB / 387.4 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.02063, allocations: 104.4 kB / 387.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.02204, allocations: 1.35 MB / 388.8 MB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.02207, allocations: 7.938 kB / 388.8 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.214e-05/0.02213, allocations: 39.98 kB / 388.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.334e-05/0.02222, allocations: 61.97 kB / 388.9 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.02373, allocations: 1.292 MB / 390.2 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004239/0.02797, allocations: 4.642 MB / 394.9 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.02922, allocations: 1.012 MB / 395.9 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/0.02987, allocations: 0.5797 MB / 396.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.02991, allocations: 12.66 kB / 396.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.02994, allocations: 47.16 kB / 396.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 1.933e-06/0.02994, allocations: 0 / 396.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.003543/0.03348, allocations: 3.003 MB / 399.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.03352, allocations: 81.77 kB / 399.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.03386, allocations: 473.9 kB / 400.1 MB, free: 11.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.03391, allocations: 37.7 kB / 400.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.03413, allocations: 408.3 kB / 400.5 MB, free: 11.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.03427, allocations: 265.8 kB / 400.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.03442, allocations: 142.6 kB / 400.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.03453, allocations: 382.8 kB / 401.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/0.03508, allocations: 497.7 kB / 401.8 MB, free: 9.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.0357, allocations: 0.695 MB / 402.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.03691, allocations: 1.213 MB / 403.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.03692, allocations: 4 kB / 403.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002548/0.03947, allocations: 1.934 MB / 405.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.03948, allocations: 8 kB / 405.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002218/0.0417, allocations: 1.615 MB / 407.2 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.04343, allocations: 0.9801 MB / 408.2 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.04374, allocations: 155.7 kB / 408.4 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006739/0.05048, allocations: 7.169 MB / 415.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.05083, allocations: 76 kB / 415.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.05087, allocations: 28 kB / 415.6 MB, free: 11.63 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003126/0.05118, allocations: 309.5 kB / 415.9 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.05131, allocations: 99.52 kB / 416 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.05265, allocations: 1.215 MB / 417.2 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.05266, allocations: 16 kB / 417.3 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.05266, allocations: 7.938 kB / 417.3 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.05267, allocations: 3.984 kB / 417.3 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.0552, allocations: 2.201 MB / 419.5 MB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.0552, allocations: 0 / 419.5 MB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.05648, allocations: 0.4916 MB / 420 MB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.797e-05/0.05654, allocations: 32.84 kB / 420 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.05659, allocations: 23.92 kB / 420 MB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006801/0.05727, allocations: 1.531 MB / 421.5 MB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.05727, allocations: 0 / 421.5 MB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.0592, allocations: 1.97 MB / 423.5 MB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.05925, allocations: 59.56 kB / 423.6 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.05931, allocations: 16 kB / 423.6 MB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.05956, allocations: 59.92 kB / 423.6 MB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.05968, allocations: 72.41 kB / 423.7 MB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.05971, allocations: 23.98 kB / 423.7 MB, free: 3.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002228/0.05994, allocations: 314.9 kB / 424 MB, free: 2.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05994, allocations: 0 / 424 MB, free: 2.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005429/0.06048, allocations: 235.9 kB / 424.3 MB, free: 2.738 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.002414/0.0629, allocations: 2.534 MB / 426.8 MB, free: 168 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.06449, allocations: 1.509 MB / 428.3 MB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.0645, allocations: 0 / 428.3 MB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.06585, allocations: 0.9747 MB / 429.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.06634, allocations: 167.3 kB / 429.5 MB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009995/0.07634, allocations: 9.193 MB / 438.7 MB, free: 4.008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.07668, allocations: 477.8 kB / 439.1 MB, free: 3.516 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006084/0.07728, allocations: 205.5 kB / 439.3 MB, free: 3.312 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.07761, allocations: 292.4 kB / 439.6 MB, free: 3.027 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.07761, allocations: 3.938 kB / 439.6 MB, free: 3.023 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/0.2077, allocations: 21.17 MB / 460.8 MB, free: 108.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/8.468, allocations: 3.312 kB / 460.8 MB, free: 108.7 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.98423051647842]