Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.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.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",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.001019/0.001019, allocations: 173.9 kB / 7.648 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.261/1.261, 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.0008552/0.0008552, allocations: 86.64 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4777/0.4777, allocations: 78.96 MB / 410.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.619e-05/1.602e-05, allocations: 0 / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1278, allocations: 69.51 MB / 0.5425 GB, free: 5.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/0.5105, allocations: 101.4 MB / 0.6416 GB, free: 12.66 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5108, allocations: 79.95 kB / 0.6416 GB, free: 12.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2537/0.7645, allocations: 100.5 MB / 0.7398 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7646, allocations: 0 / 0.7398 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004395/0.765, allocations: 87.94 kB / 0.7399 GB, free: 7.613 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01871/0.7838, allocations: 5.74 MB / 0.7455 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.7838, allocations: 12.03 kB / 0.7455 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/0.801, allocations: 2.776 MB / 0.7482 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005343/0.8063, allocations: 2.237 MB / 0.7504 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008467/0.8072, allocations: 0.8596 MB / 0.7512 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006838/0.8079, allocations: 211.9 kB / 0.7514 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006331/0.8142, allocations: 3.435 MB / 0.7548 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006277/0.8205, allocations: 3.578 MB / 0.7583 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.588e-05/0.8206, allocations: 1.125 kB / 0.7583 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.8209, allocations: 7.984 kB / 0.7583 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/0.821, allocations: 84 kB / 0.7584 GB, free: 4.352 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.3145/1.135, allocations: 18.03 MB / 0.776 GB, free: 86.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009872/1.145, allocations: 4.684 MB / 0.7805 GB, free: 86.01 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003602/1.149, allocations: 2.117 MB / 0.7826 GB, free: 85.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004631/1.15, allocations: 69.69 kB / 0.7827 GB, free: 85.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003521/1.153, allocations: 2.475 MB / 0.7851 GB, free: 85.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 6.742e-06/1.153, allocations: 2.688 kB / 0.7851 GB, free: 85.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05204/1.205, allocations: 17.29 MB / 0.802 GB, free: 84.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/1.205, allocations: 143.2 kB / 0.8021 GB, free: 84.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004403/1.21, allocations: 2.445 MB / 0.8045 GB, free: 84.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009503/1.211, allocations: 27.48 kB / 0.8045 GB, free: 84.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001435/1.212, allocations: 1.988 MB / 0.8065 GB, free: 84.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001793/1.214, allocations: 1.246 MB / 0.8077 GB, free: 83.44 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/1.214, allocations: 0 / 0.8077 GB, free: 83.44 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001839/1.214, allocations: 449.8 kB / 0.8081 GB, free: 83.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002828/1.217, allocations: 1.758 MB / 0.8098 GB, free: 83.12 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/1.22, allocations: 2.32 MB / 0.8121 GB, free: 82.57 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/1.223, allocations: 1.956 MB / 0.814 GB, free: 82.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/1.223, allocations: 7 kB / 0.814 GB, free: 82.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.04919/1.273, allocations: 17.33 MB / 0.8309 GB, free: 81.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/1.273, allocations: 62.19 kB / 0.831 GB, free: 81.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/1.273, allocations: 14.22 kB / 0.831 GB, free: 81.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02142/1.294, allocations: 6.904 MB / 0.8378 GB, free: 80.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/1.297, allocations: 0.5627 MB / 0.8383 GB, free: 80.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05088/1.348, allocations: 25.24 MB / 0.863 GB, free: 70.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006118/1.354, allocations: 0.6535 MB / 0.8636 GB, free: 70.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.355, allocations: 133.9 kB / 0.8637 GB, free: 70.32 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 326 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009835/1.356, allocations: 198.7 kB / 0.8639 GB, free: 70.18 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04795/1.404, allocations: 17.29 MB / 0.8808 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002772/1.407, allocations: 454.4 kB / 0.8812 GB, free: 62.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04827/1.455, allocations: 17.74 MB / 0.8986 GB, free: 48.72 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-05/1.455, allocations: 40 kB / 0.8986 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.34e-05/1.456, allocations: 28 kB / 0.8986 GB, free: 48.65 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001179/1.456, allocations: 18.19 kB / 0.8986 GB, free: 48.65 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.05355/1.509, allocations: 22.35 MB / 0.9205 GB, free: 31.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.437e-05/1.509, allocations: 0 / 0.9205 GB, free: 31.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/1.512, allocations: 389.6 kB / 0.9208 GB, free: 31.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0208/1.532, allocations: 6.96 MB / 0.9276 GB, free: 25.92 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009142/1.533, allocations: 19.94 kB / 0.9276 GB, free: 25.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04758/1.581, allocations: 24.16 MB / 0.9512 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.581, allocations: 4.609 kB / 0.9512 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05649/1.637, allocations: 20.58 MB / 0.9713 GB, free: 1.484 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/1.639, allocations: 0.5493 MB / 0.9719 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.64, allocations: 7.984 kB / 0.9719 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004981/1.645, allocations: 456.6 kB / 0.9723 GB, free: 468 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002953/1.648, allocations: 0.7802 MB / 0.9731 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004764/1.649, allocations: 95.98 kB / 0.9732 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002964/1.652, allocations: 1.809 MB / 0.9749 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.644e-06/1.652, allocations: 0 / 0.9749 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006481/1.658, allocations: 1.59 MB / 0.9765 GB, free: 12.18 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.3642/2.022, allocations: 21.26 MB / 0.9973 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02034/2.043, allocations: 7.951 MB / 1.005 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/2.043, allocations: 0 / 1.005 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01937/2.062, allocations: 5.955 MB / 1.011 GB, free: 110 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/2.066, allocations: 237.7 kB / 1.011 GB, free: 110 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/2.083, allocations: 6.216 MB / 1.017 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/2.085, allocations: 2.535 MB / 1.02 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001897/2.087, allocations: 296.9 kB / 1.02 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002261/2.089, allocations: 1.971 MB / 1.022 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.032e-06/2.089, allocations: 0 / 1.022 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1633/2.253, allocations: 107.2 MB / 1.127 GB, free: 75.76 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/2.253, allocations: 145.3 kB / 1.127 GB, free: 75.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.48/8.732, allocations: 0 / 1.127 GB, free: 75.57 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)