Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004047/0.004047, allocations: 89.23 kB / 15.91 MB, free: 6.301 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.0009423/0.0009423, allocations: 195.7 kB / 16.83 MB, free: 6.234 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.188/1.188, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1311/0.1311, allocations: 8.083 MB / 298.7 MB, free: 2.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00098/0.0009801, allocations: 60.14 kB / 361 MB, free: 13.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09106, allocations: 51.52 MB / 412.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002418/0.09351, allocations: 1.655 MB / 414.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.09515, allocations: 1.555 MB / 415.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.09522, allocations: 4 kB / 415.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.09553, allocations: 111.5 kB / 415.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.09579, allocations: 119.4 kB / 416 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.09732, allocations: 1.014 MB / 417 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.09756, allocations: 242.7 kB / 417.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.0977, allocations: 68.09 kB / 417.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.09778, allocations: 95.64 kB / 417.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.09794, allocations: 127.4 kB / 417.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.09798, allocations: 16 kB / 417.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.0983, allocations: 227.7 kB / 417.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.09835, allocations: 39.84 kB / 417.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.09846, allocations: 119.3 kB / 417.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.09887, allocations: 411.1 kB / 418.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.09888, allocations: 0 / 418.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.09889, allocations: 0 / 418.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.0989, allocations: 0 / 418.3 MB, free: 4.352 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003199/0.1021, allocations: 0.9944 MB / 419.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1021, allocations: 12.03 kB / 419.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.1022, allocations: 32.64 kB / 419.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1025, allocations: 255.9 kB / 419.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1025, allocations: 16.7 kB / 419.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.1026, allocations: 20.38 kB / 419.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.103, allocations: 298.5 kB / 419.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.103, allocations: 192 / 419.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.1031, allocations: 11.94 kB / 419.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.1031, allocations: 8 kB / 419.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.1034, allocations: 243.9 kB / 420.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.1049, allocations: 1.164 MB / 421.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.1055, allocations: 314.4 kB / 421.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.1057, allocations: 160.8 kB / 421.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.1057, allocations: 7.984 kB / 421.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.1058, allocations: 35 kB / 421.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.253e-06/0.1058, allocations: 0 / 421.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003659/0.1094, allocations: 1.076 MB / 422.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.1095, allocations: 106.8 kB / 423 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.1097, allocations: 218.6 kB / 423.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.1097, allocations: 37.7 kB / 423.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.1098, allocations: 128.8 kB / 423.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.1099, allocations: 86.75 kB / 423.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.11, allocations: 73.67 kB / 423.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1101, allocations: 338.7 kB / 423.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.1104, allocations: 176.2 kB / 424.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.1106, allocations: 214.4 kB / 424.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.1112, allocations: 381.5 kB / 424.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1112, allocations: 0 / 424.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001948/0.1131, allocations: 0.7474 MB / 425.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1132, allocations: 8 kB / 425.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1132, allocations: 0 / 425.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.1152, allocations: 416.4 kB / 425.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.1154, allocations: 59.91 kB / 425.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/0.1194, allocations: 2.511 MB / 428.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.1197, allocations: 43.53 kB / 428.4 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.1197, allocations: 15.97 kB / 428.4 MB, free: 9.719 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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.1199, allocations: 146.7 kB / 428.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.12, allocations: 15.81 kB / 428.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.122, allocations: 0.6987 MB / 429.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.122, allocations: 4 kB / 429.3 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.122, allocations: 0 / 429.3 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.122, allocations: 3.984 kB / 429.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.1224, allocations: 389.2 kB / 429.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1224, allocations: 0 / 429.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1226, allocations: 47.91 kB / 429.7 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.1245, allocations: 412.4 kB / 430.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.1245, allocations: 8 kB / 430.1 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003677/0.1282, allocations: 2.476 MB / 432.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1282, allocations: 0 / 432.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.1301, allocations: 0.7497 MB / 433.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.1302, allocations: 100.8 kB / 433.5 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.1302, allocations: 8 kB / 433.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.1305, allocations: 23.92 kB / 433.5 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.1306, allocations: 19.97 kB / 433.5 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.1306, allocations: 11.94 kB / 433.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1307, allocations: 156.4 kB / 433.7 MB, free: 4.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1308, allocations: 4 kB / 433.7 MB, free: 4.227 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004532/0.1312, allocations: 111.9 kB / 433.8 MB, free: 4.117 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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002053/0.1314, allocations: 115.3 kB / 433.9 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.1328, allocations: 0.6117 MB / 434.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1328, allocations: 0 / 434.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.1337, allocations: 406.6 kB / 434.9 MB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1341, allocations: 27.94 kB / 434.9 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000804/0.1349, allocations: 0.5892 MB / 435.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.1351, allocations: 0.7449 MB / 436.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.1353, allocations: 37.91 kB / 436.3 MB, free: 1.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.1353, allocations: 23.44 kB / 436.3 MB, free: 1.484 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1353, allocations: 0 / 436.3 MB, free: 1.484 MB / 366.1 MB Notification: Performance of Templates: time 0.1596/0.2949, allocations: 6.703 MB / 443 MB, free: 56.39 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)