Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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.001314/0.001314, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00163/0.00163, allocations: 214.4 kB / 23.75 MB, free: 4.668 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 / 257.5 MB, free: 8.004 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.1899/0.1899, allocations: 38.52 MB / 352.5 MB, free: 12.52 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.InverterAvToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterAvToGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterAvToGrid",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.002266/0.002266, allocations: 67.91 kB / 492.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3792, allocations: 62.46 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.008887/0.3881, allocations: 6.276 MB / 0.5481 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.3912, allocations: 1.457 MB / 0.5495 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005724/0.3918, allocations: 35.56 kB / 0.5496 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006766/0.3925, allocations: 148.9 kB / 0.5497 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.3938, allocations: 390.5 kB / 0.5501 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.3944, allocations: 203.1 kB / 0.5503 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.3958, allocations: 0.9172 MB / 0.5512 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.3961, allocations: 170.8 kB / 0.5513 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008093/0.3969, allocations: 427.7 kB / 0.5518 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008567/0.3978, allocations: 496.9 kB / 0.5522 GB, free: 8.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.241e-05/0.3979, allocations: 51.34 kB / 0.5523 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.398, allocations: 46.66 kB / 0.5523 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003445/0.3983, allocations: 268.4 kB / 0.5526 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003821/0.3987, allocations: 319.8 kB / 0.5529 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008442/0.3996, allocations: 0.6814 MB / 0.5535 GB, free: 7.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3996, allocations: 0 / 0.5535 GB, free: 7.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3996, allocations: 1.219 kB / 0.5536 GB, free: 7.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.3996, allocations: 0 / 0.5536 GB, free: 7.75 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001841/0.4014, allocations: 0.8811 MB / 0.5544 GB, free: 7.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.4015, allocations: 13.92 kB / 0.5544 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.4016, allocations: 96.3 kB / 0.5545 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.4017, allocations: 73.44 kB / 0.5546 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.4028, allocations: 0.4934 MB / 0.5551 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.4029, allocations: 40.62 kB / 0.5551 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/0.403, allocations: 52.45 kB / 0.5552 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.404, allocations: 0.6221 MB / 0.5558 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.404, allocations: 0 / 0.5558 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/0.4041, allocations: 21.5 kB / 0.5558 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.4042, allocations: 33.66 kB / 0.5558 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008917/0.4051, allocations: 0.5049 MB / 0.5563 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/0.4086, allocations: 2.171 MB / 0.5584 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008994/0.4095, allocations: 485 kB / 0.5589 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007111/0.4102, allocations: 326.8 kB / 0.5592 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.4103, allocations: 7.953 kB / 0.5592 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.4103, allocations: 42.55 kB / 0.5593 GB, free: 2.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 1.854e-06/0.4103, allocations: 0 / 0.5593 GB, free: 2.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.003571/0.4139, allocations: 1.596 MB / 0.5608 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.196e-05/0.414, allocations: 81.11 kB / 0.5609 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.4145, allocations: 421.8 kB / 0.5613 GB, free: 444 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.4145, allocations: 33.7 kB / 0.5613 GB, free: 404 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.4148, allocations: 305 kB / 0.5616 GB, free: 92 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.4149, allocations: 170.5 kB / 0.5618 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.4151, allocations: 114.2 kB / 0.5619 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4153, allocations: 358.8 kB / 0.5622 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.4156, allocations: 185.2 kB / 0.5624 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.416, allocations: 308.6 kB / 0.5627 GB, free: 14.91 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.4187, allocations: 1.158 MB / 0.5638 GB, free: 13.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4187, allocations: 0 / 0.5638 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001251/0.4199, allocations: 0.7034 MB / 0.5645 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.42, allocations: 12.03 kB / 0.5645 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.42, allocations: 4 kB / 0.5645 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/0.4204, allocations: 144.6 kB / 0.5647 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.4209, allocations: 107.9 kB / 0.5648 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.4241, allocations: 2.51 MB / 0.5672 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.4244, allocations: 20.03 kB / 0.5672 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.4244, allocations: 23.98 kB / 0.5673 GB, free: 10.06 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003567/0.4248, allocations: 228.1 kB / 0.5675 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.4249, allocations: 59.56 kB / 0.5675 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.4261, allocations: 0.6465 MB / 0.5682 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.4261, allocations: 15.97 kB / 0.5682 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4261, allocations: 0 / 0.5682 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4261, allocations: 3.938 kB / 0.5682 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.4284, allocations: 1.341 MB / 0.5695 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.4284, allocations: 4.156 kB / 0.5695 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.4288, allocations: 75.89 kB / 0.5696 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004072/0.4292, allocations: 144.7 kB / 0.5697 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.4293, allocations: 19.98 kB / 0.5697 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/0.4323, allocations: 2.52 MB / 0.5722 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.4323, allocations: 4 kB / 0.5722 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.4339, allocations: 0.9769 MB / 0.5732 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.434, allocations: 47.62 kB / 0.5732 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.426e-05/0.4341, allocations: 19.94 kB / 0.5732 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.4343, allocations: 15.97 kB / 0.5732 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.4344, allocations: 47.92 kB / 0.5733 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.4344, allocations: 15.98 kB / 0.5733 GB, free: 3.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003564/0.4348, allocations: 291.2 kB / 0.5736 GB, free: 3.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4348, allocations: 7.875 kB / 0.5736 GB, free: 3.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006809/0.4355, allocations: 144 kB / 0.5737 GB, free: 3.207 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i[2]) * 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 (41): * Single equations (assignments): 39 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001879/0.4374, allocations: 1.534 MB / 0.5752 GB, free: 1.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.4386, allocations: 0.6405 MB / 0.5758 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4386, allocations: 0 / 0.5758 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007042/0.4393, allocations: 418.2 kB / 0.5762 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007629/0.4401, allocations: 133.4 kB / 0.5764 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00754/0.4476, allocations: 5.128 MB / 0.5814 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.4483, allocations: 0.9253 MB / 0.5823 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003398/0.4486, allocations: 104.7 kB / 0.5824 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.4489, allocations: 199.4 kB / 0.5826 GB, free: 9.816 MB / 430.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4489, allocations: 0 / 0.5826 GB, free: 9.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05337/0.5023, allocations: 12.41 MB / 0.5947 GB, free: 13.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.72, allocations: 14.91 kB / 0.5947 GB, free: 13.57 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterAvToGrid_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterAvToGrid.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.59618800599128] Failed to read output from testmodel.py, exit status != 0: 12.840604748111218 12.869326731 12.464125298999999 Calling exit ...