Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001361/0.001361, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001355/0.001355, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.476/1.476, 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.1948/0.1948, 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.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_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.002033/0.002033, allocations: 71.88 kB / 493.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3732, allocations: 62.47 MB / 0.5428 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01093/0.3841, allocations: 6.968 MB / 0.5496 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004304/0.3884, allocations: 2.204 MB / 0.5517 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005638/0.3889, allocations: 35.91 kB / 0.5518 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.3906, allocations: 0.5285 MB / 0.5523 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.392, allocations: 0.5573 MB / 0.5528 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.393, allocations: 378.5 kB / 0.5532 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.3948, allocations: 1.317 MB / 0.5545 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008713/0.3956, allocations: 0.5327 MB / 0.555 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.3967, allocations: 0.5652 MB / 0.5556 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.3979, allocations: 0.735 MB / 0.5563 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.3981, allocations: 99.88 kB / 0.5564 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.3992, allocations: 0.5512 MB / 0.5569 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005047/0.3997, allocations: 469.7 kB / 0.5573 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007026/0.4004, allocations: 0.5211 MB / 0.5579 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.4023, allocations: 1.479 MB / 0.5593 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4023, allocations: 0 / 0.5593 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4023, allocations: 0 / 0.5593 GB, free: 3.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.4023, allocations: 0 / 0.5593 GB, free: 3.539 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003036/0.4053, allocations: 1.301 MB / 0.5606 GB, free: 2.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4054, allocations: 11.98 kB / 0.5606 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.177e-05/0.4054, allocations: 26.19 kB / 0.5606 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.4056, allocations: 143.7 kB / 0.5607 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/0.4065, allocations: 184.2 kB / 0.5609 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.4079, allocations: 0.6097 MB / 0.5615 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.4083, allocations: 333.4 kB / 0.5618 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.4085, allocations: 99.92 kB / 0.5619 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.4109, allocations: 1.358 MB / 0.5633 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.411, allocations: 3.938 kB / 0.5633 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.474e-05/0.4111, allocations: 36 kB / 0.5633 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/0.4112, allocations: 65.97 kB / 0.5634 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.4138, allocations: 1.292 MB / 0.5646 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008213/0.422, allocations: 4.844 MB / 0.5694 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.4243, allocations: 1.011 MB / 0.5703 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.4255, allocations: 0.5775 MB / 0.5709 GB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.34e-05/0.4255, allocations: 20.56 kB / 0.5709 GB, free: 7.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.4256, allocations: 39.22 kB / 0.571 GB, free: 7.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 2.414e-06/0.4256, allocations: 0 / 0.571 GB, free: 7.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.00661/0.4322, allocations: 2.972 MB / 0.5739 GB, free: 4.211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.4322, allocations: 81.77 kB / 0.5739 GB, free: 4.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.4329, allocations: 469.9 kB / 0.5744 GB, free: 3.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/0.433, allocations: 37.7 kB / 0.5744 GB, free: 3.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.4333, allocations: 404.4 kB / 0.5748 GB, free: 3.199 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.4336, allocations: 273.7 kB / 0.5751 GB, free: 2.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.4339, allocations: 150.6 kB / 0.5752 GB, free: 2.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.4341, allocations: 374.7 kB / 0.5756 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.4351, allocations: 0.4938 MB / 0.5761 GB, free: 1.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.4363, allocations: 0.6872 MB / 0.5767 GB, free: 1.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.4385, allocations: 1.213 MB / 0.5779 GB, free: 15.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4385, allocations: 0 / 0.5779 GB, free: 15.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004875/0.4434, allocations: 1.895 MB / 0.5798 GB, free: 13.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.4434, allocations: 11.94 kB / 0.5798 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004156/0.4476, allocations: 1.623 MB / 0.5814 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.4497, allocations: 0.6572 MB / 0.582 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007221/0.4504, allocations: 155.8 kB / 0.5821 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/0.4635, allocations: 7.202 MB / 0.5892 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008381/0.4643, allocations: 76 kB / 0.5893 GB, free: 3.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.4645, allocations: 35.98 kB / 0.5893 GB, free: 3.953 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006259/0.4651, allocations: 309.5 kB / 0.5896 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.4653, allocations: 63.58 kB / 0.5896 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/0.4679, allocations: 1.222 MB / 0.5908 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.4679, allocations: 16 kB / 0.5909 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4679, allocations: 0 / 0.5909 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.4679, allocations: 3.984 kB / 0.5909 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004626/0.4726, allocations: 2.306 MB / 0.5931 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.4726, allocations: 4.031 kB / 0.5931 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/0.4753, allocations: 0.4915 MB / 0.5936 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.4754, allocations: 28.84 kB / 0.5936 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.563e-05/0.4755, allocations: 23.98 kB / 0.5936 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.477, allocations: 1.515 MB / 0.5951 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.477, allocations: 0 / 0.5951 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003628/0.4807, allocations: 1.943 MB / 0.597 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.4808, allocations: 67.59 kB / 0.5971 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.4809, allocations: 15.98 kB / 0.5971 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005552/0.4815, allocations: 67.91 kB / 0.5972 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.4817, allocations: 68.48 kB / 0.5972 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/0.4817, allocations: 19.98 kB / 0.5972 GB, free: 11.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004191/0.4821, allocations: 318.9 kB / 0.5976 GB, free: 11.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4821, allocations: 0 / 0.5976 GB, free: 11.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009859/0.4831, allocations: 239.9 kB / 0.5978 GB, free: 11.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.00404/0.4872, allocations: 2.502 MB / 0.6002 GB, free: 8.473 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003156/0.4903, allocations: 1.509 MB / 0.6017 GB, free: 6.934 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4903, allocations: 4 kB / 0.6017 GB, free: 6.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002949/0.4933, allocations: 0.967 MB / 0.6026 GB, free: 5.953 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000979/0.4943, allocations: 160.2 kB / 0.6028 GB, free: 5.805 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/0.5139, allocations: 9.295 MB / 0.6119 GB, free: 12.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.515, allocations: 1.071 MB / 0.6129 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006906/0.5157, allocations: 213.5 kB / 0.6131 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/0.5162, allocations: 295.3 kB / 0.6134 GB, free: 10.62 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5162, allocations: 0 / 0.6134 GB, free: 10.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06186/0.5781, allocations: 21.26 MB / 0.6342 GB, free: 5.562 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.11, allocations: 4.062 kB / 0.6342 GB, free: 5.559 MB / 478.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.22190453100484] Failed to read output from testmodel.py, exit status != 0: 15.294033167010639 15.309524348 14.903998071 Calling exit ...