Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001454/0.001454, allocations: 179.5 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.645/1.645, allocations: 194.5 MB / 212.6 MB, free: 2.867 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001866/0.001866, allocations: 114 kB / 257.9 MB, free: 4.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1769/0.1769, allocations: 38.02 MB / 341.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004796, allocations: 16 kB / 405 MB, free: 68.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 53.23 MB / 458.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5188, allocations: 92.93 MB / 0.5383 GB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.5191, allocations: 100.8 kB / 0.5384 GB, free: 2.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06052/0.5797, allocations: 24.04 MB / 0.5618 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.023e-06/0.5797, allocations: 4 kB / 0.5618 GB, free: 14.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.518e-05/0.5798, allocations: 12 kB / 0.5619 GB, free: 14.71 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001802/0.5816, allocations: 0.7048 MB / 0.5625 GB, free: 13.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.5817, allocations: 8.031 kB / 0.5625 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.5835, allocations: 212.1 kB / 0.5628 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008206/0.5843, allocations: 371.3 kB / 0.5631 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.5844, allocations: 39.42 kB / 0.5631 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.5846, allocations: 50.2 kB / 0.5632 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.5857, allocations: 0.6096 MB / 0.5638 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.5858, allocations: 192 / 0.5638 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.5859, allocations: 22.56 kB / 0.5638 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.586, allocations: 44.09 kB / 0.5639 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009632/0.587, allocations: 0.5912 MB / 0.5644 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.5909, allocations: 2.268 MB / 0.5666 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/0.5917, allocations: 488.1 kB / 0.5671 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/0.5921, allocations: 229.3 kB / 0.5673 GB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.722e-05/0.5922, allocations: 8 kB / 0.5673 GB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.5922, allocations: 37.88 kB / 0.5674 GB, free: 9.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.906e-06/0.5923, allocations: 3.938 kB / 0.5674 GB, free: 9.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003801/0.5961, allocations: 1.676 MB / 0.569 GB, free: 8.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.5961, allocations: 89.14 kB / 0.5691 GB, free: 8.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.5965, allocations: 276.6 kB / 0.5694 GB, free: 8.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.5965, allocations: 29.58 kB / 0.5694 GB, free: 8.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.5967, allocations: 237.2 kB / 0.5696 GB, free: 7.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.5968, allocations: 153.1 kB / 0.5698 GB, free: 7.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.5969, allocations: 7.875 kB / 0.5698 GB, free: 7.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.5971, allocations: 350.2 kB / 0.5701 GB, free: 7.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.5974, allocations: 170.2 kB / 0.5703 GB, free: 7.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.5978, allocations: 286.1 kB / 0.5705 GB, free: 7.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007438/0.5986, allocations: 498.6 kB / 0.571 GB, free: 6.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.5986, allocations: 0 / 0.571 GB, free: 6.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001239/0.5998, allocations: 0.656 MB / 0.5717 GB, free: 6.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.5999, allocations: 7.938 kB / 0.5717 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.5999, allocations: 4.438 kB / 0.5717 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/0.6005, allocations: 169.1 kB / 0.5718 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.6009, allocations: 95.75 kB / 0.5719 GB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003769/0.6047, allocations: 2.521 MB / 0.5744 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.6051, allocations: 26.66 kB / 0.5744 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.6051, allocations: 15.75 kB / 0.5744 GB, free: 3.691 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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: 0 * Non-linear torn systems: 1 {4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003511/0.6055, allocations: 200.4 kB / 0.5746 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.6056, allocations: 31.62 kB / 0.5746 GB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.6068, allocations: 0.6106 MB / 0.5752 GB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.6068, allocations: 12 kB / 0.5752 GB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6069, allocations: 3.938 kB / 0.5753 GB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.6069, allocations: 7.984 kB / 0.5753 GB, free: 3.031 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.6093, allocations: 1.34 MB / 0.5766 GB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.6094, allocations: 4 kB / 0.5766 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.6098, allocations: 75.98 kB / 0.5766 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004448/0.6102, allocations: 140.7 kB / 0.5768 GB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.6103, allocations: 12 kB / 0.5768 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/0.6134, allocations: 2.307 MB / 0.579 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6134, allocations: 4.031 kB / 0.579 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.6151, allocations: 0.925 MB / 0.5799 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.6153, allocations: 116.6 kB / 0.5801 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.6153, allocations: 12 kB / 0.5801 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.6156, allocations: 15.98 kB / 0.5801 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.6157, allocations: 28.06 kB / 0.5801 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.6157, allocations: 19.94 kB / 0.5801 GB, free: 14.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002786/0.616, allocations: 197.9 kB / 0.5803 GB, free: 13.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.616, allocations: 4 kB / 0.5803 GB, free: 13.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008445/0.6169, allocations: 144 kB / 0.5805 GB, free: 13.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002376/0.6171, allocations: 119.1 kB / 0.5806 GB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.6186, allocations: 0.6659 MB / 0.5812 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6186, allocations: 0 / 0.5812 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007377/0.6193, allocations: 423.6 kB / 0.5816 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.6199, allocations: 60.25 kB / 0.5817 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.6222, allocations: 1.368 MB / 0.583 GB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.6228, allocations: 0.8671 MB / 0.5839 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000248/0.623, allocations: 71.22 kB / 0.5839 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.3e-05/0.6231, allocations: 39.42 kB / 0.584 GB, free: 10.03 MB / 394.7 MB Notification: Performance of SimCode: time 9.71e-07/0.6231, allocations: 0 / 0.584 GB, free: 10.03 MB / 394.7 MB Notification: Performance of Templates: time 0.01125/0.6344, allocations: 5.123 MB / 0.589 GB, free: 4.906 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1)