Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 115.9 kB / 17.13 MB, free: 5.965 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.000993/0.0009929, allocations: 198.2 kB / 18.06 MB, free: 5.039 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04566/0.04566, allocations: 8.085 MB / 300 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 415.1 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08725, allocations: 51.53 MB / 466.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002358/0.08964, allocations: 1.22 MB / 467.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.09163, allocations: 1.489 MB / 469.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.09172, allocations: 0 / 469.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.09209, allocations: 111.5 kB / 469.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.09237, allocations: 75.53 kB / 469.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.09394, allocations: 0.8943 MB / 470.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.09421, allocations: 163.2 kB / 470.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.09436, allocations: 53.52 kB / 470.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.09443, allocations: 59.78 kB / 470.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.09459, allocations: 91.61 kB / 470.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.09462, allocations: 12 kB / 470.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.09496, allocations: 195.8 kB / 471 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.095, allocations: 31.84 kB / 471 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.175e-05/0.09508, allocations: 83.59 kB / 471.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.09548, allocations: 303.2 kB / 471.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.0955, allocations: 4 kB / 471.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.0955, allocations: 0 / 471.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.09552, allocations: 4 kB / 471.4 MB, free: 13.38 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.001649/0.09717, allocations: 0.6317 MB / 472.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.09722, allocations: 15.89 kB / 472.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.09729, allocations: 16.75 kB / 472.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.09756, allocations: 220.6 kB / 472.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.09758, allocations: 12.59 kB / 472.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.09761, allocations: 16.38 kB / 472.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.09792, allocations: 175.6 kB / 472.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.09794, allocations: 4 kB / 472.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.09797, allocations: 8 kB / 472.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.09798, allocations: 0 / 472.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.09822, allocations: 156.6 kB / 472.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009709/0.0992, allocations: 0.7029 MB / 473.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.09971, allocations: 214.3 kB / 473.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.09984, allocations: 88.84 kB / 473.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.09989, allocations: 7.984 kB / 473.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.09993, allocations: 42.44 kB / 473.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.09993, allocations: 0 / 473.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001628/0.1016, allocations: 0.5616 MB / 474.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1016, allocations: 55.41 kB / 474.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1018, allocations: 166.4 kB / 474.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1018, allocations: 33.7 kB / 474.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.1019, allocations: 124.2 kB / 474.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.102, allocations: 47.2 kB / 474.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.342e-05/0.102, allocations: 45.7 kB / 474.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1021, allocations: 322.8 kB / 475.1 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1023, allocations: 95.97 kB / 475.2 MB, free: 9.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1024, allocations: 98.75 kB / 475.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.1028, allocations: 212.6 kB / 475.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1028, allocations: 4 kB / 475.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008211/0.1036, allocations: 384.5 kB / 475.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1036, allocations: 4 kB / 475.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1036, allocations: 3.938 kB / 475.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006733/0.1043, allocations: 140.7 kB / 476 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1044, allocations: 31.92 kB / 476 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.107, allocations: 2.028 MB / 478 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1072, allocations: 19.75 kB / 478.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.1072, allocations: 8 kB / 478.1 MB, free: 6.324 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.1074, allocations: 133.8 kB / 478.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.1074, allocations: 11.91 kB / 478.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009368/0.1084, allocations: 366.1 kB / 478.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1084, allocations: 0 / 478.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1084, allocations: 4 kB / 478.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1084, allocations: 7.984 kB / 478.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.1089, allocations: 297.3 kB / 478.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1089, allocations: 0 / 478.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.018e-05/0.1089, allocations: 19.98 kB / 478.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006507/0.1096, allocations: 132.7 kB / 479 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.1096, allocations: 11.98 kB / 479 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.1118, allocations: 2.009 MB / 481 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1118, allocations: 3.938 kB / 481 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.1127, allocations: 427.9 kB / 481.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.1127, allocations: 96.8 kB / 481.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1128, allocations: 4 kB / 481.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.1129, allocations: 7.984 kB / 481.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.113, allocations: 23.92 kB / 481.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.113, allocations: 4 kB / 481.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1131, allocations: 136 kB / 481.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1132, allocations: 0 / 481.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003977/0.1136, allocations: 60 kB / 481.8 MB, free: 2.363 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002161/0.1138, allocations: 119.2 kB / 481.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008793/0.1147, allocations: 374.5 kB / 482.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.1147, allocations: 8 kB / 482.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.1152, allocations: 262.5 kB / 482.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1155, allocations: 22.48 kB / 482.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.1163, allocations: 392.8 kB / 482.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1166, allocations: 0.72 MB / 483.7 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.1166, allocations: 19.44 kB / 483.7 MB, free: 380 kB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1166, allocations: 0 / 483.7 MB, free: 380 kB / 350.1 MB Notification: Performance of Templates: time 0.006065/0.1227, allocations: 3.123 MB / 486.8 MB, free: 13.25 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)