Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001666/0.001666, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.0016/0.0016, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1893/0.1893, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_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.00209/0.00209, allocations: 75.89 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3119, allocations: 62.46 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008463/0.3203, allocations: 6.006 MB / 0.5478 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.3236, allocations: 1.36 MB / 0.5491 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.324, allocations: 34.09 kB / 0.5492 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005686/0.3246, allocations: 138.8 kB / 0.5493 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.3257, allocations: 419.7 kB / 0.5497 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.3262, allocations: 190.6 kB / 0.5499 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.3276, allocations: 1.087 MB / 0.5509 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.328, allocations: 221.1 kB / 0.5512 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009479/0.3289, allocations: 491.2 kB / 0.5516 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009395/0.3299, allocations: 0.5374 MB / 0.5522 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.33, allocations: 64.91 kB / 0.5522 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3302, allocations: 69.38 kB / 0.5523 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004123/0.3306, allocations: 307.8 kB / 0.5526 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004835/0.3311, allocations: 310.5 kB / 0.5529 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3322, allocations: 0.8551 MB / 0.5537 GB, free: 7.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3322, allocations: 0 / 0.5537 GB, free: 7.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3322, allocations: 1.125 kB / 0.5537 GB, free: 7.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.3323, allocations: 0 / 0.5537 GB, free: 7.699 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002559/0.3348, allocations: 0.9483 MB / 0.5546 GB, free: 6.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.3349, allocations: 12.86 kB / 0.5546 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.335, allocations: 100 kB / 0.5547 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.3352, allocations: 76.14 kB / 0.5548 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.3365, allocations: 0.5089 MB / 0.5553 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.3368, allocations: 233.2 kB / 0.5555 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.3369, allocations: 52 kB / 0.5556 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.3383, allocations: 0.7771 MB / 0.5563 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.3383, allocations: 3.938 kB / 0.5563 GB, free: 5.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.3384, allocations: 20 kB / 0.5564 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.3385, allocations: 40.97 kB / 0.5564 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.3401, allocations: 0.7181 MB / 0.5571 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004508/0.3446, allocations: 2.425 MB / 0.5595 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.3463, allocations: 0.6933 MB / 0.5601 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.347, allocations: 373.4 kB / 0.5605 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.3471, allocations: 4.438 kB / 0.5605 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.3471, allocations: 42.98 kB / 0.5605 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.976e-06/0.3471, allocations: 0 / 0.5605 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004395/0.3515, allocations: 1.851 MB / 0.5624 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.3516, allocations: 85.55 kB / 0.5624 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.3521, allocations: 393.9 kB / 0.5628 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.3521, allocations: 37.7 kB / 0.5628 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.3524, allocations: 297 kB / 0.5631 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.3526, allocations: 190.2 kB / 0.5633 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.3527, allocations: 98.33 kB / 0.5634 GB, free: 13.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3529, allocations: 358.8 kB / 0.5637 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.3535, allocations: 273.1 kB / 0.564 GB, free: 13.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/0.3542, allocations: 386 kB / 0.5644 GB, free: 12.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.3554, allocations: 0.645 MB / 0.565 GB, free: 12.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3554, allocations: 0 / 0.565 GB, free: 12.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001663/0.357, allocations: 0.7952 MB / 0.5658 GB, free: 11.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3571, allocations: 4.375 kB / 0.5658 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3571, allocations: 8 kB / 0.5658 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002821/0.3574, allocations: 77.66 kB / 0.5659 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.3589, allocations: 307.5 kB / 0.5662 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/0.3658, allocations: 6.106 MB / 0.5721 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006267/0.3664, allocations: 40.23 kB / 0.5722 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-05/0.3665, allocations: 24 kB / 0.5722 GB, free: 4.367 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0004285/0.3669, allocations: 237.6 kB / 0.5724 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.367, allocations: 55.61 kB / 0.5725 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.3687, allocations: 0.7567 MB / 0.5732 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.3687, allocations: 4 kB / 0.5732 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3687, allocations: 4 kB / 0.5732 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3687, allocations: 0 / 0.5732 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/0.3719, allocations: 1.519 MB / 0.5747 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.3719, allocations: 4 kB / 0.5747 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.3737, allocations: 327.7 kB / 0.575 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/0.374, allocations: 77.64 kB / 0.5751 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.717e-05/0.374, allocations: 23.98 kB / 0.5751 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/0.3767, allocations: 2.95 MB / 0.578 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.3767, allocations: 7.969 kB / 0.578 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.3791, allocations: 1.235 MB / 0.5792 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.3792, allocations: 51.7 kB / 0.5793 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/0.3793, allocations: 11.94 kB / 0.5793 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.3797, allocations: 39.95 kB / 0.5793 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.3798, allocations: 51.91 kB / 0.5794 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.3799, allocations: 12 kB / 0.5794 GB, free: 12.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003737/0.3802, allocations: 283.1 kB / 0.5796 GB, free: 12.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3802, allocations: 4 kB / 0.5796 GB, free: 12.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006954/0.3809, allocations: 148 kB / 0.5798 GB, free: 12.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.002662/0.3836, allocations: 1.785 MB / 0.5815 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002924/0.3865, allocations: 1.057 MB / 0.5826 GB, free: 9.289 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3865, allocations: 0 / 0.5826 GB, free: 9.289 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002145/0.3887, allocations: 0.794 MB / 0.5833 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008824/0.3896, allocations: 144.3 kB / 0.5835 GB, free: 8.332 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.3996, allocations: 5.719 MB / 0.5891 GB, free: 2.406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.4001, allocations: 348.8 kB / 0.5894 GB, free: 2.039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004309/0.4005, allocations: 128.7 kB / 0.5895 GB, free: 1.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.4008, allocations: 199.4 kB / 0.5897 GB, free: 1.715 MB / 430.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4008, allocations: 0 / 0.5897 GB, free: 1.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05269/0.4535, allocations: 14.17 MB / 0.6035 GB, free: 3.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/13.89, allocations: 13.41 kB / 0.6036 GB, free: 3.762 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.696824615821242] Failed to read output from testmodel.py, exit status != 0: 14.024313800036907 14.051216921 13.714166451 Calling exit ...