Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 172.3 kB / 16.8 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.3 MB / 240.8 MB, free: 11.76 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007833/0.0007833, allocations: 97.83 kB / 292 MB, free: 10.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04048/0.04048, allocations: 8.101 MB / 351.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004411, allocations: 12.5 kB / 414.4 MB, free: 57.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09414, allocations: 52.52 MB / 466.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.4204, allocations: 78.41 MB / 0.5325 GB, free: 7.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.4207, allocations: 66.16 kB / 0.5326 GB, free: 7.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009204/0.4299, allocations: 3.418 MB / 0.5359 GB, free: 4.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4299, allocations: 0.6562 kB / 0.5359 GB, free: 4.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.4299, allocations: 0 / 0.5359 GB, free: 4.23 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006231/0.4305, allocations: 412.8 kB / 0.5363 GB, free: 3.785 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4306, allocations: 12.03 kB / 0.5363 GB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.4306, allocations: 8.844 kB / 0.5363 GB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.4308, allocations: 183.4 kB / 0.5365 GB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.4308, allocations: 4.062 kB / 0.5365 GB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.4309, allocations: 4.375 kB / 0.5365 GB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.431, allocations: 92.47 kB / 0.5366 GB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.431, allocations: 192 / 0.5366 GB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4311, allocations: 7.938 kB / 0.5366 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4311, allocations: 0 / 0.5366 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.4312, allocations: 72.03 kB / 0.5367 GB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.4318, allocations: 388.1 kB / 0.537 GB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.4321, allocations: 118.7 kB / 0.5372 GB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.4322, allocations: 31.03 kB / 0.5372 GB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.4323, allocations: 81.11 kB / 0.5373 GB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.4323, allocations: 37.62 kB / 0.5373 GB, free: 2.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.4323, allocations: 0 / 0.5373 GB, free: 2.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005632/0.4329, allocations: 234.7 kB / 0.5375 GB, free: 2.574 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.433, allocations: 62.41 kB / 0.5376 GB, free: 2.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.4331, allocations: 145.9 kB / 0.5377 GB, free: 2.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.4331, allocations: 28.77 kB / 0.5378 GB, free: 2.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.4332, allocations: 102.8 kB / 0.5378 GB, free: 2.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.4332, allocations: 19.03 kB / 0.5379 GB, free: 2.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.4332, allocations: 7.562 kB / 0.5379 GB, free: 2.211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4333, allocations: 318.2 kB / 0.5382 GB, free: 1.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/0.4334, allocations: 30.42 kB / 0.5382 GB, free: 1.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.4334, allocations: 33.55 kB / 0.5382 GB, free: 1.855 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.661e-05/0.4335, allocations: 73.73 kB / 0.5383 GB, free: 1.812 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4335, allocations: 4 kB / 0.5383 GB, free: 1.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000251/0.4338, allocations: 138.6 kB / 0.5384 GB, free: 1.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4338, allocations: 4 kB / 0.5384 GB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4338, allocations: 7.938 kB / 0.5385 GB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.4341, allocations: 35.89 kB / 0.5385 GB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.4341, allocations: 15.98 kB / 0.5385 GB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.4352, allocations: 1.329 MB / 0.5398 GB, free: 260 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.4353, allocations: 16.02 kB / 0.5398 GB, free: 244 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.4353, allocations: 7.312 kB / 0.5398 GB, free: 240 kB / 346.7 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.834e-05/0.4354, allocations: 117.9 kB / 0.5399 GB, free: 116 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.4355, allocations: 4 kB / 0.5399 GB, free: 112 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.4357, allocations: 133.1 kB / 0.5401 GB, free: 4 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4358, allocations: 0 / 0.5401 GB, free: 4 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/0.4358, allocations: 8.047 kB / 0.5401 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4358, allocations: 4 kB / 0.5401 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.436, allocations: 201.7 kB / 0.5403 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.436, allocations: 7.984 kB / 0.5403 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.4361, allocations: 4 kB / 0.5403 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.4362, allocations: 39.08 kB / 0.5403 GB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.4362, allocations: 0 / 0.5403 GB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.4372, allocations: 1.332 MB / 0.5416 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4373, allocations: 3.938 kB / 0.5416 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.4375, allocations: 219.9 kB / 0.5418 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.4376, allocations: 77.11 kB / 0.5419 GB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.4376, allocations: 11.92 kB / 0.5419 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4377, allocations: 7.812 kB / 0.5419 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.4378, allocations: 7.984 kB / 0.5419 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.4378, allocations: 0 / 0.5419 GB, free: 14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.4379, allocations: 113.6 kB / 0.542 GB, free: 13.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4379, allocations: 0 / 0.542 GB, free: 13.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.4382, allocations: 39.38 kB / 0.5421 GB, free: 13.87 MB / 362.7 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001734/0.4384, allocations: 110.9 kB / 0.5422 GB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.4387, allocations: 196.9 kB / 0.5424 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4388, allocations: 0 / 0.5424 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.4389, allocations: 150.8 kB / 0.5425 GB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.4393, allocations: 11.05 kB / 0.5425 GB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.4397, allocations: 248.3 kB / 0.5428 GB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.44, allocations: 0.6926 MB / 0.5434 GB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.417e-05/0.44, allocations: 12.64 kB / 0.5435 GB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.4401, allocations: 23.38 kB / 0.5435 GB, free: 12.42 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4401, allocations: 0 / 0.5435 GB, free: 12.42 MB / 362.7 MB Notification: Performance of Templates: time 0.003895/0.444, allocations: 1.393 MB / 0.5448 GB, free: 11.05 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)