Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",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.0009829/0.0009827, allocations: 176.4 kB / 15.42 MB, free: 6.207 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.261/1.261, allocations: 222.8 MB / 239 MB, free: 15.86 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.0007822/0.0007997, allocations: 98.84 kB / 289.8 MB, free: 4.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4434/0.4434, allocations: 78.42 MB / 418.9 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004284, allocations: 8 kB / 498.5 MB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 68.75 MB / 0.554 GB, free: 3.184 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007532/0.125, allocations: 7.353 MB / 0.5612 GB, free: 11.79 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003903/0.1289, allocations: 2.16 MB / 0.5633 GB, free: 9.617 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007278/0.1297, allocations: 19.94 kB / 0.5633 GB, free: 9.598 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006212/0.1303, allocations: 194.7 kB / 0.5635 GB, free: 9.406 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.132, allocations: 0.6774 MB / 0.5641 GB, free: 8.727 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.1334, allocations: 0.7116 MB / 0.5648 GB, free: 8.023 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001699/0.1351, allocations: 1.627 MB / 0.5664 GB, free: 6.391 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004519/0.1356, allocations: 359 kB / 0.5668 GB, free: 6.016 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006736/0.1363, allocations: 0.6025 MB / 0.5674 GB, free: 5.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006826/0.1369, allocations: 0.754 MB / 0.5681 GB, free: 4.652 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.1371, allocations: 60 kB / 0.5681 GB, free: 4.594 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.1375, allocations: 199.9 kB / 0.5683 GB, free: 4.398 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.1377, allocations: 262.6 kB / 0.5686 GB, free: 4.141 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.1382, allocations: 0.6365 MB / 0.5692 GB, free: 3.5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.1395, allocations: 1.685 MB / 0.5709 GB, free: 1.809 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1395, allocations: 0 / 0.5709 GB, free: 1.809 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.21e-06/0.1396, allocations: 0 / 0.5709 GB, free: 1.809 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.1396, allocations: 7.875 kB / 0.5709 GB, free: 1.801 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.2181/0.3576, allocations: 2.568 MB / 0.5734 GB, free: 45.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.3577, allocations: 9.094 kB / 0.5734 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003742/0.3581, allocations: 141.4 kB / 0.5735 GB, free: 45.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005085/0.3632, allocations: 0.7941 MB / 0.5743 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.3653, allocations: 0.9142 MB / 0.5752 GB, free: 45.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/0.3657, allocations: 329.9 kB / 0.5755 GB, free: 44.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.3659, allocations: 97.88 kB / 0.5756 GB, free: 44.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.3685, allocations: 1.29 MB / 0.5768 GB, free: 44.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.3686, allocations: 1.75 kB / 0.5768 GB, free: 44.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.3687, allocations: 40.45 kB / 0.5769 GB, free: 44.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.3687, allocations: 23.44 kB / 0.5769 GB, free: 44.72 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.3713, allocations: 1.197 MB / 0.5781 GB, free: 44.71 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.006745/0.378, allocations: 4.186 MB / 0.5822 GB, free: 43.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.3811, allocations: 1.768 MB / 0.5839 GB, free: 42.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.3827, allocations: 0.8578 MB / 0.5847 GB, free: 42.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.3829, allocations: 19.47 kB / 0.5848 GB, free: 42.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001773/0.3846, allocations: 0.9621 MB / 0.5857 GB, free: 42.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 3.356e-06/0.3847, allocations: 0 / 0.5857 GB, free: 42.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.03046/0.4151, allocations: 7.898 MB / 0.5934 GB, free: 41.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.4152, allocations: 115.2 kB / 0.5935 GB, free: 41.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.4166, allocations: 1.04 MB / 0.5945 GB, free: 41.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.4169, allocations: 43.48 kB / 0.5946 GB, free: 41.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.4171, allocations: 0.5274 MB / 0.5951 GB, free: 40.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.4175, allocations: 385.4 kB / 0.5955 GB, free: 40.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.4176, allocations: 131.8 kB / 0.5956 GB, free: 40.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.4177, allocations: 358.1 kB / 0.5959 GB, free: 39.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.4192, allocations: 0.7834 MB / 0.5967 GB, free: 39.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.4208, allocations: 0.9454 MB / 0.5976 GB, free: 39.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02003/0.4408, allocations: 5.488 MB / 0.603 GB, free: 37.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.4409, allocations: 0 / 0.603 GB, free: 37.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01253/0.4534, allocations: 4.464 MB / 0.6073 GB, free: 36.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.4535, allocations: 60.67 kB / 0.6074 GB, free: 36.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4535, allocations: 4.125 kB / 0.6074 GB, free: 36.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00532/0.4588, allocations: 1.734 MB / 0.6091 GB, free: 36.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.4603, allocations: 288.9 kB / 0.6094 GB, free: 36.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/0.4783, allocations: 8.31 MB / 0.6175 GB, free: 32.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.4802, allocations: 208.9 kB / 0.6177 GB, free: 32.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.4804, allocations: 49.5 kB / 0.6177 GB, free: 32.04 MB / 442.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.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: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005779/0.481, allocations: 306.5 kB / 0.618 GB, free: 31.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.4812, allocations: 130.9 kB / 0.6181 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/0.4959, allocations: 4.408 MB / 0.6224 GB, free: 30.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.4959, allocations: 11.69 kB / 0.6224 GB, free: 30.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4959, allocations: 1.125 kB / 0.6225 GB, free: 30.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/0.496, allocations: 6.469 kB / 0.6225 GB, free: 30.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.5119, allocations: 6.274 MB / 0.6286 GB, free: 27.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.5119, allocations: 1 kB / 0.6286 GB, free: 27.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/0.5126, allocations: 126.3 kB / 0.6287 GB, free: 27.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005876/0.5185, allocations: 1.907 MB / 0.6306 GB, free: 26.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/0.5187, allocations: 28.56 kB / 0.6306 GB, free: 26.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01832/0.5371, allocations: 9.744 MB / 0.6401 GB, free: 17.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5371, allocations: 10.03 kB / 0.6401 GB, free: 17.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/0.5517, allocations: 5.413 MB / 0.6454 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/0.5522, allocations: 227.2 kB / 0.6456 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.5523, allocations: 19.94 kB / 0.6456 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.5535, allocations: 147.9 kB / 0.6458 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006809/0.5542, allocations: 220.6 kB / 0.646 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.5543, allocations: 31.98 kB / 0.646 GB, free: 11.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008507/0.5552, allocations: 0.7045 MB / 0.6467 GB, free: 11.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5552, allocations: 96 / 0.6467 GB, free: 11.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001263/0.5564, allocations: 498.6 kB / 0.6472 GB, free: 10.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0145/0.5709, allocations: 5.994 MB / 0.653 GB, free: 4.516 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006395/0.5774, allocations: 2.685 MB / 0.6557 GB, free: 1.812 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.5774, allocations: 0 / 0.6557 GB, free: 1.812 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004389/0.5818, allocations: 1.839 MB / 0.6575 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.583, allocations: 131.5 kB / 0.6576 GB, free: 15.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04194/0.6249, allocations: 18.13 MB / 0.6753 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/0.6257, allocations: 1.159 MB / 0.6764 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006261/0.6263, allocations: 118.2 kB / 0.6765 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/0.627, allocations: 499.2 kB / 0.677 GB, free: 11.5 MB / 474.7 MB Notification: Performance of SimCode: time 6.61e-07/0.627, allocations: 0 / 0.677 GB, free: 11.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05572/0.6827, allocations: 34.81 MB / 0.711 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.6829, allocations: 239.4 kB / 0.7112 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/3.647, allocations: 0 / 0.7112 GB, free: 8.801 MB / 0.4948 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)