Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 114.4 kB / 17.12 MB, free: 6.039 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.001617/0.001617, allocations: 198.3 kB / 18.06 MB, free: 5.113 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.277/1.277, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04392/0.04392, allocations: 8.09 MB / 300 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 415.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07492/0.07613, allocations: 51.52 MB / 466.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003583/0.07974, allocations: 2.832 MB / 469.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.08195, allocations: 1.656 MB / 471.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.08217, allocations: 8 kB / 471.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.08261, allocations: 182.9 kB / 471.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005451/0.08318, allocations: 230.5 kB / 471.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.08533, allocations: 1.248 MB / 472.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005479/0.08589, allocations: 485.6 kB / 473.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.08615, allocations: 181 kB / 473.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.08632, allocations: 195.3 kB / 473.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.08664, allocations: 274.9 kB / 473.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.089e-05/0.08671, allocations: 40 kB / 474 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.08718, allocations: 283.7 kB / 474.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.08726, allocations: 95.61 kB / 474.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.08746, allocations: 242.8 kB / 474.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.08816, allocations: 0.666 MB / 475.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.08818, allocations: 0 / 475.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.08818, allocations: 0 / 475.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.08819, allocations: 0 / 475.2 MB, free: 9.516 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005635/0.09384, allocations: 1.505 MB / 476.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.09388, allocations: 12.03 kB / 476.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.094, allocations: 48.38 kB / 476.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.0944, allocations: 359.3 kB / 477.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.09444, allocations: 33.38 kB / 477.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.703e-05/0.09452, allocations: 44.38 kB / 477.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008334/0.09536, allocations: 0.5776 MB / 477.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.09538, allocations: 4.188 kB / 477.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.09544, allocations: 19.94 kB / 477.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.09545, allocations: 8 kB / 477.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.09622, allocations: 0.5349 MB / 478.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.09906, allocations: 2.265 MB / 480.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.1002, allocations: 0.8453 MB / 481.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.1007, allocations: 326.1 kB / 481.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-05/0.1008, allocations: 12.41 kB / 481.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1008, allocations: 50.94 kB / 481.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.763e-06/0.1008, allocations: 0 / 481.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.007054/0.1079, allocations: 2.026 MB / 483.9 MB, free: 444 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.1079, allocations: 111.2 kB / 484 MB, free: 308 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.1082, allocations: 278.9 kB / 484.3 MB, free: 16 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.1083, allocations: 37.7 kB / 484.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1084, allocations: 181.3 kB / 484.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.1085, allocations: 181.3 kB / 484.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.1087, allocations: 122.3 kB / 484.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1088, allocations: 350.7 kB / 485.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.1093, allocations: 321.2 kB / 485.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.1098, allocations: 381.6 kB / 485.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009955/0.1108, allocations: 0.7134 MB / 486.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1108, allocations: 0 / 486.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003578/0.1144, allocations: 1.344 MB / 487.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1144, allocations: 4 kB / 487.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1144, allocations: 0 / 487.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003636/0.1181, allocations: 0.7841 MB / 488.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.1185, allocations: 111.8 kB / 488.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007365/0.1259, allocations: 4.177 MB / 493 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.1264, allocations: 51.44 kB / 493 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.1265, allocations: 27.98 kB / 493 MB, free: 7.078 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 (61): * Single equations (assignments): 60 * 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.0002298/0.1267, allocations: 161.8 kB / 493.2 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.1269, allocations: 47.5 kB / 493.2 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.1306, allocations: 1.311 MB / 494.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.1306, allocations: 4 kB / 494.5 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1306, allocations: 7.984 kB / 494.6 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1306, allocations: 3.984 kB / 494.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/0.1348, allocations: 1.981 MB / 496.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.1348, allocations: 3.938 kB / 496.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.1351, allocations: 79.84 kB / 496.6 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003456/0.1386, allocations: 0.7499 MB / 497.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.1386, allocations: 12 kB / 497.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007104/0.1457, allocations: 4.12 MB / 0.4898 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1458, allocations: 0 / 0.4898 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003454/0.1492, allocations: 1.312 MB / 0.491 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.1493, allocations: 116.5 kB / 0.4911 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.1494, allocations: 15.98 kB / 0.4912 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.1498, allocations: 33.53 kB / 0.4912 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.1499, allocations: 48.5 kB / 0.4912 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.15, allocations: 16 kB / 0.4913 GB, free: 12.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1502, allocations: 190 kB / 0.4914 GB, free: 12.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1502, allocations: 0 / 0.4914 GB, free: 12.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006141/0.1508, allocations: 199.8 kB / 0.4916 GB, free: 12.43 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 (45): * Single equations (assignments): 44 * 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.0001988/0.151, allocations: 139.1 kB / 0.4918 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.1536, allocations: 1.119 MB / 0.4928 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1536, allocations: 4 kB / 0.4929 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.1555, allocations: 0.7201 MB / 0.4936 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.1559, allocations: 48.81 kB / 0.4936 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1573, allocations: 0.877 MB / 0.4945 GB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.1577, allocations: 0.8257 MB / 0.4953 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1579, allocations: 47.42 kB / 0.4953 GB, free: 8.559 MB / 382.1 MB Notification: Performance of SimCode: time 1.854e-06/0.1579, allocations: 4 kB / 0.4953 GB, free: 8.555 MB / 382.1 MB Notification: Performance of Templates: time 0.17/0.3279, allocations: 8.787 MB / 0.5039 GB, free: 45.43 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)