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.0008909/0.0008909, allocations: 178.8 kB / 15.42 MB, free: 5.887 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.271/1.271, allocations: 222.8 MB / 239 MB, free: 15.89 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.0007163/0.0007164, allocations: 92.48 kB / 289.8 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3026/0.3026, allocations: 78.43 MB / 418.9 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 12 kB / 498.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 68.75 MB / 0.554 GB, free: 3.324 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007335/0.1223, allocations: 6.953 MB / 0.5608 GB, free: 12.33 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004633/0.127, allocations: 2.04 MB / 0.5628 GB, free: 10.29 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000972/0.128, allocations: 12 kB / 0.5628 GB, free: 10.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007246/0.1288, allocations: 190.8 kB / 0.5629 GB, free: 10.09 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.1308, allocations: 0.7166 MB / 0.5636 GB, free: 9.371 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.132, allocations: 0.6028 MB / 0.5642 GB, free: 8.773 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.1333, allocations: 1.55 MB / 0.5658 GB, free: 7.219 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.1337, allocations: 281.6 kB / 0.566 GB, free: 6.934 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006197/0.1344, allocations: 0.5831 MB / 0.5666 GB, free: 6.348 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007395/0.1351, allocations: 0.7775 MB / 0.5673 GB, free: 5.566 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.1353, allocations: 64 kB / 0.5674 GB, free: 5.504 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.1357, allocations: 199.8 kB / 0.5676 GB, free: 5.309 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.1359, allocations: 266.7 kB / 0.5679 GB, free: 5.047 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004578/0.1364, allocations: 0.6132 MB / 0.5685 GB, free: 4.43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.1377, allocations: 1.595 MB / 0.57 GB, free: 2.828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1377, allocations: 0 / 0.57 GB, free: 2.828 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1377, allocations: 4 kB / 0.57 GB, free: 2.824 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.1377, allocations: 0 / 0.57 GB, free: 2.824 MB / 442.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.007606/0.1453, allocations: 2.49 MB / 0.5724 GB, free: 272 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1454, allocations: 16.03 kB / 0.5725 GB, free: 256 kB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.1455, allocations: 122.7 kB / 0.5726 GB, free: 124 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2031/0.3486, allocations: 0.7708 MB / 0.5733 GB, free: 46.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.3502, allocations: 0.9139 MB / 0.5742 GB, free: 45.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.3505, allocations: 258.5 kB / 0.5745 GB, free: 45.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.3506, allocations: 86.97 kB / 0.5746 GB, free: 45.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.3525, allocations: 1.105 MB / 0.5756 GB, free: 45.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3525, allocations: 3.938 kB / 0.5756 GB, free: 45.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/0.3526, allocations: 27.88 kB / 0.5757 GB, free: 45.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.3526, allocations: 18.28 kB / 0.5757 GB, free: 45.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.3544, allocations: 0.9937 MB / 0.5766 GB, free: 45.49 MB / 442.7 MB 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.005615/0.36, allocations: 3.872 MB / 0.5804 GB, free: 44.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006642/0.3667, allocations: 2.389 MB / 0.5828 GB, free: 43.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.368, allocations: 0.6896 MB / 0.5834 GB, free: 43.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.3682, allocations: 14.86 kB / 0.5835 GB, free: 43.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.3696, allocations: 0.8315 MB / 0.5843 GB, free: 43.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.885e-06/0.3696, allocations: 0 / 0.5843 GB, free: 43.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.0258/0.3954, allocations: 7.222 MB / 0.5913 GB, free: 43.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.3956, allocations: 118.3 kB / 0.5914 GB, free: 43.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.3972, allocations: 1.131 MB / 0.5925 GB, free: 42.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.3974, allocations: 45.58 kB / 0.5926 GB, free: 42.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.3976, allocations: 0.4973 MB / 0.5931 GB, free: 42.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.3979, allocations: 357.1 kB / 0.5934 GB, free: 42.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.3981, allocations: 154.6 kB / 0.5936 GB, free: 42.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.3981, allocations: 306.5 kB / 0.5938 GB, free: 41.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.3995, allocations: 0.7752 MB / 0.5946 GB, free: 41.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.4009, allocations: 0.9557 MB / 0.5955 GB, free: 41.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02024/0.4211, allocations: 5.802 MB / 0.6012 GB, free: 39.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.4212, allocations: 0 / 0.6012 GB, free: 39.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01148/0.4327, allocations: 4.454 MB / 0.6055 GB, free: 38.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.4327, allocations: 61.47 kB / 0.6056 GB, free: 38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.4328, allocations: 6.266 kB / 0.6056 GB, free: 38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005156/0.4379, allocations: 1.631 MB / 0.6072 GB, free: 37.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.4392, allocations: 288.2 kB / 0.6075 GB, free: 37.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/0.4563, allocations: 7.932 MB / 0.6152 GB, free: 34.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.4583, allocations: 203.4 kB / 0.6154 GB, free: 33.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.4584, allocations: 56.86 kB / 0.6155 GB, free: 33.91 MB / 442.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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: 13 * 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 (167): * Single equations (assignments): 164 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005283/0.459, allocations: 308.4 kB / 0.6158 GB, free: 33.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.4592, allocations: 130.9 kB / 0.6159 GB, free: 33.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.4718, allocations: 3.904 MB / 0.6197 GB, free: 32.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4719, allocations: 9.375 kB / 0.6197 GB, free: 32.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.4719, allocations: 8.078 kB / 0.6197 GB, free: 32.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.4719, allocations: 10.52 kB / 0.6197 GB, free: 32.63 MB / 442.7 MB 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.01468/0.4866, allocations: 5.515 MB / 0.6251 GB, free: 29.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.4866, allocations: 1.25 kB / 0.6251 GB, free: 29.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/0.4872, allocations: 103.4 kB / 0.6252 GB, free: 29.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004965/0.4922, allocations: 1.593 MB / 0.6268 GB, free: 29.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.536e-05/0.4923, allocations: 21.09 kB / 0.6268 GB, free: 29.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/0.5082, allocations: 8.814 MB / 0.6354 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5082, allocations: 0 / 0.6354 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/0.5206, allocations: 4.775 MB / 0.6401 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/0.5212, allocations: 223.3 kB / 0.6403 GB, free: 18.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.5213, allocations: 20 kB / 0.6403 GB, free: 18.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.5224, allocations: 111.9 kB / 0.6404 GB, free: 18.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005256/0.523, allocations: 188.7 kB / 0.6406 GB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/0.523, allocations: 29.23 kB / 0.6406 GB, free: 17.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008952/0.5239, allocations: 0.7554 MB / 0.6413 GB, free: 17.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5239, allocations: 7.938 kB / 0.6414 GB, free: 17.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001331/0.5253, allocations: 489.1 kB / 0.6418 GB, free: 16.61 MB / 442.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 () * Number of clocked 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 (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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01225/0.5375, allocations: 5.362 MB / 0.6471 GB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005564/0.5431, allocations: 2.594 MB / 0.6496 GB, free: 8.586 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5432, allocations: 0.75 kB / 0.6496 GB, free: 8.586 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003512/0.5467, allocations: 1.576 MB / 0.6511 GB, free: 6.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.5477, allocations: 120.5 kB / 0.6512 GB, free: 6.863 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03679/0.5845, allocations: 17.68 MB / 0.6685 GB, free: 4.801 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008036/0.5854, allocations: 1.128 MB / 0.6696 GB, free: 3.641 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000657/0.586, allocations: 124.6 kB / 0.6697 GB, free: 3.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006434/0.5867, allocations: 475.3 kB / 0.6702 GB, free: 3.055 MB / 458.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5867, allocations: 0 / 0.6702 GB, free: 3.055 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04892/0.6356, allocations: 31.95 MB / 0.7014 GB, free: 3.496 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.6359, allocations: 255.8 kB / 0.7016 GB, free: 3.234 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/3.564, allocations: 0 / 0.7016 GB, free: 3.234 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)