Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.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.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.001511/0.001511, allocations: 172.5 kB / 7.646 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.427/1.427, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0009915/0.0009915, allocations: 100.2 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.466/0.466, allocations: 78.08 MB / 409.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.954e-05, allocations: 7.938 kB / 485 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1348, allocations: 69.37 MB / 0.5414 GB, free: 6.75 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.5309, allocations: 101.9 MB / 0.6409 GB, free: 13.54 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5312, allocations: 79.89 kB / 0.6409 GB, free: 13.46 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2551/0.7863, allocations: 99.61 MB / 0.7382 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7864, allocations: 0 / 0.7382 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003273/0.7867, allocations: 91.88 kB / 0.7383 GB, free: 9.387 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01941/0.8061, allocations: 5.782 MB / 0.7439 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.8062, allocations: 11.97 kB / 0.744 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/0.824, allocations: 2.776 MB / 0.7467 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006224/0.8302, allocations: 2.249 MB / 0.7489 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000938/0.8312, allocations: 0.8687 MB / 0.7497 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001117/0.8324, allocations: 200 kB / 0.7499 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006846/0.8392, allocations: 3.447 MB / 0.7533 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006803/0.846, allocations: 3.602 MB / 0.7568 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.739e-05/0.8461, allocations: 4 kB / 0.7568 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003298/0.8465, allocations: 0 / 0.7568 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.059e-05/0.8465, allocations: 84 kB / 0.7569 GB, free: 6.043 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.3503/1.197, allocations: 18.09 MB / 0.7745 GB, free: 86.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009671/1.207, allocations: 4.701 MB / 0.7791 GB, free: 86.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003539/1.21, allocations: 2.123 MB / 0.7812 GB, free: 86.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/1.211, allocations: 69.66 kB / 0.7813 GB, free: 86.17 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003693/1.214, allocations: 2.497 MB / 0.7837 GB, free: 86.04 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 6.632e-06/1.214, allocations: 1.172 kB / 0.7837 GB, free: 86.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.05314/1.267, allocations: 17.3 MB / 0.8006 GB, free: 85.39 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/1.268, allocations: 145.9 kB / 0.8007 GB, free: 85.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/1.272, allocations: 2.468 MB / 0.8032 GB, free: 84.99 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001102/1.273, allocations: 28.19 kB / 0.8032 GB, free: 84.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001551/1.275, allocations: 1.999 MB / 0.8051 GB, free: 84.53 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002026/1.277, allocations: 1.255 MB / 0.8064 GB, free: 83.86 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/1.277, allocations: 1 kB / 0.8064 GB, free: 83.86 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002238/1.277, allocations: 445.9 kB / 0.8068 GB, free: 83.55 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003009/1.28, allocations: 1.776 MB / 0.8085 GB, free: 83.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003438/1.284, allocations: 2.334 MB / 0.8108 GB, free: 82.99 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/1.287, allocations: 1.967 MB / 0.8127 GB, free: 82.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-05/1.287, allocations: 4 kB / 0.8127 GB, free: 82.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05188/1.339, allocations: 17.36 MB / 0.8297 GB, free: 81.83 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/1.339, allocations: 71.8 kB / 0.8297 GB, free: 81.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.202e-05/1.34, allocations: 13.59 kB / 0.8298 GB, free: 81.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02255/1.362, allocations: 6.893 MB / 0.8365 GB, free: 81.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003196/1.365, allocations: 0.5751 MB / 0.837 GB, free: 81.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05196/1.417, allocations: 25.21 MB / 0.8617 GB, free: 71.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006101/1.423, allocations: 0.633 MB / 0.8623 GB, free: 71.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009536/1.424, allocations: 131.6 kB / 0.8624 GB, free: 71.2 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-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 (333): * Single equations (assignments): 330 * 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.001051/1.425, allocations: 210.2 kB / 0.8626 GB, free: 71.04 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0497/1.475, allocations: 17.31 MB / 0.8795 GB, free: 64.08 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00182/1.477, allocations: 454.4 kB / 0.88 GB, free: 63.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0476/1.525, allocations: 17.77 MB / 0.8973 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/1.525, allocations: 36 kB / 0.8973 GB, free: 50 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.604e-05/1.525, allocations: 35.75 kB / 0.8974 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001095/1.525, allocations: 17.11 kB / 0.8974 GB, free: 49.97 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.05418/1.579, allocations: 22.38 MB / 0.9192 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.861e-05/1.579, allocations: 0.75 kB / 0.9192 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002453/1.582, allocations: 395.5 kB / 0.9196 GB, free: 32.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02123/1.603, allocations: 6.947 MB / 0.9264 GB, free: 27.26 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001038/1.604, allocations: 23.8 kB / 0.9264 GB, free: 27.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04823/1.652, allocations: 24.25 MB / 0.9501 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/1.652, allocations: 1.25 kB / 0.9501 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05685/1.709, allocations: 20.67 MB / 0.9703 GB, free: 3.109 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/1.711, allocations: 0.5648 MB / 0.9708 GB, free: 2.52 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.712, allocations: 1.406 kB / 0.9708 GB, free: 2.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004829/1.717, allocations: 439.5 kB / 0.9713 GB, free: 2.09 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003059/1.72, allocations: 0.7879 MB / 0.972 GB, free: 1.301 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004091/1.72, allocations: 95.98 kB / 0.9721 GB, free: 1.207 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002941/1.723, allocations: 1.829 MB / 0.9739 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-07/1.723, allocations: 0 / 0.9739 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005853/1.729, allocations: 1.595 MB / 0.9755 GB, free: 13.78 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.3882/2.117, allocations: 21.31 MB / 0.9963 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02109/2.138, allocations: 7.971 MB / 1.004 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/2.138, allocations: 2.969 kB / 1.004 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01856/2.157, allocations: 5.969 MB / 1.01 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/2.161, allocations: 238.7 kB / 1.01 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/2.178, allocations: 6.39 MB / 1.016 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00224/2.181, allocations: 2.54 MB / 1.019 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001759/2.182, allocations: 294.9 kB / 1.019 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002519/2.185, allocations: 1.98 MB / 1.021 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/2.185, allocations: 0 / 1.021 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1776/2.363, allocations: 107.7 MB / 1.126 GB, free: 76.83 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/2.363, allocations: 135.4 kB / 1.126 GB, free: 76.64 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.51/8.873, allocations: 0 / 1.126 GB, free: 76.64 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)