Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.2 MB / 218.5 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007845/0.0007845, allocations: 92.09 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06904/0.06904, allocations: 12.59 MB / 327.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2857/0.2857, allocations: 78.03 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.758e-05, allocations: 11.92 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 69.33 MB / 0.5895 GB, free: 2.492 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4684, allocations: 102.6 MB / 0.6897 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4687, allocations: 86.19 kB / 0.6897 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2455/0.7141, allocations: 95.52 MB / 0.783 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7142, allocations: 0 / 0.783 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002358/0.7144, allocations: 87.94 kB / 0.7831 GB, free: 7.586 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01697/0.7314, allocations: 5.731 MB / 0.7887 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.7315, allocations: 15.92 kB / 0.7887 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/0.7489, allocations: 2.787 MB / 0.7915 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/0.7535, allocations: 2.251 MB / 0.7937 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008987/0.7544, allocations: 0.9596 MB / 0.7946 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007706/0.7552, allocations: 339.9 kB / 0.7949 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007712/0.7629, allocations: 4.077 MB / 0.7989 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.42e-05/0.763, allocations: 8 kB / 0.7989 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000499/0.7635, allocations: 140 kB / 0.799 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/0.7636, allocations: 84 kB / 0.7991 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007483/0.7711, allocations: 3.605 MB / 0.8026 GB, free: 3.27 MB / 0.5261 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.03353/0.8046, allocations: 18.62 MB / 0.8208 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.8154, allocations: 4.747 MB / 0.8255 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003954/0.8194, allocations: 2.217 MB / 0.8276 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.8199, allocations: 74.89 kB / 0.8277 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.8199, allocations: 73.47 kB / 0.8278 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 6.032e-06/0.82, allocations: 4 kB / 0.8278 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.05401/0.874, allocations: 17.43 MB / 0.8448 GB, free: 6.734 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.8741, allocations: 171.4 kB / 0.845 GB, free: 6.535 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004685/0.8788, allocations: 2.653 MB / 0.8475 GB, free: 3.863 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/0.8799, allocations: 85.7 kB / 0.8476 GB, free: 3.773 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.8815, allocations: 1.991 MB / 0.8496 GB, free: 1.766 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00156/0.883, allocations: 1.301 MB / 0.8508 GB, free: 456 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/0.8833, allocations: 72 kB / 0.8509 GB, free: 384 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.8836, allocations: 437.5 kB / 0.8513 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003177/0.8868, allocations: 1.816 MB / 0.8531 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003535/0.8903, allocations: 2.391 MB / 0.8554 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/0.8938, allocations: 2.075 MB / 0.8575 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.8938, allocations: 4 kB / 0.8575 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.3116/1.205, allocations: 17.64 MB / 0.8747 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009944/1.206, allocations: 6.675 MB / 0.8812 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/1.207, allocations: 15.47 kB / 0.8812 GB, free: 121.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02345/1.23, allocations: 6.923 MB / 0.888 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/1.233, allocations: 0.5415 MB / 0.8885 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05617/1.289, allocations: 25.57 MB / 0.9135 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/1.295, allocations: 0.6927 MB / 0.9142 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005144/1.295, allocations: 126.4 kB / 0.9143 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/1.295, allocations: 3.188 kB / 0.9143 GB, free: 119.4 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04803/1.343, allocations: 17.24 MB / 0.9311 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.749e-05/1.343, allocations: 18.78 kB / 0.9311 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02237/1.366, allocations: 6.919 MB / 0.9379 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/1.369, allocations: 0.5296 MB / 0.9384 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05552/1.424, allocations: 25.55 MB / 0.9634 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005681/1.43, allocations: 0.6691 MB / 0.964 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007129/1.431, allocations: 128.8 kB / 0.9641 GB, free: 105.7 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.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 (320): * Single equations (assignments): 317 * 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.001147/1.432, allocations: 320.2 kB / 0.9644 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/1.433, allocations: 456.7 kB / 0.9649 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04965/1.483, allocations: 17.98 MB / 0.9824 GB, free: 91.78 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/1.483, allocations: 40 kB / 0.9825 GB, free: 91.74 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.9e-05/1.483, allocations: 28 kB / 0.9825 GB, free: 91.71 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.131e-05/1.483, allocations: 22.45 kB / 0.9825 GB, free: 91.71 MB / 0.5886 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.05516/1.538, allocations: 23.22 MB / 1.005 GB, free: 74.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/1.538, allocations: 11.52 kB / 1.005 GB, free: 74.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/1.541, allocations: 403.3 kB / 1.006 GB, free: 73.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02071/1.561, allocations: 6.964 MB / 1.012 GB, free: 68.39 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008494/1.562, allocations: 75.66 kB / 1.012 GB, free: 68.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04897/1.611, allocations: 22.56 MB / 1.034 GB, free: 48.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.611, allocations: 0 / 1.034 GB, free: 48.34 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05318/1.664, allocations: 20.79 MB / 1.055 GB, free: 30.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.666, allocations: 0.5574 MB / 1.055 GB, free: 29.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009631/1.667, allocations: 71.94 kB / 1.055 GB, free: 29.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004375/1.671, allocations: 487.6 kB / 1.056 GB, free: 29.27 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002671/1.674, allocations: 0.7646 MB / 1.057 GB, free: 28.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003843/1.674, allocations: 91.98 kB / 1.057 GB, free: 28.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002905/1.677, allocations: 2.01 MB / 1.059 GB, free: 26.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.51e-07/1.677, allocations: 0 / 1.059 GB, free: 26.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009368/1.687, allocations: 2.859 MB / 1.061 GB, free: 23.66 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (249): * Single equations (assignments): 247 * 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.001036/1.688, allocations: 216.1 kB / 1.062 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03883/1.727, allocations: 14.42 MB / 1.076 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.727, allocations: 0 / 1.076 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01733/1.744, allocations: 5.986 MB / 1.082 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/1.747, allocations: 306 kB / 1.082 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/1.759, allocations: 5.954 MB / 1.088 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002442/1.761, allocations: 2.594 MB / 1.09 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003074/1.764, allocations: 0.5983 MB / 1.091 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007231/1.765, allocations: 179.4 kB / 1.091 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/1.765, allocations: 3.938 kB / 1.091 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of Templates: time 0.3952/2.16, allocations: 112.5 MB / 1.201 GB, free: 114.4 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)