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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 239 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 172.6 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5097/0.5097, allocations: 91.93 MB / 433.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003741, allocations: 12 kB / 0.5042 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3214, allocations: 72.47 MB / 0.5749 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI): time 0.01239/0.3338, allocations: 20.79 MB / 0.5952 GB, free: 21.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009466/0.3433, allocations: 4.969 MB / 0.6001 GB, free: 18.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003885/0.3472, allocations: 50.97 kB / 0.6001 GB, free: 18.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002611/0.3498, allocations: 0.612 MB / 0.6007 GB, free: 17.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006212/0.3561, allocations: 1.744 MB / 0.6024 GB, free: 16.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.3604, allocations: 1.783 MB / 0.6042 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006939/0.3674, allocations: 5.145 MB / 0.6092 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/0.3698, allocations: 1.044 MB / 0.6102 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.3742, allocations: 1.986 MB / 0.6122 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005092/0.3793, allocations: 2.578 MB / 0.6147 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.3805, allocations: 233.5 kB / 0.6149 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.3823, allocations: 369.9 kB / 0.6152 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006973/0.383, allocations: 0.9026 MB / 0.6161 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.3843, allocations: 0.8346 MB / 0.6169 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005637/0.39, allocations: 4.622 MB / 0.6215 GB, free: 7.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.39, allocations: 0 / 0.6215 GB, free: 7.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.39, allocations: 0 / 0.6215 GB, free: 7.867 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002465/0.3903, allocations: 0 / 0.6215 GB, free: 7.867 MB / 430.1 MB 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.02686/0.4171, allocations: 8.432 MB / 0.6297 GB, free: 4.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4172, allocations: 8.625 kB / 0.6297 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02517/0.4424, allocations: 4.056 MB / 0.6337 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005718/0.4481, allocations: 2.49 MB / 0.6361 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009725/0.4491, allocations: 0.9635 MB / 0.637 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.4503, allocations: 347.8 kB / 0.6374 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.4605, allocations: 4.962 MB / 0.6422 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.124e-05/0.4606, allocations: 4 kB / 0.6422 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004031/0.461, allocations: 144 kB / 0.6424 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.703e-05/0.461, allocations: 91.89 kB / 0.6424 GB, free: 8.359 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009435/0.4705, allocations: 4.505 MB / 0.6468 GB, free: 3.844 MB / 446.1 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 preOpt removeSimpleEquations (simulation): time 0.03521/0.5057, allocations: 18.86 MB / 0.6653 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.5184, allocations: 5.704 MB / 0.6708 GB, free: 9.996 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006122/0.5246, allocations: 3.044 MB / 0.6738 GB, free: 6.941 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/0.5252, allocations: 66.83 kB / 0.6739 GB, free: 6.879 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.5253, allocations: 73.55 kB / 0.6739 GB, free: 6.797 MB / 478.1 MB Notification: Performance of pre-optimization done (n=380): time 5.27e-06/0.5253, allocations: 0 / 0.6739 GB, free: 6.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=380): time 0.2861/0.8114, allocations: 79.03 MB / 0.7511 GB, free: 7.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.8116, allocations: 175.5 kB / 0.7513 GB, free: 7.395 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00636/0.8179, allocations: 3.171 MB / 0.7544 GB, free: 4.203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001217/0.8192, allocations: 93.7 kB / 0.7545 GB, free: 4.105 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001958/0.8212, allocations: 1.959 MB / 0.7564 GB, free: 2.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002749/0.8239, allocations: 1.301 MB / 0.7577 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.8251, allocations: 80 kB / 0.7577 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0004271/0.8256, allocations: 470.8 kB / 0.7582 GB, free: 272 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007266/0.8328, allocations: 2.823 MB / 0.7609 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007847/0.8407, allocations: 3.455 MB / 0.7643 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007605/0.8484, allocations: 3.11 MB / 0.7673 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.871e-05/0.8484, allocations: 4 kB / 0.7673 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=528) (initialization): time 0.3356/1.184, allocations: 20.97 MB / 0.7878 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002843/1.184, allocations: 0.5993 MB / 0.7884 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/1.184, allocations: 14.03 kB / 0.7884 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02623/1.211, allocations: 8.543 MB / 0.7968 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/1.214, allocations: 0.6536 MB / 0.7974 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07709/1.291, allocations: 35.19 MB / 0.8318 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005967/1.297, allocations: 0.7376 MB / 0.8325 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008079/1.298, allocations: 150.6 kB / 0.8326 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/1.298, allocations: 4 kB / 0.8326 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05013/1.348, allocations: 20.54 MB / 0.8527 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.685e-05/1.348, allocations: 16 kB / 0.8527 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02367/1.372, allocations: 8.548 MB / 0.8611 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003175/1.375, allocations: 0.6436 MB / 0.8617 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07852/1.454, allocations: 35.19 MB / 0.896 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005713/1.459, allocations: 0.7068 MB / 0.8967 GB, free: 72.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008606/1.46, allocations: 148 kB / 0.8969 GB, free: 72.36 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (392): * Single equations (assignments): 389 * 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.002433/1.463, allocations: 0.7514 MB / 0.8976 GB, free: 71.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/1.464, allocations: 454.4 kB / 0.898 GB, free: 71.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04861/1.513, allocations: 20.48 MB / 0.918 GB, free: 50.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/1.513, allocations: 43.94 kB / 0.9181 GB, free: 50.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-05/1.513, allocations: 32 kB / 0.9181 GB, free: 50.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.742e-05/1.513, allocations: 15.94 kB / 0.9181 GB, free: 50.51 MB / 0.5606 GB 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.05394/1.567, allocations: 25.78 MB / 0.9433 GB, free: 24.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/1.567, allocations: 4 kB / 0.9433 GB, free: 24.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.569, allocations: 403.4 kB / 0.9437 GB, free: 24.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02239/1.591, allocations: 8.582 MB / 0.9521 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008766/1.592, allocations: 71.98 kB / 0.9522 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07152/1.664, allocations: 30.62 MB / 0.9821 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.664, allocations: 3.984 kB / 0.9821 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3495/2.013, allocations: 24.1 MB / 1.006 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/2.015, allocations: 0.5528 MB / 1.006 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00167/2.017, allocations: 67.33 kB / 1.006 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005699/2.023, allocations: 0.5026 MB / 1.007 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003714/2.026, allocations: 0.7673 MB / 1.007 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008475/2.027, allocations: 92.47 kB / 1.008 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004626/2.032, allocations: 2.067 MB / 1.01 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.62e-07/2.032, allocations: 0 / 1.01 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01481/2.047, allocations: 2.971 MB / 1.012 GB, free: 175 MB / 0.5919 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 () * Number of clocked 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00117/2.048, allocations: 191.1 kB / 1.013 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0505/2.099, allocations: 17.56 MB / 1.03 GB, free: 171.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/2.099, allocations: 0 / 1.03 GB, free: 171.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01996/2.119, allocations: 6.877 MB / 1.036 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006205/2.125, allocations: 388 kB / 1.037 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/2.142, allocations: 9.356 MB / 1.046 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/2.144, allocations: 2.498 MB / 1.048 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002234/2.146, allocations: 450 kB / 1.049 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008278/2.147, allocations: 232.3 kB / 1.049 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of SimCode: time 2.394e-06/2.147, allocations: 2.734 kB / 1.049 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1409/2.288, allocations: 108.9 MB / 1.155 GB, free: 61.93 MB / 0.5919 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)