Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 118.3 kB / 17.13 MB, free: 5.938 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.001186/0.001186, allocations: 193.2 kB / 18.06 MB, free: 5.02 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.04578/0.04578, allocations: 8.105 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 71.89 kB / 415.2 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08013/0.08133, allocations: 51.51 MB / 466.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002387/0.08375, allocations: 1.259 MB / 467.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.08573, allocations: 1.489 MB / 469.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.08585, allocations: 4 kB / 469.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.08621, allocations: 111.4 kB / 469.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.08657, allocations: 103.4 kB / 469.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.08834, allocations: 1.003 MB / 470.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.08863, allocations: 159.2 kB / 470.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.08877, allocations: 53.52 kB / 470.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.08885, allocations: 75.66 kB / 470.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.08901, allocations: 83.67 kB / 471 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.08904, allocations: 12 kB / 471 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.08945, allocations: 227.7 kB / 471.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.08949, allocations: 31.92 kB / 471.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.93e-05/0.08958, allocations: 79.53 kB / 471.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.09, allocations: 335.1 kB / 471.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.09002, allocations: 0 / 471.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09003, allocations: 3.938 kB / 471.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.09004, allocations: 4 kB / 471.7 MB, free: 13.16 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002235/0.09228, allocations: 0.7214 MB / 472.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.09232, allocations: 11.89 kB / 472.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.09239, allocations: 20.75 kB / 472.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.09265, allocations: 237.6 kB / 472.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.09267, allocations: 8.609 kB / 472.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.09271, allocations: 16.36 kB / 472.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.09302, allocations: 198 kB / 472.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.09304, allocations: 192 / 472.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.09307, allocations: 11.94 kB / 472.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.09309, allocations: 7.938 kB / 472.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.09333, allocations: 152.6 kB / 473 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.09444, allocations: 0.7263 MB / 473.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.09493, allocations: 206.5 kB / 474 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.09507, allocations: 92.84 kB / 474.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.09512, allocations: 8 kB / 474.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.09515, allocations: 30.56 kB / 474.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.09516, allocations: 0 / 474.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002038/0.0972, allocations: 0.5962 MB / 474.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.09726, allocations: 85.09 kB / 474.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.09745, allocations: 170.6 kB / 474.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.09748, allocations: 33.7 kB / 475 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.09756, allocations: 120.3 kB / 475.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.09762, allocations: 59.17 kB / 475.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.09771, allocations: 45.7 kB / 475.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.09783, allocations: 330.8 kB / 475.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.098, allocations: 99.95 kB / 475.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.09819, allocations: 134.4 kB / 475.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.09853, allocations: 220.8 kB / 476 MB, free: 8.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.09854, allocations: 4.031 kB / 476 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001146/0.09969, allocations: 425.9 kB / 476.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.09971, allocations: 4 kB / 476.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.09973, allocations: 0 / 476.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.1008, allocations: 204.6 kB / 476.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.101, allocations: 39.91 kB / 476.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.1038, allocations: 1.975 MB / 478.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.104, allocations: 27.78 kB / 478.6 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.104, allocations: 4 kB / 478.6 MB, free: 5.746 MB / 350.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 (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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.1042, allocations: 125.8 kB / 478.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.1042, allocations: 15.84 kB / 478.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.1053, allocations: 392.1 kB / 479.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1054, allocations: 4 kB / 479.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1054, allocations: 7.922 kB / 479.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1054, allocations: 0 / 479.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.1057, allocations: 301.3 kB / 479.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1057, allocations: 0 / 479.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.1058, allocations: 27.98 kB / 479.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.1069, allocations: 196.6 kB / 479.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1069, allocations: 4 kB / 479.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.1093, allocations: 1.945 MB / 481.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1093, allocations: 0 / 481.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1104, allocations: 455.9 kB / 482.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.1104, allocations: 96.84 kB / 482.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.1105, allocations: 15.92 kB / 482.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.1107, allocations: 16 kB / 482.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1107, allocations: 11.97 kB / 482.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1108, allocations: 8 kB / 482.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1109, allocations: 132.2 kB / 482.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1109, allocations: 4 kB / 482.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000371/0.1113, allocations: 60 kB / 482.4 MB, free: 1.719 MB / 350.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 (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001842/0.1115, allocations: 123.2 kB / 482.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009637/0.1125, allocations: 411.1 kB / 482.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1125, allocations: 0 / 482.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.1131, allocations: 293.3 kB / 483.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1134, allocations: 23.94 kB / 483.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.1141, allocations: 401.9 kB / 483.6 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1144, allocations: 0.7202 MB / 484.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.1145, allocations: 19.44 kB / 484.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1145, allocations: 3.938 kB / 484.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Templates: time 0.005642/0.1201, allocations: 3.502 MB / 487.9 MB, free: 12.16 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)