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.001692/0.001692, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001705/0.001705, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1869/0.1869, allocations: 38.55 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 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.00217/0.00217, allocations: 63.89 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3537, allocations: 62.47 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.009277/0.363, allocations: 6.067 MB / 0.5479 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002991/0.366, allocations: 1.394 MB / 0.5492 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.3663, allocations: 33.62 kB / 0.5493 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005484/0.3668, allocations: 148.2 kB / 0.5494 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008996/0.3677, allocations: 431 kB / 0.5498 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.3682, allocations: 214.2 kB / 0.55 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.3695, allocations: 1.117 MB / 0.5511 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003855/0.3699, allocations: 214 kB / 0.5513 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.3709, allocations: 0.4917 MB / 0.5518 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.3721, allocations: 0.5473 MB / 0.5523 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.3723, allocations: 65.81 kB / 0.5524 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.3724, allocations: 65.75 kB / 0.5525 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.3728, allocations: 322.5 kB / 0.5528 GB, free: 8.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.3732, allocations: 313.7 kB / 0.5531 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009976/0.3742, allocations: 0.8813 MB / 0.5539 GB, free: 7.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3742, allocations: 3.938 kB / 0.5539 GB, free: 7.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3742, allocations: 1.219 kB / 0.5539 GB, free: 7.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.3742, allocations: 0 / 0.5539 GB, free: 7.543 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.002242/0.3764, allocations: 0.9768 MB / 0.5549 GB, free: 6.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.3765, allocations: 13.42 kB / 0.5549 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.3766, allocations: 99.77 kB / 0.555 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.3768, allocations: 81.86 kB / 0.5551 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.3782, allocations: 0.5066 MB / 0.5556 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.3784, allocations: 231.4 kB / 0.5558 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.3786, allocations: 55.95 kB / 0.5558 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.3801, allocations: 0.7888 MB / 0.5566 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3801, allocations: 0 / 0.5566 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/0.3802, allocations: 20 kB / 0.5566 GB, free: 5.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.3803, allocations: 36.97 kB / 0.5567 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.3818, allocations: 0.6908 MB / 0.5573 GB, free: 4.363 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.004758/0.3865, allocations: 2.521 MB / 0.5598 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.3883, allocations: 0.6959 MB / 0.5605 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006121/0.3889, allocations: 308.4 kB / 0.5608 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.389, allocations: 8 kB / 0.5608 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.389, allocations: 38.56 kB / 0.5608 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 3.336e-06/0.389, allocations: 3.938 kB / 0.5608 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.004179/0.3932, allocations: 1.649 MB / 0.5624 GB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.3933, allocations: 88.98 kB / 0.5625 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005784/0.3939, allocations: 425.8 kB / 0.5629 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.3939, allocations: 33.7 kB / 0.563 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.3942, allocations: 324.8 kB / 0.5633 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.3943, allocations: 146.8 kB / 0.5634 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.3945, allocations: 86.14 kB / 0.5635 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3947, allocations: 362.8 kB / 0.5638 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.3952, allocations: 232.8 kB / 0.5641 GB, free: 13.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006089/0.3958, allocations: 349.7 kB / 0.5644 GB, free: 12.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.397, allocations: 0.5781 MB / 0.565 GB, free: 12.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.397, allocations: 4 kB / 0.565 GB, free: 12.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001665/0.3986, allocations: 0.717 MB / 0.5657 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3986, allocations: 4 kB / 0.5657 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3987, allocations: 4 kB / 0.5657 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/0.3989, allocations: 73.67 kB / 0.5657 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.4005, allocations: 295.5 kB / 0.566 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006723/0.4072, allocations: 6.083 MB / 0.572 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.4077, allocations: 36.28 kB / 0.572 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.4077, allocations: 27.86 kB / 0.572 GB, free: 4.547 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.0003929/0.4081, allocations: 233.7 kB / 0.5722 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.066e-05/0.4082, allocations: 47.72 kB / 0.5723 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.4097, allocations: 0.6584 MB / 0.5729 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.4098, allocations: 4 kB / 0.5729 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4098, allocations: 4 kB / 0.5729 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4098, allocations: 0 / 0.5729 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.4127, allocations: 1.329 MB / 0.5742 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4127, allocations: 3.938 kB / 0.5742 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.4144, allocations: 307.6 kB / 0.5745 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/0.4147, allocations: 93.52 kB / 0.5746 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.4147, allocations: 12 kB / 0.5746 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/0.4174, allocations: 2.954 MB / 0.5775 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.4174, allocations: 8.016 kB / 0.5775 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.4195, allocations: 1.044 MB / 0.5785 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.4197, allocations: 47.67 kB / 0.5786 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.4198, allocations: 12.03 kB / 0.5786 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.4201, allocations: 27.97 kB / 0.5786 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.4202, allocations: 43.86 kB / 0.5787 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.4203, allocations: 12 kB / 0.5787 GB, free: 13.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004085/0.4207, allocations: 295.1 kB / 0.579 GB, free: 13.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4207, allocations: 0 / 0.579 GB, free: 13.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000738/0.4214, allocations: 140 kB / 0.5791 GB, free: 12.95 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.002479/0.4239, allocations: 1.591 MB / 0.5807 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.4268, allocations: 0.9778 MB / 0.5816 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4268, allocations: 4.062 kB / 0.5816 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.4288, allocations: 0.7079 MB / 0.5823 GB, free: 9.566 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008863/0.4296, allocations: 148.5 kB / 0.5824 GB, free: 9.422 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008789/0.4384, allocations: 5.371 MB / 0.5877 GB, free: 3.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.4389, allocations: 349.2 kB / 0.588 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003696/0.4392, allocations: 100.5 kB / 0.5881 GB, free: 3.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.4396, allocations: 203.4 kB / 0.5883 GB, free: 3.176 MB / 430.1 MB Notification: Performance of SimCode: time 1.283e-06/0.4396, allocations: 0 / 0.5883 GB, free: 3.176 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05181/0.4914, allocations: 14.12 MB / 0.6021 GB, free: 5.293 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.02, allocations: 13.41 kB / 0.6021 GB, free: 5.285 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.89286992698908] Failed to read output from testmodel.py, exit status != 0: 14.152382816188037 14.182678844 13.802795181 Calling exit ...