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.001069/0.001069, allocations: 181.2 kB / 15.45 MB, free: 6.227 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.474/1.474, allocations: 223.3 MB / 239.5 MB, free: 1.605 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000815/0.000815, allocations: 94.88 kB / 290.6 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4814/0.4814, allocations: 78.62 MB / 420.4 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.000381, allocations: 12 kB / 0.4889 GB, free: 2.445 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4005, allocations: 69.33 MB / 0.5566 GB, free: 38.96 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.00707/0.4076, allocations: 6.862 MB / 0.5633 GB, free: 35.85 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006486/0.4142, allocations: 2.144 MB / 0.5654 GB, free: 35.02 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.4166, allocations: 18.5 kB / 0.5654 GB, free: 35.01 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.4178, allocations: 199.3 kB / 0.5656 GB, free: 34.94 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.4211, allocations: 0.6781 MB / 0.5663 GB, free: 34.62 MB / 426.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.001998/0.4231, allocations: 0.6973 MB / 0.5669 GB, free: 34.4 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00238/0.4255, allocations: 1.636 MB / 0.5685 GB, free: 33.61 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005599/0.4261, allocations: 364.3 kB / 0.5689 GB, free: 33.41 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.4272, allocations: 0.604 MB / 0.5695 GB, free: 33.13 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009371/0.4281, allocations: 0.743 MB / 0.5702 GB, free: 32.79 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.4283, allocations: 61.47 kB / 0.5703 GB, free: 32.79 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006609/0.429, allocations: 203.4 kB / 0.5705 GB, free: 32.74 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.4293, allocations: 260.7 kB / 0.5707 GB, free: 32.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005381/0.4298, allocations: 0.6656 MB / 0.5714 GB, free: 32.14 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.4312, allocations: 1.691 MB / 0.573 GB, free: 31.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4313, allocations: 2.656 kB / 0.573 GB, free: 31.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4313, allocations: 0 / 0.573 GB, free: 31.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.306e-05/0.4313, allocations: 0 / 0.573 GB, free: 31.52 MB / 426.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.008013/0.4393, allocations: 2.636 MB / 0.5756 GB, free: 30.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.4394, allocations: 9.312 kB / 0.5756 GB, free: 30.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003724/0.4398, allocations: 148.8 kB / 0.5757 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004758/0.4445, allocations: 0.808 MB / 0.5765 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.4464, allocations: 0.9189 MB / 0.5774 GB, free: 29.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.4467, allocations: 345.2 kB / 0.5777 GB, free: 29.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.4469, allocations: 92.62 kB / 0.5778 GB, free: 29.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.4496, allocations: 1.369 MB / 0.5792 GB, free: 28.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.4497, allocations: 0 / 0.5792 GB, free: 28.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.4498, allocations: 34 kB / 0.5792 GB, free: 28.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.4498, allocations: 23.53 kB / 0.5792 GB, free: 28.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002778/0.4526, allocations: 1.292 MB / 0.5805 GB, free: 28.22 MB / 426.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.006887/0.4595, allocations: 4.253 MB / 0.5846 GB, free: 25.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/0.4626, allocations: 1.88 MB / 0.5865 GB, free: 24.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.4644, allocations: 0.9362 MB / 0.5874 GB, free: 24.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.4646, allocations: 19.36 kB / 0.5874 GB, free: 24.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001877/0.4665, allocations: 1.044 MB / 0.5884 GB, free: 24.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 2.925e-06/0.4665, allocations: 0 / 0.5884 GB, free: 24.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.03345/0.4999, allocations: 9.466 MB / 0.5977 GB, free: 22.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.5, allocations: 123.5 kB / 0.5978 GB, free: 22.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.5017, allocations: 1.036 MB / 0.5988 GB, free: 21.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003073/0.5021, allocations: 48.5 kB / 0.5988 GB, free: 21.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.5025, allocations: 0.5221 MB / 0.5994 GB, free: 21.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.5028, allocations: 392.7 kB / 0.5997 GB, free: 20.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.503, allocations: 128.6 kB / 0.5999 GB, free: 20.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.5031, allocations: 364.8 kB / 0.6002 GB, free: 20.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.505, allocations: 0.8601 MB / 0.601 GB, free: 20.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.5069, allocations: 1.024 MB / 0.602 GB, free: 19.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02285/0.5298, allocations: 6.026 MB / 0.6079 GB, free: 18.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.5298, allocations: 5.125 kB / 0.6079 GB, free: 18.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01554/0.5454, allocations: 5.38 MB / 0.6132 GB, free: 15.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.339e-05/0.5455, allocations: 63.39 kB / 0.6132 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.5455, allocations: 4 kB / 0.6133 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005611/0.5512, allocations: 2.041 MB / 0.6152 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.5527, allocations: 291.6 kB / 0.6155 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/0.5712, allocations: 9.317 MB / 0.6246 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.5733, allocations: 254.8 kB / 0.6249 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.5735, allocations: 47.98 kB / 0.6249 GB, free: 3.539 MB / 426.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.0006005/0.5741, allocations: 296.4 kB / 0.6252 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.5743, allocations: 130.4 kB / 0.6253 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/0.5887, allocations: 5.338 MB / 0.6305 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.5888, allocations: 12 kB / 0.6305 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5888, allocations: 7.938 kB / 0.6305 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.5888, allocations: 3.984 kB / 0.6306 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.6071, allocations: 7.208 MB / 0.6376 GB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.6072, allocations: 3.938 kB / 0.6376 GB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008679/0.608, allocations: 131.9 kB / 0.6377 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006778/0.6148, allocations: 2.215 MB / 0.6399 GB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002777/0.6151, allocations: 23.98 kB / 0.6399 GB, free: 3.996 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02351/0.6387, allocations: 10.66 MB / 0.6503 GB, free: 9.047 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6387, allocations: 4 kB / 0.6503 GB, free: 9.043 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01824/0.657, allocations: 6.435 MB / 0.6566 GB, free: 2.574 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/0.6578, allocations: 227.2 kB / 0.6568 GB, free: 2.332 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.6581, allocations: 16 kB / 0.6568 GB, free: 2.316 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.6595, allocations: 187.8 kB / 0.657 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008486/0.6603, allocations: 224.6 kB / 0.6572 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.6604, allocations: 31.98 kB / 0.6573 GB, free: 1.883 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.6616, allocations: 0.7045 MB / 0.6579 GB, free: 1.172 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6616, allocations: 0 / 0.6579 GB, free: 1.172 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001642/0.6632, allocations: 487.4 kB / 0.6584 GB, free: 0.6953 MB / 458.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.01975/0.683, allocations: 7.002 MB / 0.6653 GB, free: 9.648 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007882/0.6909, allocations: 3.012 MB / 0.6682 GB, free: 6.609 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.691, allocations: 0 / 0.6682 GB, free: 6.609 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005712/0.6967, allocations: 2.072 MB / 0.6702 GB, free: 4.492 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.6983, allocations: 127.8 kB / 0.6703 GB, free: 4.367 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04543/0.7437, allocations: 20.18 MB / 0.69 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007707/0.7445, allocations: 1.155 MB / 0.6912 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006317/0.7452, allocations: 116.3 kB / 0.6913 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006511/0.7458, allocations: 499.3 kB / 0.6918 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/0.7458, allocations: 0 / 0.6918 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0611/0.8069, allocations: 34.82 MB / 0.7258 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.8072, allocations: 242.9 kB / 0.726 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.221/4.028, allocations: 7.875 kB / 0.726 GB, free: 11.08 MB / 0.5261 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)