Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",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.001046/0.001046, 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.226/1.226, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0009478/0.0009479, allocations: 84.67 kB / 280.5 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4323/0.4323, allocations: 78.95 MB / 410.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.691e-05, allocations: 7.984 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 69.51 MB / 0.5425 GB, free: 5.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.358/0.4978, allocations: 98.84 MB / 0.639 GB, free: 15.16 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.498, allocations: 80.7 kB / 0.6391 GB, free: 15.08 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09966/0.5977, allocations: 36.61 MB / 0.6749 GB, free: 10.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5977, allocations: 0 / 0.6749 GB, free: 10.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001097/0.5978, allocations: 27.94 kB / 0.6749 GB, free: 10.44 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004747/0.6026, allocations: 1.699 MB / 0.6766 GB, free: 8.684 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.6027, allocations: 12.03 kB / 0.6766 GB, free: 8.672 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003598/0.6063, allocations: 0.5641 MB / 0.6771 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.608, allocations: 0.7762 MB / 0.6779 GB, free: 7.273 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/0.6083, allocations: 237.6 kB / 0.6781 GB, free: 7.008 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/0.6085, allocations: 47.91 kB / 0.6782 GB, free: 6.961 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001683/0.6102, allocations: 0.8006 MB / 0.6789 GB, free: 6.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.6118, allocations: 0.8329 MB / 0.6798 GB, free: 5.316 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.6119, allocations: 0.5625 kB / 0.6798 GB, free: 5.316 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-05/0.612, allocations: 3.984 kB / 0.6798 GB, free: 5.312 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.612, allocations: 20 kB / 0.6798 GB, free: 5.293 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.007022/0.619, allocations: 3.683 MB / 0.6834 GB, free: 1.441 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007028/0.6261, allocations: 2.616 MB / 0.6859 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/0.6268, allocations: 0.5125 MB / 0.6864 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.6269, allocations: 16.77 kB / 0.6864 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009558/0.6279, allocations: 0.6488 MB / 0.6871 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 5.901e-06/0.6279, allocations: 0 / 0.6871 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.01182/0.6397, allocations: 3.93 MB / 0.6909 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.6398, allocations: 115.6 kB / 0.691 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.641, allocations: 0.8028 MB / 0.6918 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.107e-05/0.6411, allocations: 27.3 kB / 0.6918 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.6414, allocations: 0.5166 MB / 0.6923 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.6418, allocations: 335 kB / 0.6927 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.6418, allocations: 0 / 0.6927 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.642, allocations: 357.9 kB / 0.693 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006951/0.6427, allocations: 434.6 kB / 0.6934 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007749/0.6435, allocations: 0.5497 MB / 0.694 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.6442, allocations: 498.1 kB / 0.6944 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6442, allocations: 4 kB / 0.6944 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01203/0.6563, allocations: 3.951 MB / 0.6983 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.573e-05/0.6564, allocations: 59.39 kB / 0.6983 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.6564, allocations: 4 kB / 0.6984 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005333/0.6617, allocations: 1.506 MB / 0.6998 GB, free: 340 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009527/0.6627, allocations: 186.3 kB / 0.7 GB, free: 156 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.6759, allocations: 6.543 MB / 0.7064 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.6775, allocations: 191 kB / 0.7066 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.6776, allocations: 39.97 kB / 0.7066 GB, free: 9.262 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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003702/0.678, allocations: 158.5 kB / 0.7068 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01189/0.6899, allocations: 3.938 MB / 0.7106 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.6903, allocations: 126.5 kB / 0.7107 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.7021, allocations: 4.032 MB / 0.7147 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.7021, allocations: 8 kB / 0.7147 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.7021, allocations: 10.06 kB / 0.7147 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/0.7021, allocations: 3.984 kB / 0.7147 GB, free: 0.9414 MB / 0.5105 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.01384/0.716, allocations: 5.513 MB / 0.7201 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.716, allocations: 3.984 kB / 0.7201 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.7166, allocations: 97.12 kB / 0.7202 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004585/0.7212, allocations: 1.478 MB / 0.7216 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.7213, allocations: 4 kB / 0.7216 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/0.7345, allocations: 7.54 MB / 0.729 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.7345, allocations: 0 / 0.729 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/0.7471, allocations: 4.773 MB / 0.7336 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.7475, allocations: 227.2 kB / 0.7339 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.7478, allocations: 0 / 0.7339 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.7491, allocations: 135.9 kB / 0.734 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004696/0.7496, allocations: 196.9 kB / 0.7342 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/0.7497, allocations: 28 kB / 0.7342 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009195/0.7506, allocations: 0.6144 MB / 0.7348 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7506, allocations: 0 / 0.7348 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001376/0.752, allocations: 399.5 kB / 0.7352 GB, free: 11.55 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,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0131/0.7651, allocations: 5.42 MB / 0.7405 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004706/0.7698, allocations: 1.996 MB / 0.7424 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7698, allocations: 0.75 kB / 0.7424 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003787/0.7736, allocations: 1.539 MB / 0.7439 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.7748, allocations: 85.64 kB / 0.744 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/0.7794, allocations: 1.863 MB / 0.7458 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007549/0.7801, allocations: 1.151 MB / 0.7469 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004632/0.7806, allocations: 94.67 kB / 0.747 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006363/0.7812, allocations: 463.3 kB / 0.7475 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of SimCode: time 5.41e-07/0.7813, allocations: 2.438 kB / 0.7475 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.295/1.076, allocations: 28.68 MB / 0.7755 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001221/1.076, allocations: 167.9 kB / 0.7756 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.863, allocations: 4 kB / 0.7756 GB, free: 144.5 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)