Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008752/0.008752, allocations: 100.4 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 239.4 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 192.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5395/0.5395, allocations: 91.9 MB / 431.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 81.27 kB / 0.5724 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1525, allocations: 71.29 MB / 0.642 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.0204/0.1729, allocations: 21.98 MB / 0.6634 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.1865, allocations: 4.9 MB / 0.6682 GB, free: 8.984 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005572/0.1921, allocations: 44 kB / 0.6683 GB, free: 8.941 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003812/0.1959, allocations: 0.8905 MB / 0.6691 GB, free: 8.043 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.2062, allocations: 2.053 MB / 0.6711 GB, free: 5.98 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006548/0.2127, allocations: 2.075 MB / 0.6732 GB, free: 3.938 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.2229, allocations: 5.799 MB / 0.6788 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003016/0.226, allocations: 1.328 MB / 0.6801 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.23, allocations: 2.353 MB / 0.6824 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004813/0.2349, allocations: 2.982 MB / 0.6853 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001943/0.2368, allocations: 448 kB / 0.6858 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.2395, allocations: 0.5936 MB / 0.6864 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002071/0.2416, allocations: 1.171 MB / 0.6875 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005017/0.2466, allocations: 2.633 MB / 0.6901 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.2567, allocations: 6.286 MB / 0.6962 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2567, allocations: 0 / 0.6962 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2567, allocations: 4 kB / 0.6962 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002787/0.257, allocations: 0 / 0.6962 GB, free: 12.21 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03552/0.2926, allocations: 9.244 MB / 0.7052 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.2926, allocations: 8.031 kB / 0.7052 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001853/0.2945, allocations: 492.9 kB / 0.7057 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02742/0.3219, allocations: 4.012 MB / 0.7096 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007552/0.3295, allocations: 2.69 MB / 0.7123 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0013/0.3309, allocations: 0.9612 MB / 0.7132 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/0.3326, allocations: 348 kB / 0.7135 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.3477, allocations: 4.751 MB / 0.7182 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.3479, allocations: 0 / 0.7182 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/0.349, allocations: 140 kB / 0.7183 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.392e-05/0.3491, allocations: 99.98 kB / 0.7184 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.3607, allocations: 4.263 MB / 0.7226 GB, free: 0.8555 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04125/0.402, allocations: 18.29 MB / 0.7404 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01481/0.4168, allocations: 5.029 MB / 0.7453 GB, free: 8.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007144/0.424, allocations: 2.798 MB / 0.7481 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008809/0.4249, allocations: 70.92 kB / 0.7481 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008987/0.4339, allocations: 3.199 MB / 0.7513 GB, free: 2.152 MB / 0.545 GB Notification: Performance of pre-optimization done (n=385): time 1.369e-05/0.434, allocations: 0 / 0.7513 GB, free: 2.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=385): time 0.6474/1.081, allocations: 66.81 MB / 0.8165 GB, free: 83.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/1.081, allocations: 154.8 kB / 0.8166 GB, free: 83.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004282/1.086, allocations: 3.272 MB / 0.8198 GB, free: 81.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009715/1.087, allocations: 90.08 kB / 0.8199 GB, free: 81.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/1.088, allocations: 1.97 MB / 0.8218 GB, free: 79.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.089, allocations: 1.325 MB / 0.8231 GB, free: 78.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/1.091, allocations: 0.6862 MB / 0.8238 GB, free: 77.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.732e-05/1.091, allocations: 305.1 kB / 0.8241 GB, free: 77.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00497/1.096, allocations: 2.62 MB / 0.8267 GB, free: 75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005399/1.101, allocations: 3.249 MB / 0.8298 GB, free: 71.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06731/1.169, allocations: 19.13 MB / 0.8485 GB, free: 52.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/1.169, allocations: 4 kB / 0.8485 GB, free: 52.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05413/1.223, allocations: 17.25 MB / 0.8654 GB, free: 34.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.331e-05/1.223, allocations: 63.41 kB / 0.8654 GB, free: 34.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/1.223, allocations: 19.94 kB / 0.8654 GB, free: 34.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02588/1.249, allocations: 7.292 MB / 0.8726 GB, free: 27.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003591/1.252, allocations: 0.6825 MB / 0.8732 GB, free: 26.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08488/1.337, allocations: 33.84 MB / 0.9063 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007107/1.345, allocations: 0.6249 MB / 0.9069 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/1.346, allocations: 155.8 kB / 0.907 GB, free: 8.008 MB / 0.5762 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (409): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.003568/1.349, allocations: 0.6754 MB / 0.9077 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002114/1.352, allocations: 458.3 kB / 0.9081 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06206/1.414, allocations: 16.89 MB / 0.9246 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.956e-05/1.414, allocations: 40 kB / 0.9247 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001419/1.414, allocations: 28 kB / 0.9247 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001394/1.414, allocations: 15.94 kB / 0.9247 GB, free: 5.82 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.07108/1.485, allocations: 21.91 MB / 0.9461 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.54e-05/1.485, allocations: 4.75 kB / 0.9461 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002812/1.488, allocations: 395.5 kB / 0.9465 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02845/1.517, allocations: 7.343 MB / 0.9537 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001269/1.518, allocations: 71.98 kB / 0.9537 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09323/1.611, allocations: 31.83 MB / 0.9848 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/1.611, allocations: 3.938 kB / 0.9848 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07105/1.682, allocations: 20.29 MB / 1.005 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/1.684, allocations: 0.5648 MB / 1.005 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/1.686, allocations: 60 kB / 1.005 GB, free: 2.863 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005871/1.692, allocations: 383.5 kB / 1.006 GB, free: 2.488 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004141/1.697, allocations: 0.7843 MB / 1.006 GB, free: 1.703 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001032/1.698, allocations: 99.92 kB / 1.006 GB, free: 1.605 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004948/1.703, allocations: 2.145 MB / 1.009 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.31e-07/1.703, allocations: 0 / 1.009 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.009336/1.712, allocations: 1.814 MB / 1.01 GB, free: 13.64 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.07381/1.786, allocations: 20.97 MB / 1.031 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.4125/2.198, allocations: 9.354 MB / 1.04 GB, free: 241.6 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/2.198, allocations: 0 / 1.04 GB, free: 241.6 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.02282/2.221, allocations: 6.195 MB / 1.046 GB, free: 240.9 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004402/2.226, allocations: 388.2 kB / 1.046 GB, free: 240.9 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1602/2.386, allocations: 59.07 MB / 1.104 GB, free: 206.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/2.388, allocations: 2.459 MB / 1.106 GB, free: 204.2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001701/2.389, allocations: 379.2 kB / 1.107 GB, free: 203.9 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/2.391, allocations: 2.003 MB / 1.109 GB, free: 201.9 MB / 0.7012 GB Notification: Performance of SimCode: time 1.322e-06/2.391, allocations: 0 / 1.109 GB, free: 201.9 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1976/2.589, allocations: 136.1 MB / 1.242 GB, free: 66.05 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.36/25.95, allocations: 14.97 kB / 1.242 GB, free: 66.04 MB / 0.7012 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)