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.001603/0.001604, allocations: 116.9 kB / 18.41 MB, free: 4.531 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.001378/0.001378, allocations: 190.9 kB / 21.34 MB, free: 1.602 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.436/1.436, allocations: 222.9 MB / 247 MB, free: 4.211 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.3162/0.3162, allocations: 37.99 MB / 337.2 MB, free: 12.89 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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.41 kB / 467.5 MB, free: 27.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1028, allocations: 58.06 MB / 0.5133 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.00874/0.1116, allocations: 6.768 MB / 0.5199 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004106/0.1158, allocations: 2.142 MB / 0.522 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/0.1163, allocations: 19.88 kB / 0.522 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.1178, allocations: 0.5203 MB / 0.5225 GB, free: 248 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.1192, allocations: 0.5561 MB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009367/0.1201, allocations: 367.2 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.1217, allocations: 1.313 MB / 0.5247 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.1228, allocations: 0.7284 MB / 0.5254 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008092/0.1236, allocations: 0.545 MB / 0.5259 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.1246, allocations: 0.6855 MB / 0.5266 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.1248, allocations: 100 kB / 0.5267 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009484/0.1257, allocations: 0.5149 MB / 0.5272 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.1263, allocations: 475 kB / 0.5276 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005937/0.1269, allocations: 0.5133 MB / 0.5281 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.1286, allocations: 1.472 MB / 0.5296 GB, free: 8.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1286, allocations: 4 kB / 0.5296 GB, free: 8.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1286, allocations: 0 / 0.5296 GB, free: 8.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.1287, allocations: 0 / 0.5296 GB, free: 8.957 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.002906/0.1316, allocations: 1.366 MB / 0.5309 GB, free: 7.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1316, allocations: 11.89 kB / 0.5309 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/0.1324, allocations: 148.2 kB / 0.5311 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.1337, allocations: 0.6947 MB / 0.5317 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/0.134, allocations: 175.6 kB / 0.5319 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.1342, allocations: 95.88 kB / 0.532 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.1365, allocations: 1.362 MB / 0.5333 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.1366, allocations: 11.92 kB / 0.5333 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/0.1367, allocations: 36 kB / 0.5334 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.1368, allocations: 61.97 kB / 0.5334 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.1393, allocations: 1.292 MB / 0.5347 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007492/0.1468, allocations: 4.905 MB / 0.5395 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.1493, allocations: 1.133 MB / 0.5406 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.1505, allocations: 0.6165 MB / 0.5412 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.1506, allocations: 20.53 kB / 0.5412 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.1506, allocations: 39.12 kB / 0.5413 GB, free: 12.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 2.895e-06/0.1506, allocations: 0 / 0.5413 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.006314/0.157, allocations: 3.192 MB / 0.5444 GB, free: 9.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.1571, allocations: 89.66 kB / 0.5445 GB, free: 9.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.1576, allocations: 461.9 kB / 0.5449 GB, free: 8.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.939e-05/0.1577, allocations: 41.7 kB / 0.5449 GB, free: 8.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.158, allocations: 404.3 kB / 0.5453 GB, free: 8.305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.1582, allocations: 273.8 kB / 0.5456 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.1585, allocations: 154.6 kB / 0.5457 GB, free: 7.879 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.1587, allocations: 370.8 kB / 0.5461 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009925/0.1597, allocations: 0.4938 MB / 0.5466 GB, free: 7.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.1608, allocations: 0.6833 MB / 0.5472 GB, free: 6.246 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.163, allocations: 1.22 MB / 0.5484 GB, free: 4.949 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.163, allocations: 7.938 kB / 0.5484 GB, free: 4.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004759/0.1678, allocations: 1.986 MB / 0.5504 GB, free: 2.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.1678, allocations: 10.19 kB / 0.5504 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004158/0.172, allocations: 1.714 MB / 0.5521 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.1739, allocations: 0.6484 MB / 0.5527 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.1746, allocations: 167.7 kB / 0.5529 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.1871, allocations: 7.412 MB / 0.5601 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/0.1879, allocations: 76 kB / 0.5602 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/0.188, allocations: 32 kB / 0.5602 GB, free: 8.57 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.0004957/0.1885, allocations: 305.5 kB / 0.5605 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.1886, allocations: 67.61 kB / 0.5605 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.1911, allocations: 1.297 MB / 0.5618 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.1912, allocations: 16 kB / 0.5618 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1912, allocations: 0 / 0.5618 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.1912, allocations: 7.984 kB / 0.5618 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/0.1954, allocations: 2.409 MB / 0.5642 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.1954, allocations: 7.938 kB / 0.5642 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/0.1982, allocations: 491.4 kB / 0.5647 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.1983, allocations: 36.83 kB / 0.5647 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/0.1984, allocations: 16 kB / 0.5647 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.1998, allocations: 1.634 MB / 0.5663 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.1998, allocations: 3.938 kB / 0.5663 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.2034, allocations: 2.013 MB / 0.5683 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.2035, allocations: 136.6 kB / 0.5684 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.2036, allocations: 16 kB / 0.5684 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/0.2042, allocations: 59.91 kB / 0.5685 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.2044, allocations: 64.47 kB / 0.5685 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.2044, allocations: 16 kB / 0.5686 GB, free: 15.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003869/0.2048, allocations: 326.8 kB / 0.5689 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2048, allocations: 0 / 0.5689 GB, free: 15.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008966/0.2057, allocations: 232 kB / 0.5691 GB, free: 15.12 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.0002363/0.206, allocations: 131 kB / 0.5692 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003045/0.209, allocations: 1.567 MB / 0.5708 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.209, allocations: 0 / 0.5708 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002797/0.2118, allocations: 0.9979 MB / 0.5717 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.2127, allocations: 170.9 kB / 0.5719 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.2169, allocations: 2.354 MB / 0.5742 GB, free: 9.805 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/0.2177, allocations: 1.071 MB / 0.5752 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.218, allocations: 59.44 kB / 0.5753 GB, free: 8.652 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.218, allocations: 3.938 kB / 0.5753 GB, free: 8.648 MB / 446.1 MB Notification: Performance of Templates: time 0.238/0.456, allocations: 20.29 MB / 0.5951 GB, free: 63.36 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.29777120205108] Failed to read output from testmodel.py, exit status != 0: 0.462183199939318 0.47317322700000003 0.342523104 Calling exit ...