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.001071/0.001071, allocations: 114.6 kB / 17.13 MB, free: 5.922 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.001095/0.001095, allocations: 198.9 kB / 18.06 MB, free: 5 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.337/1.337, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0455/0.0455, allocations: 8.095 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 415.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08823/0.08951, allocations: 51.51 MB / 466.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.00282/0.09236, allocations: 1.784 MB / 468.4 MB, free: 396 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.09449, allocations: 1.578 MB / 470 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.0947, allocations: 4 kB / 470 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.09519, allocations: 135.3 kB / 470.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.09568, allocations: 159 kB / 470.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.0975, allocations: 1.054 MB / 471.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000421/0.09793, allocations: 286.6 kB / 471.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.09811, allocations: 84.67 kB / 471.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.09826, allocations: 115.6 kB / 471.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.09846, allocations: 143.4 kB / 472 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.09851, allocations: 20 kB / 472 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/0.099, allocations: 243.8 kB / 472.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.09906, allocations: 51.83 kB / 472.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.09919, allocations: 139.3 kB / 472.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.09978, allocations: 458.6 kB / 472.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09979, allocations: 0 / 472.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.0998, allocations: 0 / 472.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.09982, allocations: 0 / 472.9 MB, free: 11.93 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.004075/0.1039, allocations: 1.107 MB / 474 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1039, allocations: 8.031 kB / 474 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.796e-05/0.104, allocations: 32.56 kB / 474 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1043, allocations: 271.6 kB / 474.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1044, allocations: 16.75 kB / 474.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.1044, allocations: 28.38 kB / 474.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.105, allocations: 351.7 kB / 474.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.105, allocations: 192 / 474.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.1051, allocations: 15.94 kB / 474.7 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1051, allocations: 4 kB / 474.7 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.1055, allocations: 299.2 kB / 475 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.1074, allocations: 1.346 MB / 476.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.1082, allocations: 382.6 kB / 476.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1085, allocations: 173.3 kB / 476.9 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007683/0.1092, allocations: 0.6932 MB / 477.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.1093, allocations: 34.8 kB / 477.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.1093, allocations: 4 kB / 477.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.003599/0.1129, allocations: 1.132 MB / 478.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.113, allocations: 106.8 kB / 478.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1132, allocations: 232.9 kB / 479.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1132, allocations: 37.7 kB / 479.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.1133, allocations: 148.6 kB / 479.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.1134, allocations: 94.59 kB / 479.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1135, allocations: 86.11 kB / 479.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1136, allocations: 334.8 kB / 479.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.1139, allocations: 196.8 kB / 479.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.1143, allocations: 263.2 kB / 480.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/0.1149, allocations: 472.9 kB / 480.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1149, allocations: 7.969 kB / 480.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002031/0.1169, allocations: 0.8144 MB / 481.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.117, allocations: 4 kB / 481.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.117, allocations: 4 kB / 481.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/0.119, allocations: 417.3 kB / 481.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.1193, allocations: 67.89 kB / 482 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/0.124, allocations: 4.031 MB / 486 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.1244, allocations: 43.58 kB / 486 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.1244, allocations: 16 kB / 486.1 MB, free: 13.96 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.0001532/0.1246, allocations: 153.8 kB / 486.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.1246, allocations: 23.66 kB / 486.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.1267, allocations: 0.7399 MB / 487 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1267, allocations: 0 / 487 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1267, allocations: 8 kB / 487 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1267, allocations: 0 / 487 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.1271, allocations: 421.2 kB / 487.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.1272, allocations: 3.938 kB / 487.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.1273, allocations: 35.98 kB / 487.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/0.1292, allocations: 417.2 kB / 487.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.1293, allocations: 4 kB / 487.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004613/0.1339, allocations: 4.008 MB / 491.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1339, allocations: 32 / 491.9 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.1358, allocations: 0.7704 MB / 492.6 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.1359, allocations: 104.8 kB / 492.7 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.1359, allocations: 4 kB / 492.7 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.1362, allocations: 27.97 kB / 492.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.1363, allocations: 23.97 kB / 492.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.1363, allocations: 8 kB / 492.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1364, allocations: 160.5 kB / 492.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1364, allocations: 0 / 492.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004822/0.1369, allocations: 123.9 kB / 493.1 MB, free: 6.555 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.0001841/0.1371, allocations: 123.2 kB / 493.2 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.1387, allocations: 0.7638 MB / 493.9 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.1387, allocations: 0 / 493.9 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.1398, allocations: 0.5131 MB / 494.5 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1401, allocations: 31.12 kB / 494.5 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1411, allocations: 0.5656 MB / 495.1 MB, free: 4.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1414, allocations: 0.761 MB / 495.8 MB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.1415, allocations: 31.42 kB / 495.8 MB, free: 3.652 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1415, allocations: 0 / 495.8 MB, free: 3.652 MB / 366.1 MB Notification: Performance of Templates: time 0.008955/0.1505, allocations: 6.384 MB / 0.4905 GB, free: 13.27 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)