Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001718/0.001718, allocations: 109.2 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.002142/0.002142, allocations: 213.7 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.551/1.551, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.2005/0.2005, allocations: 38.54 MB / 352.5 MB, free: 12.55 MB / 286.1 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.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_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.002009/0.002009, allocations: 67.89 kB / 492.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3308, allocations: 62.47 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008224/0.339, allocations: 6.526 MB / 0.5484 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.3419, allocations: 1.486 MB / 0.5498 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.3422, allocations: 34.09 kB / 0.5499 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.3427, allocations: 151.6 kB / 0.55 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009028/0.3436, allocations: 426.5 kB / 0.5504 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.3441, allocations: 217.5 kB / 0.5506 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.3454, allocations: 1.122 MB / 0.5517 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.3457, allocations: 218 kB / 0.5519 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.3465, allocations: 0.4912 MB / 0.5524 GB, free: 8.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008667/0.3474, allocations: 0.5672 MB / 0.553 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3475, allocations: 66.03 kB / 0.553 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.3476, allocations: 69.47 kB / 0.5531 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.3479, allocations: 319 kB / 0.5534 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.3483, allocations: 373.1 kB / 0.5538 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009597/0.3493, allocations: 0.8781 MB / 0.5546 GB, free: 7.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3493, allocations: 0 / 0.5546 GB, free: 7.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3493, allocations: 1.125 kB / 0.5546 GB, free: 7.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.3493, allocations: 3.938 kB / 0.5546 GB, free: 7.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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00209/0.3514, allocations: 0.9678 MB / 0.5556 GB, free: 6.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3515, allocations: 18.42 kB / 0.5556 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.3516, allocations: 99.55 kB / 0.5557 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.3517, allocations: 77.41 kB / 0.5557 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.3528, allocations: 0.5178 MB / 0.5563 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.3531, allocations: 224.6 kB / 0.5565 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.3532, allocations: 55.95 kB / 0.5565 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.3546, allocations: 0.785 MB / 0.5573 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3546, allocations: 0 / 0.5573 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.3547, allocations: 24 kB / 0.5573 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.3548, allocations: 40.97 kB / 0.5574 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.3562, allocations: 0.6946 MB / 0.558 GB, free: 3.93 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/0.3607, allocations: 2.645 MB / 0.5606 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.3625, allocations: 0.7103 MB / 0.5613 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005811/0.3631, allocations: 309.6 kB / 0.5616 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.3631, allocations: 4 kB / 0.5616 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.3631, allocations: 42.48 kB / 0.5616 GB, free: 108 kB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.174e-06/0.3631, allocations: 0 / 0.5616 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.003921/0.3671, allocations: 1.649 MB / 0.5633 GB, free: 14.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.3671, allocations: 89.05 kB / 0.5633 GB, free: 14.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.3676, allocations: 429.8 kB / 0.5638 GB, free: 13.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.3677, allocations: 29.7 kB / 0.5638 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.3679, allocations: 328.8 kB / 0.5641 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3681, allocations: 138.8 kB / 0.5642 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.3682, allocations: 86.19 kB / 0.5643 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3684, allocations: 358.8 kB / 0.5646 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/0.3689, allocations: 236.8 kB / 0.5649 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.3695, allocations: 345.7 kB / 0.5652 GB, free: 12.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.3706, allocations: 0.578 MB / 0.5658 GB, free: 11.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3706, allocations: 0 / 0.5658 GB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001467/0.372, allocations: 0.7208 MB / 0.5665 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3721, allocations: 8 kB / 0.5665 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3721, allocations: 4 kB / 0.5665 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002836/0.3723, allocations: 77.66 kB / 0.5666 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.3737, allocations: 287.8 kB / 0.5668 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006499/0.3802, allocations: 6.099 MB / 0.5728 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.3807, allocations: 40.11 kB / 0.5728 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.3808, allocations: 23.94 kB / 0.5728 GB, free: 3.965 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004073/0.3812, allocations: 233.6 kB / 0.5731 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.3813, allocations: 55.61 kB / 0.5731 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.3828, allocations: 0.6546 MB / 0.5738 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3828, allocations: 4 kB / 0.5738 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3828, allocations: 3.984 kB / 0.5738 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.3828, allocations: 0 / 0.5738 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.3854, allocations: 1.391 MB / 0.5751 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3854, allocations: 0 / 0.5751 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.387, allocations: 303.6 kB / 0.5754 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000285/0.3873, allocations: 85.62 kB / 0.5755 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.3873, allocations: 8 kB / 0.5755 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/0.3899, allocations: 2.97 MB / 0.5784 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3899, allocations: 4.188 kB / 0.5784 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.3918, allocations: 1.044 MB / 0.5794 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.392, allocations: 47.66 kB / 0.5795 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.3921, allocations: 8 kB / 0.5795 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.3924, allocations: 39.95 kB / 0.5795 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.3925, allocations: 39.88 kB / 0.5796 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.3926, allocations: 15.98 kB / 0.5796 GB, free: 12.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003792/0.3929, allocations: 295.1 kB / 0.5799 GB, free: 12.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3929, allocations: 0 / 0.5799 GB, free: 12.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007315/0.3937, allocations: 136 kB / 0.58 GB, free: 12.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002393/0.3961, allocations: 1.599 MB / 0.5816 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002652/0.3987, allocations: 0.9697 MB / 0.5825 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3987, allocations: 0 / 0.5825 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.4007, allocations: 0.7122 MB / 0.5832 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008354/0.4015, allocations: 137.8 kB / 0.5833 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008607/0.4101, allocations: 5.379 MB / 0.5886 GB, free: 3.195 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/0.4108, allocations: 0.9448 MB / 0.5895 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003413/0.4112, allocations: 100.5 kB / 0.5896 GB, free: 2.125 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.4115, allocations: 199.4 kB / 0.5898 GB, free: 1.93 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4115, allocations: 3.938 kB / 0.5898 GB, free: 1.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05543/0.4669, allocations: 13.33 MB / 0.6028 GB, free: 4.777 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/14.66, allocations: 7.938 kB / 0.6028 GB, free: 4.77 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.601859702030197] Failed to read output from testmodel.py, exit status != 0: 14.791790636023507 14.809440532 14.456953833 Calling exit ...