Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 123 kB / 17.14 MB, free: 5.914 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.001021/0.001021, allocations: 189.2 kB / 18.06 MB, free: 4.996 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.279/1.279, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04384/0.04384, allocations: 8.093 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 415.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07664/0.07788, allocations: 51.52 MB / 466.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.0028/0.08072, allocations: 1.777 MB / 468.4 MB, free: 396 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.0829, allocations: 1.578 MB / 470 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.08309, allocations: 12 kB / 470 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.08352, allocations: 127.3 kB / 470.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004357/0.08399, allocations: 155 kB / 470.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.08586, allocations: 1.062 MB / 471.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.08628, allocations: 282.6 kB / 471.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.08647, allocations: 84.69 kB / 471.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.08662, allocations: 111.6 kB / 471.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.08682, allocations: 147.3 kB / 472 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.08687, allocations: 24 kB / 472 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004674/0.08735, allocations: 239.8 kB / 472.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.08741, allocations: 63.7 kB / 472.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.08756, allocations: 135.3 kB / 472.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.08814, allocations: 462.6 kB / 472.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.08815, allocations: 0 / 472.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.08816, allocations: 0 / 472.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.08817, allocations: 0 / 472.9 MB, free: 11.92 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.004191/0.09237, allocations: 1.096 MB / 474 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.09242, allocations: 15.89 kB / 474 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.09252, allocations: 32.56 kB / 474 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.0928, allocations: 271.6 kB / 474.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.09283, allocations: 16.75 kB / 474.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.09289, allocations: 28.31 kB / 474.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/0.09346, allocations: 355.7 kB / 474.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.09348, allocations: 4.188 kB / 474.7 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.09353, allocations: 11.94 kB / 474.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.09354, allocations: 8 kB / 474.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.094, allocations: 291.3 kB / 475 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.09584, allocations: 1.343 MB / 476.3 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/0.09671, allocations: 378.7 kB / 476.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.09696, allocations: 177.3 kB / 476.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007576/0.09773, allocations: 0.6971 MB / 477.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.09777, allocations: 38.73 kB / 477.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/0.09778, allocations: 4 kB / 477.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.00368/0.1015, allocations: 1.132 MB / 478.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.1015, allocations: 106.8 kB / 478.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.1017, allocations: 228.9 kB / 479.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.1018, allocations: 33.7 kB / 479.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.631e-05/0.1019, allocations: 148.6 kB / 479.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.102, allocations: 98.58 kB / 479.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.1021, allocations: 86.11 kB / 479.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1022, allocations: 334.8 kB / 479.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.1025, allocations: 188.8 kB / 479.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.1029, allocations: 271.1 kB / 480.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.1036, allocations: 477 kB / 480.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.1036, allocations: 3.938 kB / 480.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002109/0.1057, allocations: 0.8144 MB / 481.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1057, allocations: 8 kB / 481.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1057, allocations: 0 / 481.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/0.1078, allocations: 413.3 kB / 481.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1081, allocations: 71.91 kB / 482 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004866/0.113, allocations: 4.027 MB / 486 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.1133, allocations: 39.59 kB / 486 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.1134, allocations: 23.92 kB / 486.1 MB, free: 13.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * 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,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.1135, allocations: 145.7 kB / 486.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.1136, allocations: 27.72 kB / 486.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.1157, allocations: 0.7399 MB / 487 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1157, allocations: 4 kB / 487 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1157, allocations: 4 kB / 487 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1157, allocations: 0 / 487 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.1161, allocations: 417.2 kB / 487.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1162, allocations: 3.938 kB / 487.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1163, allocations: 47.92 kB / 487.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/0.1183, allocations: 405.5 kB / 487.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.1183, allocations: 8 kB / 487.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004723/0.1231, allocations: 4.015 MB / 491.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1231, allocations: 0 / 491.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.125, allocations: 0.7666 MB / 492.6 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.1251, allocations: 108.7 kB / 492.7 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.1252, allocations: 8 kB / 492.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.1255, allocations: 19.5 kB / 492.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.1255, allocations: 27.97 kB / 492.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.1256, allocations: 12 kB / 492.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.1257, allocations: 160.5 kB / 492.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1257, allocations: 0 / 492.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005024/0.1262, allocations: 119.9 kB / 493.1 MB, free: 6.547 MB / 366.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 (25): * Single equations (assignments): 23 * 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,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000188/0.1264, allocations: 123.2 kB / 493.2 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.128, allocations: 0.7638 MB / 494 MB, free: 5.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.1281, allocations: 4 kB / 494 MB, free: 5.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.1291, allocations: 0.5092 MB / 494.5 MB, free: 5.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1295, allocations: 31.06 kB / 494.5 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.1304, allocations: 0.5695 MB / 495.1 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1307, allocations: 0.7532 MB / 495.8 MB, free: 3.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.1308, allocations: 39.42 kB / 495.9 MB, free: 3.641 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1308, allocations: 0 / 495.9 MB, free: 3.641 MB / 366.1 MB Notification: Performance of Templates: time 0.008469/0.1393, allocations: 6.401 MB / 0.4905 GB, free: 13.25 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)