Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_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.001565/0.001565, 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.44/1.44, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.001203/0.001203, allocations: 86.98 kB / 280.4 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5412/0.5412, allocations: 78.13 MB / 409.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.496e-05/1.5e-05, allocations: 4 kB / 485 MB, free: 12.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 69.37 MB / 0.5414 GB, free: 6.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5784, allocations: 100.7 MB / 0.6398 GB, free: 14.81 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.5788, allocations: 79.95 kB / 0.6399 GB, free: 14.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.311/0.8898, allocations: 98.6 MB / 0.7361 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.336e-06/0.8899, allocations: 0 / 0.7361 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004861/0.8904, allocations: 87.94 kB / 0.7362 GB, free: 11.66 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.02677/0.9172, allocations: 5.74 MB / 0.7418 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.9173, allocations: 8.031 kB / 0.7418 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03072/0.948, allocations: 2.776 MB / 0.7446 GB, free: 3.051 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009139/0.9572, allocations: 2.229 MB / 0.7467 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001507/0.9587, allocations: 0.8636 MB / 0.7476 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.9603, allocations: 203.9 kB / 0.7478 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01221/0.9725, allocations: 3.435 MB / 0.7511 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.9864, allocations: 3.586 MB / 0.7546 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-05/0.9865, allocations: 0 / 0.7546 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005559/0.9871, allocations: 4 kB / 0.7546 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.9872, allocations: 87.41 kB / 0.7547 GB, free: 8.41 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.4349/1.422, allocations: 18.03 MB / 0.7723 GB, free: 86.32 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/1.437, allocations: 4.687 MB / 0.7769 GB, free: 85.89 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005301/1.442, allocations: 2.115 MB / 0.779 GB, free: 85.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007277/1.443, allocations: 67.81 kB / 0.779 GB, free: 85.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006094/1.449, allocations: 2.48 MB / 0.7815 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 9.317e-06/1.449, allocations: 0 / 0.7815 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.07408/1.523, allocations: 17.28 MB / 0.7983 GB, free: 85.19 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.706e-05/1.523, allocations: 142.8 kB / 0.7985 GB, free: 85.06 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006574/1.53, allocations: 2.44 MB / 0.8008 GB, free: 84.79 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001425/1.531, allocations: 26.95 kB / 0.8009 GB, free: 84.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002124/1.533, allocations: 1.989 MB / 0.8028 GB, free: 84.32 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002752/1.536, allocations: 1.249 MB / 0.804 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004884/1.537, allocations: 1.812 kB / 0.804 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000305/1.537, allocations: 445.6 kB / 0.8045 GB, free: 83.35 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004812/1.542, allocations: 1.759 MB / 0.8062 GB, free: 83.34 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006167/1.548, allocations: 2.321 MB / 0.8084 GB, free: 82.79 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006101/1.554, allocations: 1.951 MB / 0.8104 GB, free: 82.72 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.342e-05/1.554, allocations: 13.11 kB / 0.8104 GB, free: 82.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.07835/1.633, allocations: 17.33 MB / 0.8273 GB, free: 81.63 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.155e-05/1.633, allocations: 66.34 kB / 0.8274 GB, free: 81.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.953e-05/1.633, allocations: 14.03 kB / 0.8274 GB, free: 81.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03534/1.668, allocations: 6.9 MB / 0.8341 GB, free: 81.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004681/1.673, allocations: 0.5606 MB / 0.8347 GB, free: 81.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08954/1.762, allocations: 25.24 MB / 0.8593 GB, free: 71.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009068/1.772, allocations: 0.6298 MB / 0.8599 GB, free: 71.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.773, allocations: 129.6 kB / 0.86 GB, free: 71.68 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.001344/1.774, allocations: 204.5 kB / 0.8602 GB, free: 71.54 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08081/1.855, allocations: 17.29 MB / 0.8771 GB, free: 66.42 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00252/1.858, allocations: 454.4 kB / 0.8776 GB, free: 65.97 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0808/1.939, allocations: 17.73 MB / 0.8949 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.853e-05/1.939, allocations: 36 kB / 0.8949 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.722e-05/1.939, allocations: 29.62 kB / 0.8949 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001177/1.939, allocations: 22.33 kB / 0.895 GB, free: 52.32 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.05755/1.996, allocations: 22.34 MB / 0.9168 GB, free: 35.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/1.996, allocations: 3.891 kB / 0.9168 GB, free: 35.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/1.999, allocations: 393 kB / 0.9172 GB, free: 35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02214/2.021, allocations: 6.959 MB / 0.924 GB, free: 29.61 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001124/2.022, allocations: 15.94 kB / 0.924 GB, free: 29.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0513/2.074, allocations: 24.16 MB / 0.9476 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/2.074, allocations: 5.312 kB / 0.9476 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05856/2.132, allocations: 20.69 MB / 0.9678 GB, free: 5.887 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/2.134, allocations: 0.5609 MB / 0.9683 GB, free: 5.301 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/2.136, allocations: 3.953 kB / 0.9683 GB, free: 5.297 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004936/2.14, allocations: 439.6 kB / 0.9687 GB, free: 4.867 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002952/2.143, allocations: 0.7802 MB / 0.9695 GB, free: 4.086 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003893/2.144, allocations: 97.05 kB / 0.9696 GB, free: 3.992 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003048/2.147, allocations: 1.805 MB / 0.9714 GB, free: 2.184 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.31e-07/2.147, allocations: 3.938 kB / 0.9714 GB, free: 2.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005835/2.153, allocations: 1.588 MB / 0.9729 GB, free: 0.5938 MB / 0.573 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.4357/2.588, allocations: 21.26 MB / 0.9937 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02286/2.611, allocations: 7.953 MB / 1.001 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/2.611, allocations: 0 / 1.001 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01891/2.63, allocations: 5.952 MB / 1.007 GB, free: 108 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/2.634, allocations: 240.2 kB / 1.007 GB, free: 108 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/2.655, allocations: 6.219 MB / 1.014 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/2.657, allocations: 2.53 MB / 1.016 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001894/2.659, allocations: 292.7 kB / 1.016 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002623/2.662, allocations: 1.973 MB / 1.018 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.173e-06/2.662, allocations: 0 / 1.018 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1799/2.841, allocations: 107.1 MB / 1.123 GB, free: 80.76 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/2.842, allocations: 144.5 kB / 1.123 GB, free: 80.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.305/9.147, allocations: 3.938 kB / 1.123 GB, free: 80.57 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)