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/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.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.001482/0.001482, allocations: 104.6 kB / 16.03 MB, free: 6.277 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.001581/0.001581, allocations: 193.8 kB / 16.95 MB, free: 6.098 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05893/0.05893, allocations: 8.105 MB / 298.9 MB, free: 6.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 63.91 kB / 361.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3033, allocations: 51.51 MB / 412.7 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002268/0.3056, allocations: 1.277 MB / 414 MB, free: 24.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3071, allocations: 1.462 MB / 415.5 MB, free: 23.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.3072, allocations: 4 kB / 415.5 MB, free: 23.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.3075, allocations: 95.66 kB / 415.6 MB, free: 22.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.3078, allocations: 75.59 kB / 415.6 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.309, allocations: 0.8405 MB / 416.5 MB, free: 22.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.3092, allocations: 151.3 kB / 416.6 MB, free: 21.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.3093, allocations: 57.45 kB / 416.7 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.488e-05/0.3094, allocations: 63.72 kB / 416.7 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.3096, allocations: 79.69 kB / 416.8 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.3096, allocations: 12 kB / 416.8 MB, free: 21.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.3099, allocations: 207.8 kB / 417 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.3099, allocations: 35.84 kB / 417.1 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.991e-05/0.31, allocations: 75.59 kB / 417.1 MB, free: 21.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.3104, allocations: 305.1 kB / 417.4 MB, free: 21.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3104, allocations: 4 kB / 417.5 MB, free: 21.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3104, allocations: 0 / 417.5 MB, free: 21.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.3104, allocations: 0 / 417.5 MB, free: 21.05 MB / 302.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.001544/0.312, allocations: 0.624 MB / 418.1 MB, free: 20.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.312, allocations: 12.03 kB / 418.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.3121, allocations: 16.75 kB / 418.1 MB, free: 20.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.3124, allocations: 230 kB / 418.3 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3124, allocations: 12.61 kB / 418.3 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.3124, allocations: 16.38 kB / 418.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.3127, allocations: 171.6 kB / 418.5 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3127, allocations: 4 kB / 418.5 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3128, allocations: 4 kB / 418.5 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3128, allocations: 4 kB / 418.5 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.313, allocations: 160.6 kB / 418.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/0.3139, allocations: 0.7031 MB / 419.4 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.3144, allocations: 210.4 kB / 419.6 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3145, allocations: 92.84 kB / 419.7 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.3146, allocations: 4 kB / 419.7 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.3146, allocations: 38.56 kB / 419.7 MB, free: 18.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.3146, allocations: 0 / 419.7 MB, free: 18.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001595/0.3162, allocations: 0.5726 MB / 420.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.3162, allocations: 51.41 kB / 420.4 MB, free: 17.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3164, allocations: 175.4 kB / 420.5 MB, free: 17.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3164, allocations: 29.7 kB / 420.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.3165, allocations: 108.3 kB / 420.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.3165, allocations: 59.19 kB / 420.7 MB, free: 17.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.3166, allocations: 49.69 kB / 420.8 MB, free: 17.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3167, allocations: 330.8 kB / 421.1 MB, free: 17.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3168, allocations: 87.97 kB / 421.2 MB, free: 17.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.317, allocations: 103.8 kB / 421.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.3172, allocations: 208.8 kB / 421.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3172, allocations: 0 / 421.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007205/0.3179, allocations: 396.6 kB / 421.9 MB, free: 16.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.318, allocations: 4 kB / 421.9 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.318, allocations: 3.938 kB / 421.9 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006822/0.3187, allocations: 140.7 kB / 422 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3188, allocations: 23.98 kB / 422 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.3211, allocations: 2.039 MB / 424.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.3213, allocations: 11.83 kB / 424.1 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.3213, allocations: 16.06 kB / 424.1 MB, free: 13.98 MB / 302.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 9.679e-05/0.3214, allocations: 125.7 kB / 424.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3215, allocations: 15.81 kB / 424.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007001/0.3222, allocations: 359.3 kB / 424.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3222, allocations: 4 kB / 424.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.3222, allocations: 0 / 424.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3222, allocations: 0 / 424.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.3224, allocations: 301.4 kB / 424.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3224, allocations: 0 / 424.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.3225, allocations: 19.94 kB / 424.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005254/0.323, allocations: 140.7 kB / 425 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.3231, allocations: 7.938 kB / 425.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.3247, allocations: 2.02 MB / 427.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3247, allocations: 0 / 427.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.3254, allocations: 430.3 kB / 427.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.3255, allocations: 88.95 kB / 427.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.3255, allocations: 11.94 kB / 427.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.3257, allocations: 7.984 kB / 427.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.3257, allocations: 19.98 kB / 427.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.3257, allocations: 4 kB / 427.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3258, allocations: 124.8 kB / 427.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3258, allocations: 0 / 427.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.3262, allocations: 75.83 kB / 427.8 MB, free: 10.02 MB / 302.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.0002302/0.3265, allocations: 111.2 kB / 427.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007265/0.3272, allocations: 382.5 kB / 428.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3272, allocations: 4 kB / 428.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.3276, allocations: 266.5 kB / 428.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.3279, allocations: 18.5 kB / 428.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006317/0.3286, allocations: 411.2 kB / 429 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.3288, allocations: 0.7202 MB / 429.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.194e-05/0.3289, allocations: 21.55 kB / 429.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.3289, allocations: 19.42 kB / 429.7 MB, free: 8 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3289, allocations: 0 / 429.7 MB, free: 8 MB / 302.1 MB Notification: Performance of Templates: time 0.006292/0.3352, allocations: 4.021 MB / 433.8 MB, free: 4 MB / 302.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)