Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_dev_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_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001234/0.001234, allocations: 188.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4734/0.4734, allocations: 91.91 MB / 431.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 79.88 kB / 0.502 GB, free: 7.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2839, allocations: 71.26 MB / 0.5716 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005977/0.29, allocations: 7.01 MB / 0.5784 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.2932, allocations: 2.127 MB / 0.5805 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.2937, allocations: 12.66 kB / 0.5805 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.2943, allocations: 256.9 kB / 0.5808 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.2957, allocations: 0.7744 MB / 0.5815 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.2969, allocations: 0.7534 MB / 0.5823 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.2981, allocations: 1.719 MB / 0.5839 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004697/0.2986, allocations: 401.9 kB / 0.5843 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.2992, allocations: 0.6979 MB / 0.585 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.2999, allocations: 0.8394 MB / 0.5858 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.3001, allocations: 133 kB / 0.5859 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.3006, allocations: 270.6 kB / 0.5862 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.3008, allocations: 350 kB / 0.5865 GB, free: 28.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.3013, allocations: 0.7151 MB / 0.5872 GB, free: 27.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3026, allocations: 1.79 MB / 0.589 GB, free: 26.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3026, allocations: 1.281 kB / 0.589 GB, free: 26.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3026, allocations: 0 / 0.589 GB, free: 26.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.229e-05/0.3027, allocations: 0 / 0.589 GB, free: 26.8 MB / 430.1 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.00849/0.3112, allocations: 2.843 MB / 0.5918 GB, free: 25.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3112, allocations: 10.22 kB / 0.5918 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001641/0.3114, allocations: 147.6 kB / 0.5919 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004791/0.3162, allocations: 0.8008 MB / 0.5927 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.3175, allocations: 0.9201 MB / 0.5936 GB, free: 24.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.3178, allocations: 326.9 kB / 0.5939 GB, free: 24.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.318, allocations: 95.42 kB / 0.594 GB, free: 24.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.3204, allocations: 1.291 MB / 0.5953 GB, free: 23.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3204, allocations: 1.094 kB / 0.5953 GB, free: 23.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3205, allocations: 39.09 kB / 0.5953 GB, free: 23.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.3205, allocations: 21.03 kB / 0.5953 GB, free: 23.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.3231, allocations: 1.2 MB / 0.5965 GB, free: 23.35 MB / 430.1 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.007275/0.3304, allocations: 4.219 MB / 0.6006 GB, free: 20.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/0.3338, allocations: 1.768 MB / 0.6023 GB, free: 19.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.3355, allocations: 0.8575 MB / 0.6032 GB, free: 19.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.3357, allocations: 16.56 kB / 0.6032 GB, free: 19.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001975/0.3376, allocations: 0.9555 MB / 0.6041 GB, free: 19.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.377e-06/0.3377, allocations: 0 / 0.6041 GB, free: 19.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.0324/0.3701, allocations: 7.766 MB / 0.6117 GB, free: 17.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.3702, allocations: 116.5 kB / 0.6118 GB, free: 17.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.3718, allocations: 1.035 MB / 0.6128 GB, free: 17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.372, allocations: 46.8 kB / 0.6129 GB, free: 16.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.3723, allocations: 0.5286 MB / 0.6134 GB, free: 16.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/0.3726, allocations: 394.8 kB / 0.6138 GB, free: 16.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.3731, allocations: 239.7 kB / 0.614 GB, free: 16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.3731, allocations: 357.5 kB / 0.6143 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/0.3748, allocations: 0.7842 MB / 0.6151 GB, free: 15.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.3767, allocations: 0.9444 MB / 0.616 GB, free: 14.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02015/0.3968, allocations: 5.499 MB / 0.6214 GB, free: 10.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3968, allocations: 0 / 0.6214 GB, free: 10.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01257/0.4094, allocations: 4.467 MB / 0.6257 GB, free: 6.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.4095, allocations: 61.44 kB / 0.6258 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4095, allocations: 0 / 0.6258 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005458/0.415, allocations: 1.745 MB / 0.6275 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.4161, allocations: 271.7 kB / 0.6278 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/0.4356, allocations: 9.066 MB / 0.6366 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.4375, allocations: 206.8 kB / 0.6368 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.4377, allocations: 55.98 kB / 0.6369 GB, free: 10.89 MB / 446.1 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.0005796/0.4382, allocations: 295.7 kB / 0.6372 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.4385, allocations: 138.3 kB / 0.6373 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01511/0.4536, allocations: 4.401 MB / 0.6416 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.4536, allocations: 8 kB / 0.6416 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4537, allocations: 8 kB / 0.6416 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.4537, allocations: 7.922 kB / 0.6416 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/0.4708, allocations: 6.271 MB / 0.6477 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4708, allocations: 0 / 0.6477 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/0.4716, allocations: 127.8 kB / 0.6479 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006517/0.4781, allocations: 1.907 MB / 0.6497 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.4783, allocations: 24 kB / 0.6497 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02356/0.5018, allocations: 10.72 MB / 0.6602 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5019, allocations: 4 kB / 0.6602 GB, free: 2.516 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01692/0.5188, allocations: 5.435 MB / 0.6655 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.5192, allocations: 219.2 kB / 0.6657 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.5195, allocations: 24 kB / 0.6657 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.5209, allocations: 143.8 kB / 0.6659 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006663/0.5216, allocations: 232.6 kB / 0.6661 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.641e-05/0.5217, allocations: 32.17 kB / 0.6661 GB, free: 12.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009884/0.5226, allocations: 0.7045 MB / 0.6668 GB, free: 11.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5227, allocations: 3.938 kB / 0.6668 GB, free: 11.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001273/0.5239, allocations: 479.4 kB / 0.6673 GB, free: 11.21 MB / 478.1 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.01691/0.5409, allocations: 6.015 MB / 0.6732 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00751/0.5484, allocations: 2.765 MB / 0.6759 GB, free: 2.344 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5484, allocations: 0 / 0.6759 GB, free: 2.344 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005157/0.5536, allocations: 1.888 MB / 0.6777 GB, free: 420 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.5546, allocations: 128.5 kB / 0.6778 GB, free: 288 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03977/0.5944, allocations: 17.72 MB / 0.6951 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006416/0.5951, allocations: 1.151 MB / 0.6963 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004397/0.5955, allocations: 124.3 kB / 0.6964 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006069/0.5962, allocations: 499.3 kB / 0.6968 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.5962, allocations: 0 / 0.6968 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0632/0.6594, allocations: 38.29 MB / 0.7342 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.93, allocations: 6.312 kB / 0.7342 GB, free: 6.18 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)