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.001653/0.001653, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001573/0.001573, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.485/1.485, allocations: 230.6 MB / 258.3 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.1897/0.1897, allocations: 38.53 MB / 353.2 MB, free: 12.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="cs",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.001938/0.001938, allocations: 63.91 kB / 493.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3372, allocations: 62.46 MB / 0.5428 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008538/0.3457, allocations: 6.544 MB / 0.5492 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.3488, allocations: 1.479 MB / 0.5506 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/0.3493, allocations: 30.53 kB / 0.5506 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.3499, allocations: 158.7 kB / 0.5508 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.351, allocations: 430.6 kB / 0.5512 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.3517, allocations: 209 kB / 0.5514 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001541/0.3532, allocations: 1.121 MB / 0.5525 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.3536, allocations: 225.4 kB / 0.5527 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009496/0.3546, allocations: 0.489 MB / 0.5532 GB, free: 8.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009214/0.3555, allocations: 0.5699 MB / 0.5537 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.3556, allocations: 66.59 kB / 0.5538 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3558, allocations: 65.25 kB / 0.5539 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.3561, allocations: 327 kB / 0.5542 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.3565, allocations: 368.9 kB / 0.5545 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.3577, allocations: 0.8822 MB / 0.5554 GB, free: 6.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3577, allocations: 1.062 kB / 0.5554 GB, free: 6.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3577, allocations: 0 / 0.5554 GB, free: 6.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.3577, allocations: 0 / 0.5554 GB, free: 6.988 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.002506/0.3603, allocations: 0.9668 MB / 0.5563 GB, free: 6.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3603, allocations: 13.06 kB / 0.5564 GB, free: 6.273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.459e-05/0.3603, allocations: 19.47 kB / 0.5564 GB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.3605, allocations: 99.98 kB / 0.5565 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.3607, allocations: 85.81 kB / 0.5565 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.362, allocations: 0.5141 MB / 0.557 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002996/0.3623, allocations: 220.5 kB / 0.5573 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.3625, allocations: 59.94 kB / 0.5573 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.3641, allocations: 0.785 MB / 0.5581 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.3641, allocations: 3.938 kB / 0.5581 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.3641, allocations: 20 kB / 0.5581 GB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.3643, allocations: 36.97 kB / 0.5581 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.3658, allocations: 0.6908 MB / 0.5588 GB, free: 3.887 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.004988/0.3708, allocations: 2.649 MB / 0.5614 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.3727, allocations: 0.7037 MB / 0.5621 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006507/0.3733, allocations: 309.6 kB / 0.5624 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.3734, allocations: 11.98 kB / 0.5624 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.3734, allocations: 34.56 kB / 0.5624 GB, free: 60 kB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.414e-06/0.3734, allocations: 0 / 0.5624 GB, free: 60 kB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004399/0.3778, allocations: 1.649 MB / 0.564 GB, free: 14.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.3779, allocations: 85.14 kB / 0.5641 GB, free: 14.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.3785, allocations: 425.9 kB / 0.5645 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.3786, allocations: 37.7 kB / 0.5646 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.3788, allocations: 320.8 kB / 0.5649 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.379, allocations: 146.8 kB / 0.565 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.3791, allocations: 78.19 kB / 0.5651 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.3793, allocations: 366.7 kB / 0.5654 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.3799, allocations: 244.8 kB / 0.5657 GB, free: 12.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.3806, allocations: 349.6 kB / 0.566 GB, free: 12.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.3817, allocations: 0.5742 MB / 0.5666 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3817, allocations: 0 / 0.5666 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001666/0.3834, allocations: 0.7247 MB / 0.5673 GB, free: 10.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3834, allocations: 10.97 kB / 0.5673 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3834, allocations: 4 kB / 0.5673 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002889/0.3837, allocations: 73.66 kB / 0.5674 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.3853, allocations: 291.7 kB / 0.5676 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/0.3924, allocations: 6.087 MB / 0.5736 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.393, allocations: 40.05 kB / 0.5736 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.393, allocations: 24 kB / 0.5736 GB, free: 3.922 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.0005031/0.3935, allocations: 241.6 kB / 0.5739 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.3936, allocations: 51.67 kB / 0.5739 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.3952, allocations: 0.6507 MB / 0.5746 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3952, allocations: 4 kB / 0.5746 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3952, allocations: 7.922 kB / 0.5746 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.3952, allocations: 0 / 0.5746 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.3986, allocations: 1.388 MB / 0.5759 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3986, allocations: 4 kB / 0.5759 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.4003, allocations: 299.6 kB / 0.5762 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002957/0.4006, allocations: 85.62 kB / 0.5763 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/0.4006, allocations: 15.94 kB / 0.5763 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.4036, allocations: 2.958 MB / 0.5792 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4036, allocations: 0 / 0.5792 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.4058, allocations: 1.052 MB / 0.5802 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.406, allocations: 43.67 kB / 0.5803 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.291e-05/0.406, allocations: 12 kB / 0.5803 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.4064, allocations: 35.95 kB / 0.5803 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.4065, allocations: 43.81 kB / 0.5804 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.4066, allocations: 15.98 kB / 0.5804 GB, free: 12.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004128/0.407, allocations: 291.1 kB / 0.5806 GB, free: 12.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.407, allocations: 0 / 0.5806 GB, free: 12.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007365/0.4077, allocations: 144 kB / 0.5808 GB, free: 12.25 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.002494/0.4102, allocations: 1.587 MB / 0.5823 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.4131, allocations: 0.9776 MB / 0.5833 GB, free: 9.621 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4131, allocations: 0 / 0.5833 GB, free: 9.621 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.4153, allocations: 0.7122 MB / 0.584 GB, free: 8.883 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.4163, allocations: 141.8 kB / 0.5841 GB, free: 8.742 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.4289, allocations: 5.379 MB / 0.5894 GB, free: 3.148 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007154/0.4296, allocations: 0.9448 MB / 0.5903 GB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003914/0.43, allocations: 108.5 kB / 0.5904 GB, free: 2.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.4303, allocations: 199.4 kB / 0.5906 GB, free: 1.875 MB / 430.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4303, allocations: 0 / 0.5906 GB, free: 1.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05018/0.4805, allocations: 13.35 MB / 0.6036 GB, free: 4.727 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/14.82, allocations: 12 kB / 0.6036 GB, free: 4.715 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.722029244992882] Failed to read output from testmodel.py, exit status != 0: 15.006750594009645 15.02370685 14.662687716 Calling exit ...