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.001249/0.001249, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.273/1.273, allocations: 222.9 MB / 239 MB, free: 4.719 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.001255/0.001255, allocations: 184.4 kB / 289.2 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4285/0.4285, allocations: 78.52 MB / 417.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 76.16 kB / 497 MB, free: 6.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1248, allocations: 68.17 MB / 0.552 GB, free: 2.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.2072/0.332, allocations: 5.618 MB / 0.5574 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.3344, allocations: 1.661 MB / 0.5591 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.3348, allocations: 10.44 kB / 0.5591 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.3352, allocations: 146.8 kB / 0.5592 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.3365, allocations: 0.5648 MB / 0.5598 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.3373, allocations: 470.5 kB / 0.5602 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008517/0.3382, allocations: 1.093 MB / 0.5613 GB, free: 36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.3385, allocations: 266.8 kB / 0.5615 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.3389, allocations: 481.5 kB / 0.562 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005005/0.3395, allocations: 0.6199 MB / 0.5626 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.3396, allocations: 86.22 kB / 0.5627 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.3399, allocations: 222.7 kB / 0.5629 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.3401, allocations: 236.6 kB / 0.5631 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.3404, allocations: 0.5145 MB / 0.5636 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008769/0.3413, allocations: 1.252 MB / 0.5649 GB, free: 35.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3413, allocations: 0 / 0.5649 GB, free: 35.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3413, allocations: 0 / 0.5649 GB, free: 35.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.3413, allocations: 0.5312 kB / 0.5649 GB, free: 35.17 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.006093/0.3474, allocations: 2.187 MB / 0.567 GB, free: 34.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3475, allocations: 9.719 kB / 0.567 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.3476, allocations: 108.1 kB / 0.5671 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003926/0.3515, allocations: 0.6459 MB / 0.5677 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007127/0.3523, allocations: 0.6509 MB / 0.5684 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.3524, allocations: 174.9 kB / 0.5685 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.3525, allocations: 66.69 kB / 0.5686 GB, free: 33.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.3542, allocations: 0.8834 MB / 0.5695 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3542, allocations: 1.094 kB / 0.5695 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.3543, allocations: 27.28 kB / 0.5695 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3543, allocations: 19.28 kB / 0.5695 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.356, allocations: 0.9221 MB / 0.5704 GB, free: 33.72 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.003546/0.3596, allocations: 2.491 MB / 0.5728 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.3612, allocations: 1.115 MB / 0.5739 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.3623, allocations: 0.6578 MB / 0.5746 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-05/0.3624, allocations: 15.25 kB / 0.5746 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.3624, allocations: 40.75 kB / 0.5746 GB, free: 32.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.324e-06/0.3624, allocations: 0 / 0.5746 GB, free: 32.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02088/0.3833, allocations: 5.524 MB / 0.58 GB, free: 31.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.3834, allocations: 64.41 kB / 0.5801 GB, free: 31.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3844, allocations: 0.7638 MB / 0.5808 GB, free: 31.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.3846, allocations: 41.52 kB / 0.5809 GB, free: 31.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.3848, allocations: 402.1 kB / 0.5813 GB, free: 31.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.3851, allocations: 300.1 kB / 0.5815 GB, free: 30.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/0.3855, allocations: 179.2 kB / 0.5817 GB, free: 30.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.3855, allocations: 348.5 kB / 0.582 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.3868, allocations: 0.6194 MB / 0.5826 GB, free: 30.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.3881, allocations: 0.7352 MB / 0.5834 GB, free: 29.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01614/0.4043, allocations: 4.234 MB / 0.5875 GB, free: 28.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.4043, allocations: 0 / 0.5875 GB, free: 28.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01159/0.4159, allocations: 3.58 MB / 0.591 GB, free: 27.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.416, allocations: 6.875 kB / 0.591 GB, free: 27.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.416, allocations: 2.922 kB / 0.591 GB, free: 27.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005609/0.4216, allocations: 1.509 MB / 0.5925 GB, free: 27.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.4227, allocations: 185.3 kB / 0.5927 GB, free: 27.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/0.4403, allocations: 8.169 MB / 0.6006 GB, free: 23.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.4417, allocations: 139.6 kB / 0.6008 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-05/0.4418, allocations: 40.67 kB / 0.6008 GB, free: 23.56 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.0004072/0.4422, allocations: 237.2 kB / 0.601 GB, free: 23.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.4424, allocations: 98.38 kB / 0.6011 GB, free: 23.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/0.4533, allocations: 3.405 MB / 0.6044 GB, free: 22.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.4533, allocations: 14.78 kB / 0.6045 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4533, allocations: 0 / 0.6045 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.4533, allocations: 4.875 kB / 0.6045 GB, free: 22.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 postOpt removeSimpleEquations (simulation): time 0.01221/0.4656, allocations: 4.776 MB / 0.6091 GB, free: 19.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.4656, allocations: 1.25 kB / 0.6091 GB, free: 19.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/0.4662, allocations: 99.31 kB / 0.6092 GB, free: 19.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005412/0.4716, allocations: 1.533 MB / 0.6107 GB, free: 18.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.4718, allocations: 19.98 kB / 0.6107 GB, free: 18.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.4859, allocations: 7.344 MB / 0.6179 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4859, allocations: 3.984 kB / 0.6179 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/0.4973, allocations: 4.283 MB / 0.6221 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.4977, allocations: 179.7 kB / 0.6223 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.4979, allocations: 17.38 kB / 0.6223 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008152/0.4987, allocations: 87.84 kB / 0.6224 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005474/0.4993, allocations: 176.5 kB / 0.6225 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.4993, allocations: 20 kB / 0.6226 GB, free: 6.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005449/0.4999, allocations: 0.5146 MB / 0.6231 GB, free: 6.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4999, allocations: 0 / 0.6231 GB, free: 6.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001097/0.501, allocations: 375.6 kB / 0.6234 GB, free: 5.734 MB / 430.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.0116/0.5126, allocations: 4.851 MB / 0.6282 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005896/0.5185, allocations: 2.178 MB / 0.6303 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5186, allocations: 0 / 0.6303 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003904/0.5225, allocations: 1.342 MB / 0.6316 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/0.5235, allocations: 77.53 kB / 0.6317 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03264/0.5561, allocations: 13.85 MB / 0.6452 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.5567, allocations: 1.025 MB / 0.6462 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003911/0.5571, allocations: 89.77 kB / 0.6463 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.5576, allocations: 363.3 kB / 0.6466 GB, free: 13.61 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5576, allocations: 0 / 0.6466 GB, free: 13.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04688/0.6044, allocations: 28.45 MB / 0.6744 GB, free: 1.562 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.6047, allocations: 207.9 kB / 0.6746 GB, free: 1.309 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.076, allocations: 0 / 0.6746 GB, free: 1.309 MB / 478.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)