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.001736/0.001736, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002199/0.002199, allocations: 215.1 kB / 21.45 MB, free: 1.641 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.615/1.615, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.1845/0.1845, allocations: 38.51 MB / 349.4 MB, free: 2.586 MB / 270.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.001966/0.001966, allocations: 63.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1219, allocations: 62.42 MB / 0.5374 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009615/0.1315, allocations: 6.844 MB / 0.544 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00452/0.136, allocations: 2.196 MB / 0.5462 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.1365, allocations: 39.69 kB / 0.5462 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.138, allocations: 0.5171 MB / 0.5467 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.1393, allocations: 0.5522 MB / 0.5473 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.1402, allocations: 383.2 kB / 0.5476 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.1417, allocations: 1.302 MB / 0.5489 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008287/0.1425, allocations: 0.5996 MB / 0.5495 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008929/0.1434, allocations: 0.5645 MB / 0.55 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009919/0.1444, allocations: 0.7244 MB / 0.5508 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.1445, allocations: 100 kB / 0.5509 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000984/0.1455, allocations: 0.5461 MB / 0.5514 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004906/0.146, allocations: 482.7 kB / 0.5518 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005766/0.1466, allocations: 0.5134 MB / 0.5523 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.1485, allocations: 1.475 MB / 0.5538 GB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.1485, allocations: 4 kB / 0.5538 GB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1485, allocations: 0 / 0.5538 GB, free: 6.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.221e-05/0.1485, allocations: 0 / 0.5538 GB, free: 6.645 MB / 414.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.003221/0.1517, allocations: 1.366 MB / 0.5551 GB, free: 5.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1518, allocations: 8.031 kB / 0.5551 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.641e-05/0.1518, allocations: 26.12 kB / 0.5552 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.152, allocations: 143.7 kB / 0.5553 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009508/0.153, allocations: 184.2 kB / 0.5555 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.1544, allocations: 0.6947 MB / 0.5561 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.1546, allocations: 179.1 kB / 0.5563 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/0.1548, allocations: 99.97 kB / 0.5564 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.1572, allocations: 1.35 MB / 0.5577 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.1572, allocations: 3.938 kB / 0.5577 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.974e-05/0.1573, allocations: 39.98 kB / 0.5578 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.1575, allocations: 65.95 kB / 0.5578 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.16, allocations: 1.3 MB / 0.5591 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007677/0.1677, allocations: 4.897 MB / 0.5639 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.17, allocations: 1.087 MB / 0.565 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.1712, allocations: 0.5774 MB / 0.5655 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.866e-05/0.1713, allocations: 20.55 kB / 0.5655 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.1713, allocations: 39.12 kB / 0.5656 GB, free: 10.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 3.065e-06/0.1713, allocations: 0 / 0.5656 GB, free: 10.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=73): time 0.006551/0.1779, allocations: 3.196 MB / 0.5687 GB, free: 6.891 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.178, allocations: 89.61 kB / 0.5688 GB, free: 6.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/0.1786, allocations: 469.9 kB / 0.5692 GB, free: 6.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.1786, allocations: 33.7 kB / 0.5693 GB, free: 6.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.179, allocations: 400.4 kB / 0.5696 GB, free: 5.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.1793, allocations: 277.7 kB / 0.5699 GB, free: 5.602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.1795, allocations: 146.6 kB / 0.57 GB, free: 5.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000246/0.1798, allocations: 382.7 kB / 0.5704 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009823/0.1808, allocations: 497.7 kB / 0.5709 GB, free: 4.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.1819, allocations: 0.6834 MB / 0.5716 GB, free: 3.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.1841, allocations: 1.22 MB / 0.5727 GB, free: 2.523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1841, allocations: 0 / 0.5727 GB, free: 2.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004784/0.1889, allocations: 1.966 MB / 0.5747 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1889, allocations: 11.94 kB / 0.5747 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004104/0.193, allocations: 1.703 MB / 0.5763 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.195, allocations: 0.6641 MB / 0.577 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.1956, allocations: 155.8 kB / 0.5771 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.208, allocations: 7.413 MB / 0.5844 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.2088, allocations: 76 kB / 0.5844 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.2089, allocations: 28 kB / 0.5845 GB, free: 6.18 MB / 446.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.0004916/0.2094, allocations: 317.6 kB / 0.5848 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.2095, allocations: 67.56 kB / 0.5848 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.2121, allocations: 1.289 MB / 0.5861 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.2121, allocations: 16 kB / 0.5861 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2121, allocations: 7.938 kB / 0.5861 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.2121, allocations: 3.984 kB / 0.5861 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.2163, allocations: 2.413 MB / 0.5885 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2163, allocations: 0 / 0.5885 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/0.2191, allocations: 499.3 kB / 0.589 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.2192, allocations: 32.83 kB / 0.589 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/0.2193, allocations: 16 kB / 0.589 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.274/0.4933, allocations: 1.628 MB / 0.5906 GB, free: 50.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4933, allocations: 4.688 kB / 0.5906 GB, free: 50.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00443/0.4977, allocations: 2.011 MB / 0.5926 GB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.4979, allocations: 133.8 kB / 0.5927 GB, free: 49.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.498, allocations: 16 kB / 0.5927 GB, free: 49.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.4986, allocations: 63.81 kB / 0.5928 GB, free: 49.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.4988, allocations: 62.38 kB / 0.5928 GB, free: 49.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.4989, allocations: 18.36 kB / 0.5928 GB, free: 49.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004358/0.4993, allocations: 318.7 kB / 0.5932 GB, free: 49.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4993, allocations: 2.5 kB / 0.5932 GB, free: 49.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001007/0.5003, allocations: 241 kB / 0.5934 GB, free: 49.84 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.004078/0.5044, allocations: 2.585 MB / 0.5959 GB, free: 48.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003498/0.5079, allocations: 1.503 MB / 0.5974 GB, free: 48.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5079, allocations: 0 / 0.5974 GB, free: 48.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003295/0.5112, allocations: 0.9663 MB / 0.5983 GB, free: 47.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5124, allocations: 166.1 kB / 0.5985 GB, free: 47.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.5321, allocations: 9.441 MB / 0.6077 GB, free: 43.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009345/0.533, allocations: 1.068 MB / 0.6087 GB, free: 42.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008109/0.5338, allocations: 208 kB / 0.6089 GB, free: 42.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/0.5343, allocations: 290.3 kB / 0.6092 GB, free: 42.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.394e-06/0.5343, allocations: 9.375 kB / 0.6092 GB, free: 42.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04588/0.5801, allocations: 20.48 MB / 0.6292 GB, free: 27.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.23, allocations: 8.062 kB / 0.6292 GB, free: 27.29 MB / 446.1 MB " [Timeout remaining time 646] (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: 17.88404662796529] Failed to read output from testmodel.py, exit status != 0: 14.400301753019448 14.411436049 14.260669836 Calling exit ...