Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.0007901/0.0007901, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.182/1.182, allocations: 223.3 MB / 239.4 MB, free: 5.504 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.0008977/0.0008975, allocations: 176.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3966/0.3966, allocations: 78.55 MB / 420.3 MB, free: 4.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 12 kB / 0.4888 GB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1062, allocations: 69.37 MB / 0.5565 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.1844/0.2907, allocations: 5.18 MB / 0.5616 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.2926, allocations: 1.663 MB / 0.5632 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.2928, allocations: 11.72 kB / 0.5632 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.2931, allocations: 148.3 kB / 0.5633 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.2942, allocations: 0.5555 MB / 0.5639 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006827/0.2949, allocations: 469.1 kB / 0.5643 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006744/0.2955, allocations: 1.047 MB / 0.5653 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.2958, allocations: 234.3 kB / 0.5656 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.2961, allocations: 413.4 kB / 0.566 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.2965, allocations: 0.5674 MB / 0.5665 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.079e-05/0.2966, allocations: 44.91 kB / 0.5666 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.2969, allocations: 173.7 kB / 0.5667 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.297, allocations: 199.8 kB / 0.5669 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.2973, allocations: 495.6 kB / 0.5674 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.298, allocations: 1.194 MB / 0.5686 GB, free: 35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.298, allocations: 0 / 0.5686 GB, free: 35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.298, allocations: 3.281 kB / 0.5686 GB, free: 35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.298, allocations: 0 / 0.5686 GB, free: 35 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.005442/0.3035, allocations: 2.038 MB / 0.5705 GB, free: 34.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.3035, allocations: 8.969 kB / 0.5706 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.3036, allocations: 110.7 kB / 0.5707 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/0.3073, allocations: 0.651 MB / 0.5713 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.3079, allocations: 0.6574 MB / 0.5719 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.3081, allocations: 183.2 kB / 0.5721 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.3082, allocations: 67.41 kB / 0.5722 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.3098, allocations: 0.9433 MB / 0.5731 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3098, allocations: 3.938 kB / 0.5731 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.3099, allocations: 26.81 kB / 0.5731 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.3099, allocations: 25.08 kB / 0.5732 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.3116, allocations: 1.002 MB / 0.5741 GB, free: 33.55 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.003261/0.3149, allocations: 2.541 MB / 0.5766 GB, free: 32.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.3166, allocations: 1.181 MB / 0.5778 GB, free: 32.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.3178, allocations: 0.7236 MB / 0.5785 GB, free: 32.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.663e-05/0.3179, allocations: 18.33 kB / 0.5785 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3179, allocations: 48.55 kB / 0.5785 GB, free: 32.37 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.244e-06/0.3179, allocations: 0 / 0.5785 GB, free: 32.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02146/0.3394, allocations: 6.714 MB / 0.5851 GB, free: 31.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.3395, allocations: 67.84 kB / 0.5852 GB, free: 31.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008023/0.3403, allocations: 0.7617 MB / 0.5859 GB, free: 30.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.489e-05/0.3404, allocations: 41.2 kB / 0.5859 GB, free: 30.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.3406, allocations: 397 kB / 0.5863 GB, free: 30.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.3408, allocations: 295.8 kB / 0.5866 GB, free: 30.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3409, allocations: 97.34 kB / 0.5867 GB, free: 30.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.341, allocations: 347.7 kB / 0.587 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.3423, allocations: 0.6845 MB / 0.5877 GB, free: 29.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.3437, allocations: 0.8075 MB / 0.5885 GB, free: 29.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/0.3599, allocations: 4.648 MB / 0.593 GB, free: 28.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3599, allocations: 0 / 0.593 GB, free: 28.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01202/0.3719, allocations: 4.325 MB / 0.5972 GB, free: 27.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3719, allocations: 5.906 kB / 0.5972 GB, free: 27.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.372, allocations: 1.969 kB / 0.5973 GB, free: 27.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005587/0.3775, allocations: 1.76 MB / 0.599 GB, free: 26.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/0.3784, allocations: 199.1 kB / 0.5992 GB, free: 26.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/0.3955, allocations: 8.301 MB / 0.6073 GB, free: 23.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.3968, allocations: 181.2 kB / 0.6074 GB, free: 23.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/0.3968, allocations: 36.06 kB / 0.6075 GB, free: 23.01 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * 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 {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000404/0.3973, allocations: 237.1 kB / 0.6077 GB, free: 22.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.3974, allocations: 100.8 kB / 0.6078 GB, free: 22.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/0.409, allocations: 4.144 MB / 0.6118 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.409, allocations: 9.312 kB / 0.6119 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.409, allocations: 0 / 0.6119 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.409, allocations: 4.031 kB / 0.6119 GB, free: 20.84 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 postOpt removeSimpleEquations (simulation): time 0.01178/0.4208, allocations: 5.516 MB / 0.6172 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4208, allocations: 2.438 kB / 0.6172 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.4213, allocations: 111.8 kB / 0.6174 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005002/0.4263, allocations: 1.788 MB / 0.6191 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.4264, allocations: 12 kB / 0.6191 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/0.4395, allocations: 7.399 MB / 0.6263 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4396, allocations: 1.688 kB / 0.6263 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.4514, allocations: 5.089 MB / 0.6313 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.4517, allocations: 187.7 kB / 0.6315 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.4518, allocations: 16 kB / 0.6315 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008258/0.4526, allocations: 119.9 kB / 0.6316 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004804/0.4531, allocations: 160.7 kB / 0.6318 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/0.4532, allocations: 31.92 kB / 0.6318 GB, free: 336 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006142/0.4538, allocations: 0.5146 MB / 0.6323 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4538, allocations: 4 kB / 0.6323 GB, free: 15.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001262/0.4551, allocations: 379.6 kB / 0.6327 GB, free: 15.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01398/0.4691, allocations: 5.653 MB / 0.6382 GB, free: 9.754 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005714/0.4748, allocations: 2.344 MB / 0.6405 GB, free: 7.391 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4748, allocations: 0 / 0.6405 GB, free: 7.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003878/0.4787, allocations: 1.501 MB / 0.6419 GB, free: 5.875 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.4795, allocations: 82.98 kB / 0.642 GB, free: 5.801 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03276/0.5122, allocations: 15.47 MB / 0.6571 GB, free: 6.055 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.5128, allocations: 1.029 MB / 0.6581 GB, free: 4.996 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003445/0.5131, allocations: 93.2 kB / 0.6582 GB, free: 4.906 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/0.5136, allocations: 359.3 kB / 0.6586 GB, free: 4.559 MB / 462.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5136, allocations: 0 / 0.6586 GB, free: 4.559 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.5531, allocations: 26.72 MB / 0.6847 GB, free: 10.22 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.5533, allocations: 212.3 kB / 0.6849 GB, free: 9.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/2.768, allocations: 0 / 0.6849 GB, free: 9.965 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)