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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001259/0.001259, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.185/1.185, allocations: 194.2 MB / 212.2 MB, free: 2.371 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001629/0.001629, allocations: 130.9 kB / 256.6 MB, free: 4.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.166/0.166, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 67.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.08481, allocations: 52.2 MB / 454 MB, free: 16.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.005843/0.0907, allocations: 6.014 MB / 460 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.09346, allocations: 2.058 MB / 462.1 MB, free: 8.449 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.09389, allocations: 31.81 kB / 462.1 MB, free: 8.418 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.09494, allocations: 418.3 kB / 462.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.09549, allocations: 266.8 kB / 462.8 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.0962, allocations: 327.5 kB / 463.1 MB, free: 7.426 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000708/0.09692, allocations: 1.091 MB / 464.2 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004749/0.0974, allocations: 345.7 kB / 464.5 MB, free: 5.992 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.09777, allocations: 294.7 kB / 464.8 MB, free: 5.703 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005263/0.0983, allocations: 482.6 kB / 465.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.09838, allocations: 32 kB / 465.3 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.09868, allocations: 163.7 kB / 465.5 MB, free: 5.039 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.09887, allocations: 275.2 kB / 465.7 MB, free: 4.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.0991, allocations: 318.4 kB / 466 MB, free: 4.457 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.09964, allocations: 0.7943 MB / 466.8 MB, free: 3.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.09966, allocations: 0 / 466.8 MB, free: 3.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09967, allocations: 0 / 466.8 MB, free: 3.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.09969, allocations: 0 / 466.8 MB, free: 3.66 MB / 314.7 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.001507/0.1012, allocations: 0.9059 MB / 467.8 MB, free: 2.707 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1012, allocations: 8.031 kB / 467.8 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009357/0.1022, allocations: 136.1 kB / 467.9 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007707/0.103, allocations: 0.5119 MB / 468.4 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.103, allocations: 48.92 kB / 468.5 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.1033, allocations: 123.8 kB / 468.6 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/0.1042, allocations: 0.8587 MB / 469.4 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.1042, allocations: 7.922 kB / 469.4 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/0.1043, allocations: 20 kB / 469.5 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000423/0.1047, allocations: 76.88 kB / 469.5 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/0.1055, allocations: 0.6166 MB / 470.1 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.1101, allocations: 3.8 MB / 473.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.1112, allocations: 0.5344 MB / 474.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.1116, allocations: 319 kB / 474.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.529e-05/0.1117, allocations: 12.38 kB / 474.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.1117, allocations: 39 kB / 474.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 4.679e-06/0.1117, allocations: 0 / 474.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.002909/0.1146, allocations: 1.839 MB / 476.7 MB, free: 9.406 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.1147, allocations: 81.55 kB / 476.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.1151, allocations: 425.7 kB / 477.2 MB, free: 8.887 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.1152, allocations: 29.7 kB / 477.2 MB, free: 8.852 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.1154, allocations: 331.7 kB / 477.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.1156, allocations: 193.3 kB / 477.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.1158, allocations: 158.2 kB / 477.9 MB, free: 8.172 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.116, allocations: 370.7 kB / 478.2 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/0.1165, allocations: 373.5 kB / 478.6 MB, free: 7.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.1171, allocations: 0.6057 MB / 479.2 MB, free: 6.727 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.1184, allocations: 1.057 MB / 480.3 MB, free: 5.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1184, allocations: 4 kB / 480.3 MB, free: 5.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004253/0.1227, allocations: 2.003 MB / 482.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.1227, allocations: 8 kB / 482.3 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.1227, allocations: 12.59 kB / 482.3 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/0.1251, allocations: 0.9691 MB / 483.3 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.1257, allocations: 119.8 kB / 483.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009488/0.1352, allocations: 7.372 MB / 490.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.1357, allocations: 35.97 kB / 490.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/0.1358, allocations: 40.05 kB / 490.8 MB, free: 10.71 MB / 346.7 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.0003683/0.1362, allocations: 249.7 kB / 491.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1363, allocations: 51.38 kB / 491.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.1375, allocations: 0.7218 MB / 491.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1376, allocations: 7.938 kB / 491.8 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1376, allocations: 8 kB / 491.9 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1376, allocations: 3.984 kB / 491.9 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.1402, allocations: 1.52 MB / 493.4 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.1402, allocations: 0 / 493.4 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009905/0.1412, allocations: 183.8 kB / 493.6 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.1412, allocations: 7.938 kB / 493.6 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-05/0.1413, allocations: 31.98 kB / 493.6 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.1413, allocations: 8 kB / 493.6 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1413, allocations: 0 / 493.6 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008142/0.1494, allocations: 5.368 MB / 499 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1496, allocations: 128.7 kB / 499.1 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.1497, allocations: 23.98 kB / 499.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.15, allocations: 35.97 kB / 499.2 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.1501, allocations: 32.39 kB / 499.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.1502, allocations: 12 kB / 499.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002973/0.1505, allocations: 283.1 kB / 499.5 MB, free: 1.793 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1505, allocations: 0 / 499.5 MB, free: 1.793 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001071/0.1516, allocations: 284 kB / 499.8 MB, free: 1.516 MB / 346.7 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.000181/0.1518, allocations: 131.1 kB / 499.9 MB, free: 1.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.1544, allocations: 1.461 MB / 0.4896 GB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1544, allocations: 0 / 0.4896 GB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.1548, allocations: 310.3 kB / 0.4899 GB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.1555, allocations: 126.2 kB / 0.49 GB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/0.1602, allocations: 3.272 MB / 0.4932 GB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.1608, allocations: 0.9962 MB / 0.4942 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00067/0.1615, allocations: 232.5 kB / 0.4944 GB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.1617, allocations: 55.42 kB / 0.4945 GB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1617, allocations: 0 / 0.4945 GB, free: 10.83 MB / 362.7 MB Notification: Performance of Templates: time 0.1845/0.3462, allocations: 12.52 MB / 0.5067 GB, free: 65.17 MB / 362.7 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)