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.001497/0.001497, allocations: 105.4 kB / 16.57 MB, free: 6.719 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.001681/0.001682, allocations: 191.7 kB / 17.49 MB, free: 6.004 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.444/1.444, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05283/0.05283, allocations: 8.1 MB / 299.4 MB, free: 6.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 361.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3208, allocations: 51.51 MB / 413.2 MB, free: 25.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002648/0.3235, allocations: 1.266 MB / 414.5 MB, free: 24.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.3254, allocations: 1.485 MB / 416 MB, free: 23.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.3254, allocations: 4 kB / 416 MB, free: 23.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.3258, allocations: 91.66 kB / 416 MB, free: 23.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.3261, allocations: 75.59 kB / 416.1 MB, free: 22.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.3277, allocations: 0.8601 MB / 417 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.328, allocations: 155.2 kB / 417.1 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.3281, allocations: 37.53 kB / 417.2 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.3282, allocations: 67.66 kB / 417.2 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.3284, allocations: 79.67 kB / 417.3 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.3284, allocations: 8 kB / 417.3 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.3288, allocations: 199.8 kB / 417.5 MB, free: 21.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.3289, allocations: 27.86 kB / 417.5 MB, free: 21.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.306e-05/0.329, allocations: 75.59 kB / 417.6 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.3293, allocations: 225.4 kB / 417.8 MB, free: 21.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3293, allocations: 4 kB / 417.8 MB, free: 21.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3293, allocations: 0 / 417.8 MB, free: 21.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3293, allocations: 0 / 417.8 MB, free: 21.21 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.002152/0.3315, allocations: 0.624 MB / 418.5 MB, free: 20.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3316, allocations: 15.97 kB / 418.5 MB, free: 20.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.3317, allocations: 16.75 kB / 418.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.3319, allocations: 222.3 kB / 418.7 MB, free: 20.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.332, allocations: 16.61 kB / 418.7 MB, free: 20.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.332, allocations: 16.31 kB / 418.7 MB, free: 20.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.3324, allocations: 175.5 kB / 418.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3324, allocations: 0 / 418.9 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.3325, allocations: 8 kB / 418.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3325, allocations: 7.984 kB / 418.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.3328, allocations: 156.6 kB / 419.1 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.334, allocations: 0.703 MB / 419.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.3347, allocations: 203.4 kB / 420 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.3349, allocations: 96.84 kB / 420.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.335, allocations: 0 / 420.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.335, allocations: 38.56 kB / 420.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.335, allocations: 0 / 420.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.002301/0.3373, allocations: 0.58 MB / 420.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.3374, allocations: 51.41 kB / 420.8 MB, free: 18.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3376, allocations: 168.4 kB / 420.9 MB, free: 17.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3376, allocations: 29.7 kB / 420.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.3377, allocations: 112.3 kB / 421.1 MB, free: 17.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.3377, allocations: 55.19 kB / 421.1 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.3379, allocations: 53.69 kB / 421.2 MB, free: 17.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.3379, allocations: 322.8 kB / 421.5 MB, free: 17.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.3381, allocations: 91.97 kB / 421.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.3383, allocations: 95.83 kB / 421.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.3388, allocations: 217.4 kB / 421.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3388, allocations: 0 / 421.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001141/0.3399, allocations: 385.9 kB / 422.2 MB, free: 16.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.34, allocations: 7.938 kB / 422.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.34, allocations: 3.938 kB / 422.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009248/0.3409, allocations: 136.7 kB / 422.4 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.3411, allocations: 31.92 kB / 422.4 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/0.344, allocations: 1.899 MB / 424.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.3442, allocations: 15.84 kB / 424.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.3443, allocations: 4 kB / 424.3 MB, free: 14.3 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 0.0001457/0.3444, allocations: 129.8 kB / 424.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.3445, allocations: 15.89 kB / 424.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.3456, allocations: 370 kB / 424.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3457, allocations: 4 kB / 424.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.3457, allocations: 0 / 424.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3457, allocations: 3.984 kB / 424.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.346, allocations: 297.4 kB / 425.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3461, allocations: 3.984 kB / 425.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3462, allocations: 23.98 kB / 425.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008026/0.347, allocations: 132.7 kB / 425.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.347, allocations: 4 kB / 425.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/0.3494, allocations: 1.867 MB / 427.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3494, allocations: 0 / 427.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3505, allocations: 427.8 kB / 427.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.3506, allocations: 101 kB / 427.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.3506, allocations: 0 / 427.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.3509, allocations: 11.98 kB / 427.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.3509, allocations: 11.98 kB / 427.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.351, allocations: 11.94 kB / 427.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.3511, allocations: 128.8 kB / 427.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3511, allocations: 0 / 427.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006013/0.3517, allocations: 63.94 kB / 427.9 MB, free: 10.49 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.0002086/0.3519, allocations: 119.2 kB / 428 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009144/0.3529, allocations: 378.5 kB / 428.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3529, allocations: 0 / 428.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005634/0.3535, allocations: 262.4 kB / 428.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.354, allocations: 25.95 kB / 428.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.3548, allocations: 431.8 kB / 429.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.3549, allocations: 0.7166 MB / 429.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.355, allocations: 19.44 kB / 429.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.355, allocations: 3.938 kB / 429.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of Templates: time 0.006445/0.3615, allocations: 3.082 MB / 432.9 MB, free: 5.391 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)