Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 120.8 kB / 17.13 MB, free: 5.961 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.001743/0.001743, allocations: 193.2 kB / 18.06 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.8 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04847/0.04847, allocations: 8.099 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0781/0.07932, allocations: 51.51 MB / 466.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.003565/0.08293, allocations: 2.696 MB / 469.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.08527, allocations: 1.621 MB / 471 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.08552, allocations: 8 kB / 471 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.086, allocations: 171 kB / 471.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.08662, allocations: 222.5 kB / 471.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.08879, allocations: 1.237 MB / 472.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005873/0.08939, allocations: 465.7 kB / 473.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.08966, allocations: 173.8 kB / 473.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.08989, allocations: 191.3 kB / 473.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.09024, allocations: 227.1 kB / 473.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.007e-05/0.09033, allocations: 40 kB / 473.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.09083, allocations: 267.8 kB / 473.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.238e-05/0.09093, allocations: 99.61 kB / 474 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.09114, allocations: 222.9 kB / 474.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007357/0.09188, allocations: 0.6348 MB / 474.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.0919, allocations: 4 kB / 474.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.0919, allocations: 0 / 474.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.09193, allocations: 4 kB / 474.9 MB, free: 9.871 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005547/0.09748, allocations: 1.396 MB / 476.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.09753, allocations: 8.031 kB / 476.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.09766, allocations: 52.38 kB / 476.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.09809, allocations: 335.5 kB / 476.7 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.09813, allocations: 25.03 kB / 476.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.0982, allocations: 44.38 kB / 476.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.09904, allocations: 0.5101 MB / 477.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.09906, allocations: 192 / 477.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/0.09912, allocations: 19.94 kB / 477.3 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.09914, allocations: 8 kB / 477.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000685/0.09983, allocations: 446.4 kB / 477.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.1026, allocations: 2.11 MB / 479.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009352/0.1035, allocations: 0.5785 MB / 480.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.1039, allocations: 276.8 kB / 480.7 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.924e-05/0.104, allocations: 11.97 kB / 480.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.104, allocations: 42.5 kB / 480.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.104, allocations: 0 / 480.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006879/0.1109, allocations: 1.822 MB / 482.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.111, allocations: 106.8 kB / 482.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1113, allocations: 274.9 kB / 482.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.1113, allocations: 37.7 kB / 483 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1115, allocations: 180.6 kB / 483.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.1116, allocations: 145.8 kB / 483.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.1118, allocations: 110.2 kB / 483.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1119, allocations: 346.8 kB / 483.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.1124, allocations: 289 kB / 484 MB, free: 304 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.1128, allocations: 332.7 kB / 484.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.1138, allocations: 0.6295 MB / 485 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1138, allocations: 3.938 kB / 485 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00351/0.1173, allocations: 1.241 MB / 486.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1173, allocations: 8 kB / 486.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1174, allocations: 3.938 kB / 486.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003733/0.1211, allocations: 0.7733 MB / 487 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.1215, allocations: 91.83 kB / 487.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007384/0.1289, allocations: 4.05 MB / 491.1 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.1293, allocations: 59.41 kB / 491.2 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.1294, allocations: 20 kB / 491.2 MB, free: 8.934 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.1296, allocations: 165.8 kB / 491.4 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.96e-05/0.1297, allocations: 35.56 kB / 491.4 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/0.1332, allocations: 1.199 MB / 492.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-06/0.1332, allocations: 4 kB / 492.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1332, allocations: 0 / 492.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1332, allocations: 3.984 kB / 492.6 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/0.1372, allocations: 1.795 MB / 494.4 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1372, allocations: 0 / 494.4 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.1375, allocations: 63.84 kB / 494.5 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003507/0.141, allocations: 0.7452 MB / 495.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.141, allocations: 8 kB / 495.2 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006998/0.148, allocations: 4.02 MB / 499.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1481, allocations: 0 / 499.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.1514, allocations: 1.211 MB / 0.4887 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.539e-05/0.1515, allocations: 120.5 kB / 0.4889 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.1516, allocations: 8 kB / 0.4889 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.152, allocations: 35.09 kB / 0.4889 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.1521, allocations: 40.33 kB / 0.4889 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.1521, allocations: 16 kB / 0.4889 GB, free: 15.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.1523, allocations: 190 kB / 0.4891 GB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1523, allocations: 4 kB / 0.4891 GB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006025/0.1529, allocations: 183.8 kB / 0.4893 GB, free: 14.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001978/0.1531, allocations: 131.2 kB / 0.4894 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.1556, allocations: 1.035 MB / 0.4904 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1556, allocations: 0 / 0.4904 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.1574, allocations: 0.6648 MB / 0.4911 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.1578, allocations: 39.62 kB / 0.4911 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.1592, allocations: 0.8091 MB / 0.4919 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1596, allocations: 0.8091 MB / 0.4927 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1597, allocations: 43.42 kB / 0.4928 GB, free: 11.23 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1597, allocations: 0 / 0.4928 GB, free: 11.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01076/0.1705, allocations: 7.968 MB / 0.5005 GB, free: 3.277 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)