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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 104.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 194.9 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, allocations: 37.98 MB / 309.9 MB, free: 5.938 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 79.02 kB / 432.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08697/0.08835, allocations: 55.23 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007699/0.09608, allocations: 6.757 MB / 494.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.09969, allocations: 2.193 MB / 496.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003977/0.1001, allocations: 23.88 kB / 496.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.1016, allocations: 0.5132 MB / 497.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.1029, allocations: 0.5483 MB / 497.8 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008831/0.1038, allocations: 371.2 kB / 498.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.1051, allocations: 1.309 MB / 499.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009492/0.1061, allocations: 0.7362 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00081/0.1069, allocations: 0.5488 MB / 0.4891 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009987/0.1079, allocations: 0.6893 MB / 0.4897 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.1082, allocations: 96 kB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008828/0.1091, allocations: 0.5227 MB / 0.4903 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004956/0.1096, allocations: 474.9 kB / 0.4908 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006287/0.1102, allocations: 0.5134 MB / 0.4913 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.1117, allocations: 1.464 MB / 0.4927 GB, free: 7.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1117, allocations: 7.938 kB / 0.4927 GB, free: 7.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1117, allocations: 0 / 0.4927 GB, free: 7.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.1117, allocations: 0 / 0.4927 GB, free: 7.504 MB / 382.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.002872/0.1146, allocations: 1.336 MB / 0.494 GB, free: 6.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1147, allocations: 11.89 kB / 0.494 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007364/0.1154, allocations: 147.7 kB / 0.4942 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.1168, allocations: 0.6943 MB / 0.4949 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.117, allocations: 171.6 kB / 0.495 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.1172, allocations: 99.81 kB / 0.4951 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.1193, allocations: 1.358 MB / 0.4964 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.1194, allocations: 4 kB / 0.4964 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.1195, allocations: 39.92 kB / 0.4965 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.1197, allocations: 65.97 kB / 0.4965 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.122, allocations: 1.292 MB / 0.4978 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006707/0.1287, allocations: 4.888 MB / 0.5026 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.1309, allocations: 1.137 MB / 0.5037 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.1321, allocations: 0.6165 MB / 0.5043 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.886e-05/0.1321, allocations: 16.53 kB / 0.5043 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1322, allocations: 43.12 kB / 0.5043 GB, free: 11.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 2.946e-06/0.1322, allocations: 0 / 0.5043 GB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.005681/0.1379, allocations: 3.175 MB / 0.5074 GB, free: 7.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.1379, allocations: 97.59 kB / 0.5075 GB, free: 7.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.1384, allocations: 461.9 kB / 0.508 GB, free: 7.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.1385, allocations: 37.7 kB / 0.508 GB, free: 7.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.1387, allocations: 391.3 kB / 0.5084 GB, free: 6.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.139, allocations: 260.3 kB / 0.5086 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.1392, allocations: 150.6 kB / 0.5088 GB, free: 6.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1394, allocations: 374.8 kB / 0.5091 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000866/0.1403, allocations: 0.4899 MB / 0.5096 GB, free: 5.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.1413, allocations: 0.6833 MB / 0.5103 GB, free: 4.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.1432, allocations: 1.224 MB / 0.5115 GB, free: 3.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1432, allocations: 0 / 0.5115 GB, free: 3.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004255/0.1475, allocations: 1.982 MB / 0.5134 GB, free: 1.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1475, allocations: 8 kB / 0.5134 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00366/0.1512, allocations: 1.71 MB / 0.5151 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.1529, allocations: 0.6494 MB / 0.5157 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.1535, allocations: 171.6 kB / 0.5159 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.1645, allocations: 7.414 MB / 0.5231 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.1652, allocations: 71.91 kB / 0.5232 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.1653, allocations: 36.08 kB / 0.5232 GB, free: 7.203 MB / 414.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.0004507/0.1657, allocations: 305.5 kB / 0.5235 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.1659, allocations: 67.23 kB / 0.5236 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.1682, allocations: 1.301 MB / 0.5249 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1682, allocations: 3.984 kB / 0.5249 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1682, allocations: 8 kB / 0.5249 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.1684, allocations: 124.4 kB / 0.525 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.1685, allocations: 16 kB / 0.525 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000521/0.169, allocations: 67.89 kB / 0.5251 GB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.1692, allocations: 68.34 kB / 0.5251 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004416/0.1736, allocations: 1.799 MB / 0.5269 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002979/0.1766, allocations: 2 MB / 0.5288 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009096/0.1775, allocations: 0.5783 MB / 0.5294 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003212/0.1779, allocations: 318.9 kB / 0.5297 GB, free: 480 kB / 414.1 MB Notification: Performance of Backend: time 3.81e-07/0.1779, allocations: 0 / 0.5297 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.1959/0.3738, allocations: 1.26 MB / 0.5309 GB, free: 52.39 MB / 414.1 MB Notification: Performance of SimCode: time 0.003131/0.3769, allocations: 2.332 MB / 0.5332 GB, free: 51.23 MB / 414.1 MB Notification: Performance of Templates: time 0.02421/0.4012, allocations: 16.09 MB / 0.5489 GB, free: 46.62 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (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)