Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001024/0.001024, allocations: 180.9 kB / 7.651 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.48/1.48, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008839/0.000884, allocations: 95.08 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4873/0.4873, allocations: 78.94 MB / 410.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.603e-05/1.606e-05, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1469, allocations: 69.52 MB / 0.5424 GB, free: 5.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.6135, allocations: 101.8 MB / 0.6419 GB, free: 12.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6138, allocations: 85.77 kB / 0.642 GB, free: 12.21 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2583/0.8721, allocations: 99.67 MB / 0.7393 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8721, allocations: 0.9375 kB / 0.7393 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004487/0.8726, allocations: 87.94 kB / 0.7394 GB, free: 8.074 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.02044/0.893, allocations: 5.723 MB / 0.745 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.8931, allocations: 8.031 kB / 0.745 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/0.9116, allocations: 2.772 MB / 0.7477 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007103/0.9187, allocations: 2.27 MB / 0.7499 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009245/0.9197, allocations: 0.8385 MB / 0.7507 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007601/0.9205, allocations: 200 kB / 0.7509 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006799/0.9273, allocations: 3.435 MB / 0.7543 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007015/0.9343, allocations: 3.586 MB / 0.7578 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-05/0.9344, allocations: 0.5625 kB / 0.7578 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003249/0.9347, allocations: 0 / 0.7578 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-05/0.9348, allocations: 84 kB / 0.7579 GB, free: 4.836 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.3657/1.301, allocations: 18.12 MB / 0.7755 GB, free: 86.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009784/1.31, allocations: 4.643 MB / 0.7801 GB, free: 85.67 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004043/1.314, allocations: 2.112 MB / 0.7821 GB, free: 85.64 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/1.315, allocations: 71.64 kB / 0.7822 GB, free: 85.64 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/1.315, allocations: 74.09 kB / 0.7823 GB, free: 85.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=380): time 5.721e-06/1.315, allocations: 0 / 0.7823 GB, free: 85.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=380): time 0.05199/1.367, allocations: 17.15 MB / 0.799 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/1.367, allocations: 168.8 kB / 0.7992 GB, free: 84.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006172/1.373, allocations: 2.43 MB / 0.8016 GB, free: 84.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001255/1.375, allocations: 26.64 kB / 0.8016 GB, free: 84.31 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001595/1.376, allocations: 2.005 MB / 0.8036 GB, free: 83.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002443/1.379, allocations: 1.245 MB / 0.8048 GB, free: 83.21 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/1.379, allocations: 1.156 kB / 0.8048 GB, free: 83.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003206/1.379, allocations: 441.1 kB / 0.8052 GB, free: 82.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003135/1.382, allocations: 1.747 MB / 0.8069 GB, free: 82.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003438/1.386, allocations: 2.31 MB / 0.8092 GB, free: 82.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/1.39, allocations: 1.949 MB / 0.8111 GB, free: 82.26 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/1.39, allocations: 4.406 kB / 0.8111 GB, free: 82.26 MB / 0.5573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05133/1.441, allocations: 17.24 MB / 0.8279 GB, free: 81.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00133/1.442, allocations: 6.671 MB / 0.8344 GB, free: 74.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-05/1.442, allocations: 12.66 kB / 0.8344 GB, free: 74.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02155/1.464, allocations: 6.841 MB / 0.8411 GB, free: 73.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/1.467, allocations: 0.5432 MB / 0.8416 GB, free: 73.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05335/1.52, allocations: 25.04 MB / 0.8661 GB, free: 64.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006334/1.527, allocations: 0.637 MB / 0.8667 GB, free: 64.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.528, allocations: 130.2 kB / 0.8668 GB, free: 64.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.528, allocations: 3.531 kB / 0.8668 GB, free: 64.26 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04572/1.574, allocations: 16.77 MB / 0.8832 GB, free: 59.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/1.574, allocations: 16 kB / 0.8832 GB, free: 59.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02111/1.595, allocations: 6.839 MB / 0.8899 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/1.598, allocations: 0.5319 MB / 0.8904 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0514/1.649, allocations: 25.03 MB / 0.9149 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006419/1.656, allocations: 0.6024 MB / 0.9155 GB, free: 30.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009181/1.657, allocations: 132.8 kB / 0.9156 GB, free: 30.79 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.001051/1.658, allocations: 201.5 kB / 0.9158 GB, free: 30.58 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/1.659, allocations: 454.4 kB / 0.9162 GB, free: 30.13 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04727/1.706, allocations: 17.6 MB / 0.9334 GB, free: 16.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/1.706, allocations: 40 kB / 0.9334 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.709e-05/1.706, allocations: 31.95 kB / 0.9335 GB, free: 16.49 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/1.706, allocations: 19.36 kB / 0.9335 GB, free: 16.49 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.05695/1.763, allocations: 22.53 MB / 0.9555 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/1.764, allocations: 0 / 0.9555 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/1.766, allocations: 404 kB / 0.9559 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02332/1.79, allocations: 6.913 MB / 0.9626 GB, free: 9.711 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001013/1.791, allocations: 15.38 kB / 0.9626 GB, free: 9.699 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05353/1.844, allocations: 22.25 MB / 0.9844 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.844, allocations: 0 / 0.9844 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3803/2.225, allocations: 20.45 MB / 1.004 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002328/2.227, allocations: 0.5561 MB / 1.005 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002636/2.23, allocations: 8.688 kB / 1.005 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006527/2.236, allocations: 444.4 kB / 1.005 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004421/2.241, allocations: 0.7661 MB / 1.006 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001206/2.242, allocations: 91.14 kB / 1.006 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.006808/2.249, allocations: 1.799 MB / 1.008 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.42e-07/2.249, allocations: 0 / 1.008 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.017/2.266, allocations: 2.614 MB / 1.01 GB, free: 110.1 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.001351/2.267, allocations: 157.4 kB / 1.011 GB, free: 110 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04734/2.314, allocations: 13.98 MB / 1.024 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/2.315, allocations: 0.75 kB / 1.024 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02075/2.335, allocations: 5.842 MB / 1.03 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004536/2.34, allocations: 241.5 kB / 1.03 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/2.357, allocations: 5.872 MB / 1.036 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002367/2.36, allocations: 2.592 MB / 1.038 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003394/2.363, allocations: 0.6077 MB / 1.039 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007083/2.364, allocations: 173.9 kB / 1.039 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.743e-06/2.364, allocations: 1.5 kB / 1.039 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.1442/2.508, allocations: 104.1 MB / 1.141 GB, free: 59.53 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)