Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",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.007427/0.007427, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009517/0.0009516, allocations: 92.64 kB / 290.2 MB, free: 4.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4912/0.4912, allocations: 79.43 MB / 420.7 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004083, allocations: 15.98 kB / 0.4891 GB, free: 6.223 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.134, allocations: 69.51 MB / 0.557 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.5106, allocations: 98.4 MB / 0.6531 GB, free: 2.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.5109, allocations: 83.95 kB / 0.6532 GB, free: 2.648 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09182/0.6027, allocations: 33.46 MB / 0.6859 GB, free: 1.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6028, allocations: 0 / 0.6859 GB, free: 1.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.194e-05/0.6029, allocations: 24 kB / 0.6859 GB, free: 1.156 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005699/0.6086, allocations: 1.826 MB / 0.6877 GB, free: 15.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.6086, allocations: 8.031 kB / 0.6877 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004163/0.6091, allocations: 122.5 kB / 0.6878 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003639/0.6127, allocations: 0.5565 MB / 0.6883 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.6145, allocations: 0.7075 MB / 0.689 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/0.6149, allocations: 268.2 kB / 0.6893 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/0.6151, allocations: 71.91 kB / 0.6894 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.6179, allocations: 1.229 MB / 0.6906 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.618, allocations: 0 / 0.6906 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.6181, allocations: 32 kB / 0.6906 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.6181, allocations: 16 kB / 0.6906 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.6203, allocations: 1.016 MB / 0.6916 GB, free: 11.14 MB / 490.7 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.006977/0.6273, allocations: 3.562 MB / 0.6951 GB, free: 7.383 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008084/0.6354, allocations: 2.834 MB / 0.6978 GB, free: 4.453 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.6356, allocations: 16.62 kB / 0.6979 GB, free: 4.438 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.6356, allocations: 43.44 kB / 0.6979 GB, free: 4.387 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 4.889e-06/0.6357, allocations: 3.938 kB / 0.6979 GB, free: 4.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.03094/0.6666, allocations: 8.52 MB / 0.7062 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.6668, allocations: 93.77 kB / 0.7063 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.6683, allocations: 0.8043 MB / 0.7071 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.6686, allocations: 41.7 kB / 0.7071 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/0.6691, allocations: 477 kB / 0.7076 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/0.6695, allocations: 299.6 kB / 0.7079 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.6696, allocations: 12 kB / 0.7079 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6698, allocations: 345.9 kB / 0.7082 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.6711, allocations: 0.5759 MB / 0.7088 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.6725, allocations: 0.7559 MB / 0.7095 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.6739, allocations: 0.6413 MB / 0.7101 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.6739, allocations: 3.953 kB / 0.7101 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01352/0.6874, allocations: 4.493 MB / 0.7145 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.6875, allocations: 4 kB / 0.7145 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.6875, allocations: 8 kB / 0.7145 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006339/0.6939, allocations: 1.847 MB / 0.7163 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.6947, allocations: 147.8 kB / 0.7165 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/0.7169, allocations: 9.219 MB / 0.7255 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.7184, allocations: 175.3 kB / 0.7257 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.7187, allocations: 31.98 kB / 0.7257 GB, free: 7.594 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(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(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: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.000817/0.7195, allocations: 251.9 kB / 0.7259 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/0.7207, allocations: 358.4 kB / 0.7263 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.7339, allocations: 4.424 MB / 0.7306 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.734, allocations: 12.88 kB / 0.7306 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/0.734, allocations: 8 kB / 0.7306 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.14e-05/0.7341, allocations: 3.984 kB / 0.7306 GB, free: 2.516 MB / 0.5105 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.01582/0.7499, allocations: 5.815 MB / 0.7363 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.75, allocations: 0 / 0.7363 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.7507, allocations: 107.9 kB / 0.7364 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00593/0.7567, allocations: 1.869 MB / 0.7382 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002122/0.7569, allocations: 16 kB / 0.7382 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02147/0.7784, allocations: 11.21 MB / 0.7492 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.7785, allocations: 4.031 kB / 0.7492 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/0.795, allocations: 5.529 MB / 0.7546 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/0.7956, allocations: 216.1 kB / 0.7548 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004383/0.796, allocations: 16 kB / 0.7548 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.7974, allocations: 128.1 kB / 0.7549 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006335/0.7981, allocations: 172.7 kB / 0.7551 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.7982, allocations: 28 kB / 0.7551 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001164/0.7994, allocations: 0.6317 MB / 0.7557 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.004e-06/0.7994, allocations: 0 / 0.7557 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001759/0.8012, allocations: 408.7 kB / 0.7561 GB, free: 7.875 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01624/0.8174, allocations: 6.204 MB / 0.7622 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006154/0.8236, allocations: 2.263 MB / 0.7644 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8237, allocations: 4 kB / 0.7644 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004283/0.828, allocations: 1.524 MB / 0.7659 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.8297, allocations: 371.6 kB / 0.7662 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02726/0.8569, allocations: 14.07 MB / 0.78 GB, free: 14.98 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008718/0.8579, allocations: 1.107 MB / 0.7811 GB, free: 13.84 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004424/0.8583, allocations: 74.03 kB / 0.7811 GB, free: 13.77 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/0.859, allocations: 419.3 kB / 0.7815 GB, free: 13.36 MB / 0.573 GB Notification: Performance of SimCode: time 9.92e-07/0.859, allocations: 0 / 0.7815 GB, free: 13.36 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3091/1.168, allocations: 28.09 MB / 0.809 GB, free: 155.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.168, allocations: 238.8 kB / 0.8092 GB, free: 155.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/4.16, allocations: 3.375 kB / 0.8092 GB, free: 155.3 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)