Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001446, allocations: 180.9 kB / 7.65 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.429/1.429, 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.000855/0.0008548, allocations: 87.38 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.503/0.503, allocations: 78.07 MB / 409.3 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.24e-05/2.242e-05, allocations: 7.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1488, allocations: 69.36 MB / 0.5414 GB, free: 6.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4909/0.6398, allocations: 97.72 MB / 0.6368 GB, free: 1.688 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.6402, allocations: 78.58 kB / 0.6369 GB, free: 1.613 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09556/0.7358, allocations: 34.71 MB / 0.6708 GB, free: 14.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.7358, allocations: 0 / 0.6708 GB, free: 14.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.074e-05/0.7359, allocations: 24 kB / 0.6708 GB, free: 14.89 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004213/0.7401, allocations: 1.688 MB / 0.6725 GB, free: 13.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.7402, allocations: 8.031 kB / 0.6725 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.7435, allocations: 0.5564 MB / 0.673 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.745, allocations: 0.789 MB / 0.6738 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000258/0.7452, allocations: 210.5 kB / 0.674 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.7454, allocations: 51.91 kB / 0.674 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001453/0.7468, allocations: 0.7967 MB / 0.6748 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.7483, allocations: 0.8298 MB / 0.6756 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.7483, allocations: 0 / 0.6756 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/0.7484, allocations: 11.92 kB / 0.6756 GB, free: 9.793 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.7484, allocations: 16 kB / 0.6756 GB, free: 9.777 MB / 490.7 MB 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.006346/0.7548, allocations: 3.698 MB / 0.6793 GB, free: 5.895 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007169/0.762, allocations: 2.577 MB / 0.6818 GB, free: 3.223 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.7627, allocations: 0.5136 MB / 0.6823 GB, free: 2.707 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.7629, allocations: 16.77 kB / 0.6823 GB, free: 2.691 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.7629, allocations: 50.03 kB / 0.6823 GB, free: 2.637 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.675e-06/0.7629, allocations: 0 / 0.6823 GB, free: 2.637 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.0117/0.7746, allocations: 3.801 MB / 0.686 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.7747, allocations: 146.5 kB / 0.6862 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.7761, allocations: 0.796 MB / 0.687 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.7763, allocations: 29.7 kB / 0.687 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.7767, allocations: 0.5049 MB / 0.6875 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.7771, allocations: 323.1 kB / 0.6878 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.7772, allocations: 0 / 0.6878 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7773, allocations: 341.9 kB / 0.6881 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/0.778, allocations: 426.6 kB / 0.6885 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007723/0.7788, allocations: 0.5505 MB / 0.6891 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/0.7795, allocations: 474.2 kB / 0.6895 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.7795, allocations: 4 kB / 0.6895 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01196/0.7915, allocations: 3.93 MB / 0.6934 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005034/0.7921, allocations: 1.198 MB / 0.6945 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.7921, allocations: 4.938 kB / 0.6945 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005083/0.7972, allocations: 1.46 MB / 0.696 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009751/0.7982, allocations: 171.7 kB / 0.6961 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.8116, allocations: 6.342 MB / 0.7023 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.8134, allocations: 171.1 kB / 0.7025 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.8136, allocations: 35.98 kB / 0.7025 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.8137, allocations: 8 kB / 0.7025 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01187/0.8255, allocations: 3.778 MB / 0.7062 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.8256, allocations: 7.938 kB / 0.7062 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005014/0.8306, allocations: 1.445 MB / 0.7076 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009582/0.8316, allocations: 160.6 kB / 0.7078 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/0.8452, allocations: 6.344 MB / 0.714 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.847, allocations: 159.3 kB / 0.7141 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.8473, allocations: 36.16 kB / 0.7142 GB, free: 1.551 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005632/0.8479, allocations: 162.2 kB / 0.7143 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01195/0.8598, allocations: 3.801 MB / 0.718 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006357/0.8605, allocations: 122.5 kB / 0.7182 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.873, allocations: 3.887 MB / 0.7219 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.8731, allocations: 14.39 kB / 0.722 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.423e-05/0.8731, allocations: 12 kB / 0.722 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-05/0.8731, allocations: 3.984 kB / 0.722 GB, free: 9.512 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 postOpt removeSimpleEquations (simulation): time 0.01611/0.8893, allocations: 5.416 MB / 0.7273 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/0.8893, allocations: 4 kB / 0.7273 GB, free: 4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009521/0.8903, allocations: 115.8 kB / 0.7274 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004991/0.8953, allocations: 1.395 MB / 0.7287 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/0.8956, allocations: 14.61 kB / 0.7288 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.9075, allocations: 5.621 MB / 0.7342 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.9075, allocations: 0 / 0.7342 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/0.9207, allocations: 4.619 MB / 0.7388 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/0.9214, allocations: 219.2 kB / 0.739 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/0.9218, allocations: 8 kB / 0.739 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.9233, allocations: 123.9 kB / 0.7391 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005776/0.9239, allocations: 180.4 kB / 0.7393 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.415e-05/0.924, allocations: 24 kB / 0.7393 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001236/0.9253, allocations: 0.6136 MB / 0.7399 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9253, allocations: 0 / 0.7399 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002793/0.9281, allocations: 0.5967 MB / 0.7405 GB, free: 6.301 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01343/0.9415, allocations: 5.273 MB / 0.7456 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009223/0.9508, allocations: 3.507 MB / 0.749 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.9508, allocations: 0 / 0.749 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003786/0.9546, allocations: 1.395 MB / 0.7504 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.9558, allocations: 88.42 kB / 0.7505 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004911/0.9607, allocations: 1.914 MB / 0.7524 GB, free: 9.961 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/0.9615, allocations: 1.158 MB / 0.7535 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001/0.9625, allocations: 195.7 kB / 0.7537 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/0.9631, allocations: 455.3 kB / 0.7541 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of SimCode: time 8.31e-07/0.9631, allocations: 0 / 0.7541 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3816/1.345, allocations: 35.15 MB / 0.7884 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/1.345, allocations: 144 kB / 0.7886 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/4.414, allocations: 0 / 0.7886 GB, free: 144.4 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)