Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.0009429/0.0009431, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.459/1.459, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009115/0.0009114, allocations: 90.42 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4518/0.4518, allocations: 78.07 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.897e-05, allocations: 4 kB / 491.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3889, allocations: 69.35 MB / 0.5481 GB, free: 20.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.5092, allocations: 99.18 MB / 0.6449 GB, free: 1.355 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.5094, allocations: 83.94 kB / 0.645 GB, free: 1.273 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08963/0.5991, allocations: 32.16 MB / 0.6764 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.5991, allocations: 0 / 0.6764 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001065/0.5992, allocations: 28 kB / 0.6765 GB, free: 0.8789 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.3231/0.9224, allocations: 1.724 MB / 0.6781 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.9224, allocations: 15.23 kB / 0.6782 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003626/0.9228, allocations: 124.7 kB / 0.6783 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/0.9267, allocations: 0.5672 MB / 0.6788 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.9283, allocations: 0.787 MB / 0.6796 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.9286, allocations: 266.3 kB / 0.6798 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.9288, allocations: 80.09 kB / 0.6799 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.9309, allocations: 0.945 MB / 0.6808 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.9309, allocations: 0 / 0.6808 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.931, allocations: 34.42 kB / 0.6809 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.931, allocations: 19.41 kB / 0.6809 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.9328, allocations: 0.85 MB / 0.6817 GB, free: 103.2 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.00876/0.9416, allocations: 3.854 MB / 0.6855 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007732/0.9494, allocations: 2.678 MB / 0.6881 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009293/0.9503, allocations: 0.5476 MB / 0.6886 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.9505, allocations: 23.61 kB / 0.6887 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009993/0.9515, allocations: 0.6871 MB / 0.6893 GB, free: 101.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.026e-06/0.9515, allocations: 1.219 kB / 0.6893 GB, free: 101.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01202/0.9635, allocations: 4.045 MB / 0.6933 GB, free: 101.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.9636, allocations: 116.9 kB / 0.6934 GB, free: 101 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.9649, allocations: 0.9136 MB / 0.6943 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.9651, allocations: 41.52 kB / 0.6943 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.9654, allocations: 0.5228 MB / 0.6948 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.9657, allocations: 342.1 kB / 0.6952 GB, free: 99.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/0.9658, allocations: 22.47 kB / 0.6952 GB, free: 99.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.38e-05/0.9659, allocations: 347.7 kB / 0.6955 GB, free: 99.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007255/0.9666, allocations: 465.8 kB / 0.696 GB, free: 99.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007535/0.9673, allocations: 0.5885 MB / 0.6965 GB, free: 99.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000794/0.9682, allocations: 0.5713 MB / 0.6971 GB, free: 98.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.9682, allocations: 0 / 0.6971 GB, free: 98.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01153/0.9797, allocations: 4.121 MB / 0.7011 GB, free: 97.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.9798, allocations: 59.97 kB / 0.7012 GB, free: 97.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.9798, allocations: 5.562 kB / 0.7012 GB, free: 97.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005204/0.985, allocations: 1.547 MB / 0.7027 GB, free: 97.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.9862, allocations: 202.5 kB / 0.7029 GB, free: 97.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.9989, allocations: 6.729 MB / 0.7095 GB, free: 92.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/1.001, allocations: 198.4 kB / 0.7096 GB, free: 92.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.642e-05/1.001, allocations: 39.38 kB / 0.7097 GB, free: 92.79 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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: 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 (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002685/1.001, allocations: 204.6 kB / 0.7099 GB, free: 92.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/1.001, allocations: 130.4 kB / 0.71 GB, free: 92.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.013, allocations: 4.171 MB / 0.7141 GB, free: 89.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.013, allocations: 16 kB / 0.7141 GB, free: 89.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.013, allocations: 7.438 kB / 0.7141 GB, free: 89.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/1.013, allocations: 11.5 kB / 0.7141 GB, free: 89.2 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 postOpt removeSimpleEquations (simulation): time 0.01292/1.026, allocations: 5.749 MB / 0.7197 GB, free: 84.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/1.026, allocations: 0 / 0.7197 GB, free: 84.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/1.026, allocations: 106.5 kB / 0.7198 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004543/1.031, allocations: 1.495 MB / 0.7213 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/1.031, allocations: 23.94 kB / 0.7213 GB, free: 83.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/1.043, allocations: 7.697 MB / 0.7288 GB, free: 76.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.043, allocations: 7.703 kB / 0.7288 GB, free: 76.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.056, allocations: 4.92 MB / 0.7336 GB, free: 71.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/1.057, allocations: 235.1 kB / 0.7339 GB, free: 71.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/1.057, allocations: 20 kB / 0.7339 GB, free: 71.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/1.058, allocations: 151.9 kB / 0.734 GB, free: 70.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006179/1.059, allocations: 188.7 kB / 0.7342 GB, free: 70.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.854e-05/1.059, allocations: 31.98 kB / 0.7342 GB, free: 70.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009607/1.06, allocations: 0.7097 MB / 0.7349 GB, free: 70.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.06, allocations: 0 / 0.7349 GB, free: 70.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001385/1.061, allocations: 446.8 kB / 0.7354 GB, free: 69.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,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 (65): * Single equations (assignments): 62 * 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.01274/1.074, allocations: 5.598 MB / 0.7408 GB, free: 63.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004825/1.079, allocations: 2.117 MB / 0.7429 GB, free: 61.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.079, allocations: 128 / 0.7429 GB, free: 61.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003666/1.083, allocations: 1.591 MB / 0.7444 GB, free: 60.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008509/1.084, allocations: 111.3 kB / 0.7446 GB, free: 60.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/1.087, allocations: 2.041 MB / 0.7465 GB, free: 58.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/1.088, allocations: 1.158 MB / 0.7477 GB, free: 56.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003897/1.088, allocations: 98.45 kB / 0.7478 GB, free: 56.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/1.088, allocations: 471.3 kB / 0.7482 GB, free: 56.29 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/1.088, allocations: 4 kB / 0.7482 GB, free: 56.29 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/1.135, allocations: 31.43 MB / 0.7789 GB, free: 25.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001283/1.135, allocations: 196.5 kB / 0.7791 GB, free: 25.17 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.092/4.227, allocations: 3.938 kB / 0.7791 GB, free: 25.17 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)