Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001651/0.001651, 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.001421/0.001421, 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.1942/0.1942, 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.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_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.002322/0.002322, allocations: 59.91 kB / 493.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3359, allocations: 62.47 MB / 0.5428 GB, free: 312 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009335/0.3453, allocations: 6.88 MB / 0.5495 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.3496, allocations: 2.182 MB / 0.5516 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.3501, allocations: 32.66 kB / 0.5517 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.3516, allocations: 0.5383 MB / 0.5522 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.3531, allocations: 0.5653 MB / 0.5527 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/0.3541, allocations: 367 kB / 0.5531 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.3558, allocations: 1.295 MB / 0.5543 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009007/0.3567, allocations: 0.5392 MB / 0.5549 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.3578, allocations: 0.5482 MB / 0.5554 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.359, allocations: 0.7817 MB / 0.5562 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.3592, allocations: 106.2 kB / 0.5563 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.3608, allocations: 0.6454 MB / 0.5569 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006997/0.3615, allocations: 485.5 kB / 0.5574 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008519/0.3624, allocations: 0.525 MB / 0.5579 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.3648, allocations: 1.546 MB / 0.5594 GB, free: 3.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3648, allocations: 4 kB / 0.5594 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3648, allocations: 0 / 0.5594 GB, free: 3.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.3648, allocations: 0 / 0.5594 GB, free: 3.328 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003245/0.3681, allocations: 1.33 MB / 0.5607 GB, free: 1.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.3681, allocations: 11.98 kB / 0.5607 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.767e-05/0.3682, allocations: 22.19 kB / 0.5607 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.3684, allocations: 139.8 kB / 0.5609 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/0.3694, allocations: 180.2 kB / 0.561 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.3708, allocations: 0.6268 MB / 0.5616 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003245/0.3711, allocations: 341.3 kB / 0.562 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.3713, allocations: 79.98 kB / 0.562 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.3739, allocations: 1.41 MB / 0.5634 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.3739, allocations: 4 kB / 0.5634 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.374, allocations: 32 kB / 0.5635 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/0.3742, allocations: 81.95 kB / 0.5635 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.3772, allocations: 1.526 MB / 0.565 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007745/0.385, allocations: 4.348 MB / 0.5693 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.3874, allocations: 1.114 MB / 0.5704 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.3889, allocations: 0.7114 MB / 0.5711 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.382e-05/0.389, allocations: 8.656 kB / 0.5711 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.389, allocations: 51.2 kB / 0.5711 GB, free: 7.012 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 3.556e-06/0.389, allocations: 0 / 0.5711 GB, free: 7.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007664/0.3967, allocations: 3.65 MB / 0.5747 GB, free: 3.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.3968, allocations: 86.11 kB / 0.5748 GB, free: 3.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/0.3973, allocations: 405.9 kB / 0.5751 GB, free: 2.824 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/0.3974, allocations: 37.7 kB / 0.5752 GB, free: 2.781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.3977, allocations: 349.1 kB / 0.5755 GB, free: 2.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003642/0.3981, allocations: 364.8 kB / 0.5759 GB, free: 2.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/0.3984, allocations: 170.6 kB / 0.576 GB, free: 1.902 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.3986, allocations: 382.8 kB / 0.5764 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.3998, allocations: 0.5914 MB / 0.577 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.4011, allocations: 0.7385 MB / 0.5777 GB, free: 144 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.4036, allocations: 1.387 MB / 0.579 GB, free: 14.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4036, allocations: 0 / 0.579 GB, free: 14.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003052/0.4066, allocations: 1.528 MB / 0.5805 GB, free: 13.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.4066, allocations: 8 kB / 0.5805 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4067, allocations: 0 / 0.5805 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.4068, allocations: 41.03 kB / 0.5806 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.4096, allocations: 0.4953 MB / 0.5811 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008081/0.4177, allocations: 6.28 MB / 0.5872 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.4187, allocations: 79.98 kB / 0.5873 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.4189, allocations: 32 kB / 0.5873 GB, free: 5.781 MB / 430.1 MB 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006932/0.4196, allocations: 325.5 kB / 0.5876 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.4198, allocations: 71.47 kB / 0.5877 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.4231, allocations: 1.513 MB / 0.5892 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-05/0.4232, allocations: 23.98 kB / 0.5892 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4232, allocations: 4 kB / 0.5892 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.4232, allocations: 3.984 kB / 0.5892 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00554/0.4287, allocations: 2.769 MB / 0.5919 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4287, allocations: 4 kB / 0.5919 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003003/0.4317, allocations: 0.5307 MB / 0.5924 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.4319, allocations: 44.77 kB / 0.5925 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.432, allocations: 23.98 kB / 0.5925 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.4334, allocations: 1.531 MB / 0.594 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4334, allocations: 96 / 0.594 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004725/0.4382, allocations: 2.472 MB / 0.5964 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.4384, allocations: 63.52 kB / 0.5965 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/0.4385, allocations: 23.94 kB / 0.5965 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007196/0.4393, allocations: 67.91 kB / 0.5965 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.4395, allocations: 88.38 kB / 0.5966 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.364e-05/0.4396, allocations: 31.98 kB / 0.5967 GB, free: 11.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003658/0.4399, allocations: 275.1 kB / 0.5969 GB, free: 11.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4399, allocations: 0 / 0.5969 GB, free: 11.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009945/0.4409, allocations: 235.9 kB / 0.5971 GB, free: 11.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005054/0.446, allocations: 3.07 MB / 0.6001 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004821/0.4508, allocations: 1.759 MB / 0.6019 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4508, allocations: 0 / 0.6019 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003312/0.4541, allocations: 1.143 MB / 0.603 GB, free: 5.391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.4553, allocations: 152.7 kB / 0.6031 GB, free: 5.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/0.4726, allocations: 8.993 MB / 0.6119 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.4738, allocations: 1.087 MB / 0.613 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009551/0.4747, allocations: 273.5 kB / 0.6132 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006632/0.4754, allocations: 295.3 kB / 0.6135 GB, free: 10.34 MB / 462.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4754, allocations: 0 / 0.6135 GB, free: 10.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05648/0.5319, allocations: 18.95 MB / 0.632 GB, free: 7.586 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.03, allocations: 18.53 kB / 0.632 GB, free: 7.57 MB / 478.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.94676957197953] Failed to read output from testmodel.py, exit status != 0: 15.212741872004699 15.229540635 14.861426177 Calling exit ...