Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 108.4 kB / 17.73 MB, free: 5.324 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.00146/0.00146, allocations: 187 kB / 18.67 MB, free: 4.398 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.371/1.371, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1772/0.1772, allocations: 37.98 MB / 309.9 MB, free: 5.949 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.001384/0.001384, allocations: 67.89 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.0894, allocations: 55.25 MB / 487.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.006118/0.09556, allocations: 5.165 MB / 493 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.09851, allocations: 1.808 MB / 494.8 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.0988, allocations: 15.88 kB / 494.8 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.1, allocations: 442 kB / 495.2 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.1007, allocations: 302.4 kB / 495.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008487/0.1015, allocations: 359.2 kB / 495.9 MB, free: 228 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007387/0.1023, allocations: 0.7558 MB / 496.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.1028, allocations: 374.2 kB / 497 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.1032, allocations: 346.7 kB / 497.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006006/0.1038, allocations: 454.6 kB / 497.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.512e-05/0.1039, allocations: 48 kB / 497.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.1042, allocations: 171.7 kB / 498 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.1045, allocations: 291.3 kB / 498.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003113/0.1048, allocations: 338.3 kB / 498.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007776/0.1056, allocations: 0.8177 MB / 499.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1056, allocations: 0 / 499.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1056, allocations: 0 / 499.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1056, allocations: 0 / 499.4 MB, free: 12.66 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00156/0.1072, allocations: 0.9137 MB / 0.4886 GB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1073, allocations: 11.89 kB / 0.4886 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009611/0.1082, allocations: 132 kB / 0.4887 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008913/0.1091, allocations: 0.5469 MB / 0.4893 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.114e-05/0.1092, allocations: 33.12 kB / 0.4893 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.1095, allocations: 139.8 kB / 0.4894 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.1107, allocations: 0.8587 MB / 0.4903 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.1107, allocations: 7.938 kB / 0.4903 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.864e-05/0.1108, allocations: 16 kB / 0.4903 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004387/0.1112, allocations: 72.94 kB / 0.4904 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009266/0.1121, allocations: 0.6244 MB / 0.491 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/0.1163, allocations: 3.777 MB / 0.4947 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.1174, allocations: 0.5305 MB / 0.4952 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/0.1178, allocations: 319 kB / 0.4955 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.1179, allocations: 20.34 kB / 0.4955 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1179, allocations: 38.94 kB / 0.4955 GB, free: 4.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.375e-06/0.1179, allocations: 3.938 kB / 0.4955 GB, free: 4.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.002882/0.1208, allocations: 1.832 MB / 0.4973 GB, free: 2.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1209, allocations: 81.55 kB / 0.4974 GB, free: 2.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.1213, allocations: 425.7 kB / 0.4978 GB, free: 1.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.1214, allocations: 33.7 kB / 0.4978 GB, free: 1.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.1216, allocations: 331.8 kB / 0.4982 GB, free: 1.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.1218, allocations: 201.3 kB / 0.4984 GB, free: 1.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.122, allocations: 142.2 kB / 0.4985 GB, free: 1.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1221, allocations: 370.7 kB / 0.4988 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.1227, allocations: 385.5 kB / 0.4992 GB, free: 416 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.1233, allocations: 0.5979 MB / 0.4998 GB, free: 15.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.1246, allocations: 1.065 MB / 0.5008 GB, free: 14.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.1247, allocations: 8 kB / 0.5008 GB, free: 14.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004253/0.1289, allocations: 1.996 MB / 0.5028 GB, free: 12.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.129, allocations: 8 kB / 0.5028 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.129, allocations: 8.031 kB / 0.5028 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/0.1314, allocations: 0.9806 MB / 0.5038 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.1319, allocations: 119.8 kB / 0.5039 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/0.1426, allocations: 8.181 MB / 0.5119 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/0.1431, allocations: 35.97 kB / 0.5119 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.769e-05/0.1432, allocations: 35.98 kB / 0.5119 GB, free: 2.875 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * 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): 2 systems {(1,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003676/0.1436, allocations: 245.5 kB / 0.5122 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.1437, allocations: 51.5 kB / 0.5122 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.1449, allocations: 0.7296 MB / 0.5129 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1449, allocations: 7.938 kB / 0.5129 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1449, allocations: 0 / 0.5129 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.145, allocations: 4.047 kB / 0.5129 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.1474, allocations: 1.524 MB / 0.5144 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.1475, allocations: 4 kB / 0.5144 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.1485, allocations: 195.8 kB / 0.5146 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1485, allocations: 4 kB / 0.5146 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/0.1486, allocations: 27.92 kB / 0.5147 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.1486, allocations: 4 kB / 0.5147 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1486, allocations: 4 kB / 0.5147 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.15, allocations: 0.9972 MB / 0.5156 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.1501, allocations: 120.5 kB / 0.5157 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.747e-05/0.1502, allocations: 31.98 kB / 0.5158 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.1506, allocations: 19.97 kB / 0.5158 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.1506, allocations: 32.39 kB / 0.5158 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.1507, allocations: 16 kB / 0.5158 GB, free: 14.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.151, allocations: 283.1 kB / 0.5161 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.151, allocations: 4 kB / 0.5161 GB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007929/0.1518, allocations: 212 kB / 0.5163 GB, free: 14.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/0.152, allocations: 127.2 kB / 0.5164 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.1544, allocations: 1.472 MB / 0.5179 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1545, allocations: 0.625 kB / 0.5179 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.1549, allocations: 314.3 kB / 0.5182 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.1556, allocations: 137.3 kB / 0.5183 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.1597, allocations: 2.749 MB / 0.521 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.1603, allocations: 0.9843 MB / 0.522 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.1605, allocations: 47.44 kB / 0.522 GB, free: 8.32 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1605, allocations: 0 / 0.522 GB, free: 8.32 MB / 414.1 MB Notification: Performance of Templates: time 0.1906/0.3511, allocations: 11.07 MB / 0.5328 GB, free: 50.61 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)