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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.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.1822/0.1822, allocations: 38.49 MB / 342.5 MB, free: 8.039 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 68.45 kB / 478.6 MB, free: 33.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.1004, allocations: 61.25 MB / 0.5272 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008587/0.109, allocations: 6.843 MB / 0.5339 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003759/0.1127, allocations: 2.142 MB / 0.536 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.1131, allocations: 27.81 kB / 0.536 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.1145, allocations: 0.5282 MB / 0.5365 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.1156, allocations: 0.5599 MB / 0.5371 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000827/0.1165, allocations: 363.2 kB / 0.5374 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.1179, allocations: 1.31 MB / 0.5387 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007937/0.1187, allocations: 0.5879 MB / 0.5393 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007634/0.1194, allocations: 0.5566 MB / 0.5398 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000982/0.1204, allocations: 0.7322 MB / 0.5405 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.1206, allocations: 100 kB / 0.5406 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.1214, allocations: 0.546 MB / 0.5412 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004546/0.1219, allocations: 470.9 kB / 0.5416 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005441/0.1224, allocations: 0.5172 MB / 0.5421 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.1241, allocations: 1.471 MB / 0.5436 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1241, allocations: 0 / 0.5436 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1241, allocations: 0 / 0.5436 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.1241, allocations: 0 / 0.5436 GB, free: 0.5742 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.00305/0.1272, allocations: 1.37 MB / 0.5449 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1272, allocations: 15.89 kB / 0.5449 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.1274, allocations: 147.7 kB / 0.5451 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007392/0.1282, allocations: 144.3 kB / 0.5452 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.1296, allocations: 0.6909 MB / 0.5459 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.1299, allocations: 175.4 kB / 0.546 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.1301, allocations: 95.88 kB / 0.5461 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.1324, allocations: 1.366 MB / 0.5475 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.1324, allocations: 4 kB / 0.5475 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-05/0.1325, allocations: 32 kB / 0.5475 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.1327, allocations: 61.98 kB / 0.5475 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.135, allocations: 1.296 MB / 0.5488 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007974/0.143, allocations: 4.916 MB / 0.5536 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/0.1453, allocations: 1.084 MB / 0.5547 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.1464, allocations: 0.5774 MB / 0.5552 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.642e-05/0.1465, allocations: 12.48 kB / 0.5553 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1465, allocations: 39.12 kB / 0.5553 GB, free: 4.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.1465, allocations: 4 kB / 0.5553 GB, free: 4.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006098/0.1526, allocations: 3.192 MB / 0.5584 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.1527, allocations: 85.67 kB / 0.5585 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000558/0.1532, allocations: 465.9 kB / 0.5589 GB, free: 316 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/0.1533, allocations: 37.7 kB / 0.559 GB, free: 272 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.1536, allocations: 412.5 kB / 0.5594 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.1538, allocations: 261.8 kB / 0.5596 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.1541, allocations: 154.6 kB / 0.5598 GB, free: 15.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1543, allocations: 374.8 kB / 0.5601 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009363/0.1552, allocations: 0.4939 MB / 0.5606 GB, free: 14.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.1563, allocations: 0.6911 MB / 0.5613 GB, free: 13.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.1584, allocations: 1.212 MB / 0.5625 GB, free: 12.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.1584, allocations: 8 kB / 0.5625 GB, free: 12.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00448/0.1629, allocations: 1.963 MB / 0.5644 GB, free: 10.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.1629, allocations: 11.94 kB / 0.5644 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003798/0.1667, allocations: 1.698 MB / 0.5661 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/0.1685, allocations: 0.6534 MB / 0.5667 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.1691, allocations: 151.8 kB / 0.5668 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.1812, allocations: 7.421 MB / 0.5741 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/0.1819, allocations: 71.91 kB / 0.5742 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.182, allocations: 35.98 kB / 0.5742 GB, free: 168 kB / 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.0005161/0.1825, allocations: 316.5 kB / 0.5745 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.1827, allocations: 63.62 kB / 0.5745 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.1851, allocations: 1.293 MB / 0.5758 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.1851, allocations: 12 kB / 0.5758 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1851, allocations: 4 kB / 0.5758 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1852, allocations: 3.984 kB / 0.5758 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004336/0.1895, allocations: 2.405 MB / 0.5782 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1895, allocations: 0 / 0.5782 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/0.192, allocations: 0.4955 MB / 0.5787 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.1922, allocations: 36.78 kB / 0.5787 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.787e-05/0.1922, allocations: 27.92 kB / 0.5787 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.1936, allocations: 1.622 MB / 0.5803 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1936, allocations: 3.984 kB / 0.5803 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.197, allocations: 2.021 MB / 0.5823 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.1972, allocations: 128.7 kB / 0.5824 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.1973, allocations: 23.92 kB / 0.5824 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.1978, allocations: 59.92 kB / 0.5825 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.198, allocations: 64.41 kB / 0.5826 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.198, allocations: 16 kB / 0.5826 GB, free: 7.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003848/0.1984, allocations: 322.9 kB / 0.5829 GB, free: 6.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1984, allocations: 0 / 0.5829 GB, free: 6.934 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009074/0.1993, allocations: 236 kB / 0.5831 GB, free: 6.703 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.003806/0.2031, allocations: 2.58 MB / 0.5856 GB, free: 4.066 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00292/0.206, allocations: 1.516 MB / 0.5871 GB, free: 2.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.206, allocations: 0 / 0.5871 GB, free: 2.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00264/0.2087, allocations: 0.9665 MB / 0.588 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008845/0.2095, allocations: 168.3 kB / 0.5882 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/0.2266, allocations: 9.419 MB / 0.5974 GB, free: 7.637 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009583/0.2276, allocations: 1.075 MB / 0.5985 GB, free: 6.531 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000614/0.2282, allocations: 209.5 kB / 0.5987 GB, free: 6.324 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/0.2286, allocations: 287.3 kB / 0.5989 GB, free: 6.047 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2286, allocations: 3.938 kB / 0.5989 GB, free: 6.043 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2724/0.501, allocations: 20.44 MB / 0.6189 GB, free: 70.42 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.84, allocations: 2.781 kB / 0.6189 GB, free: 70.42 MB / 462.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: 16.988433863967657] Failed to read output from testmodel.py, exit status != 0: 13.94555518310517 13.955282164 13.829127408 Calling exit ...