Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008715/0.0008715, allocations: 177.5 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.000917, allocations: 84.3 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5138/0.5138, allocations: 78.12 MB / 409.4 MB, free: 6.477 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.82e-05/1.852e-05, allocations: 0 / 485 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 69.37 MB / 0.5413 GB, free: 6.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3791/0.5099, allocations: 101.1 MB / 0.64 GB, free: 14.68 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.5102, allocations: 75.95 kB / 0.6401 GB, free: 14.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2504/0.7606, allocations: 97.4 MB / 0.7352 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7607, allocations: 0 / 0.7352 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004836/0.7612, allocations: 87.94 kB / 0.7353 GB, free: 12.74 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.02085/0.782, allocations: 5.723 MB / 0.7409 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.7821, allocations: 8.031 kB / 0.7409 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01791/0.8, allocations: 2.772 MB / 0.7436 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006729/0.8068, allocations: 2.274 MB / 0.7458 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001195/0.808, allocations: 0.8385 MB / 0.7466 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.8098, allocations: 200 kB / 0.7468 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008821/0.8186, allocations: 3.431 MB / 0.7502 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.829, allocations: 3.591 MB / 0.7537 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.8291, allocations: 3.938 kB / 0.7537 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007988/0.8299, allocations: 0 / 0.7537 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.592e-05/0.83, allocations: 84 kB / 0.7538 GB, free: 9.496 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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 preOpt removeSimpleEquations (simulation): time 0.345/1.175, allocations: 18.08 MB / 0.7714 GB, free: 86.87 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009693/1.185, allocations: 4.654 MB / 0.776 GB, free: 86.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003386/1.188, allocations: 2.112 MB / 0.778 GB, free: 86.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004706/1.189, allocations: 72.56 kB / 0.7781 GB, free: 86.39 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.556e-05/1.189, allocations: 77.27 kB / 0.7782 GB, free: 86.35 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=380): time 6.001e-06/1.189, allocations: 3.844 kB / 0.7782 GB, free: 86.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=380): time 0.05451/1.243, allocations: 17.15 MB / 0.7949 GB, free: 85.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/1.243, allocations: 172.5 kB / 0.7951 GB, free: 85.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006332/1.25, allocations: 2.423 MB / 0.7974 GB, free: 85.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001164/1.251, allocations: 26.8 kB / 0.7975 GB, free: 85.37 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001837/1.253, allocations: 2.001 MB / 0.7994 GB, free: 84.94 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00225/1.255, allocations: 1.244 MB / 0.8006 GB, free: 84.28 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000808/1.256, allocations: 1.031 kB / 0.8006 GB, free: 84.28 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003314/1.256, allocations: 446.3 kB / 0.8011 GB, free: 83.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00397/1.26, allocations: 1.747 MB / 0.8028 GB, free: 83.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004351/1.265, allocations: 2.306 MB / 0.805 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004695/1.269, allocations: 1.955 MB / 0.8069 GB, free: 83.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.031e-05/1.269, allocations: 4.5 kB / 0.8069 GB, free: 83.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.0558/1.325, allocations: 17.24 MB / 0.8238 GB, free: 82.24 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001286/1.327, allocations: 6.672 MB / 0.8303 GB, free: 75.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.784e-05/1.327, allocations: 15.41 kB / 0.8303 GB, free: 75.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02231/1.349, allocations: 6.84 MB / 0.837 GB, free: 74.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/1.352, allocations: 0.5392 MB / 0.8375 GB, free: 74.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05682/1.409, allocations: 25.04 MB / 0.862 GB, free: 66.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005879/1.415, allocations: 0.6155 MB / 0.8626 GB, free: 66.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000876/1.416, allocations: 131.4 kB / 0.8627 GB, free: 66.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1.416, allocations: 5.688 kB / 0.8627 GB, free: 66.23 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04844/1.464, allocations: 16.77 MB / 0.8791 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-05/1.464, allocations: 11.88 kB / 0.8791 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02186/1.486, allocations: 6.841 MB / 0.8858 GB, free: 58.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002834/1.489, allocations: 0.5352 MB / 0.8863 GB, free: 57.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05411/1.543, allocations: 25.03 MB / 0.9107 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005553/1.549, allocations: 0.59 MB / 0.9113 GB, free: 35.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00078/1.549, allocations: 128.7 kB / 0.9114 GB, free: 35.13 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 2 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001296/1.551, allocations: 211 kB / 0.9116 GB, free: 34.91 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/1.552, allocations: 454.4 kB / 0.9121 GB, free: 34.46 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04922/1.601, allocations: 17.59 MB / 0.9292 GB, free: 20.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.749e-05/1.601, allocations: 47.95 kB / 0.9293 GB, free: 20.85 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.125e-05/1.601, allocations: 28 kB / 0.9293 GB, free: 20.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001439/1.602, allocations: 19.03 kB / 0.9293 GB, free: 20.82 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.06047/1.662, allocations: 22.5 MB / 0.9513 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/1.662, allocations: 5.531 kB / 0.9513 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/1.664, allocations: 404.3 kB / 0.9517 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02881/1.693, allocations: 7.488 MB / 0.959 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/1.694, allocations: 17.73 kB / 0.959 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05379/1.748, allocations: 22.27 MB / 0.9808 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.748, allocations: 3.938 kB / 0.9808 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3567/2.105, allocations: 20.44 MB / 1.001 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/2.107, allocations: 0.5564 MB / 1.001 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/2.108, allocations: 1.547 kB / 1.001 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005323/2.114, allocations: 435.4 kB / 1.002 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002923/2.117, allocations: 0.7664 MB / 1.002 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003417/2.117, allocations: 90.5 kB / 1.003 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002636/2.12, allocations: 1.795 MB / 1.004 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.21e-07/2.12, allocations: 0 / 1.004 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008326/2.128, allocations: 2.611 MB / 1.007 GB, free: 108.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 1 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005741/2.129, allocations: 155.6 kB / 1.007 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03858/2.167, allocations: 13.98 MB / 1.021 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/2.167, allocations: 1.031 kB / 1.021 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01859/2.186, allocations: 5.843 MB / 1.026 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/2.189, allocations: 248.7 kB / 1.027 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/2.205, allocations: 5.874 MB / 1.032 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002349/2.207, allocations: 2.598 MB / 1.035 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003094/2.21, allocations: 0.6028 MB / 1.035 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/2.211, allocations: 175 kB / 1.036 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.122e-06/2.211, allocations: 0 / 1.036 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.1378/2.349, allocations: 104 MB / 1.137 GB, free: 64.54 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)