Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07887/0.07887, allocations: 12.2 MB / 27.32 MB, free: 1.445 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 116.3 kB / 30.83 MB, free: 4.715 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 239.3 MB, free: 11.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 184.5 kB / 289.5 MB, free: 15.9 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4224/0.4224, allocations: 78.51 MB / 418 MB, free: 31.82 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 143.8 kB / 498.3 MB, free: 0.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3302, allocations: 68.03 MB / 0.5531 GB, free: 37.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.004738/0.3349, allocations: 5.672 MB / 0.5586 GB, free: 33.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.3377, allocations: 1.647 MB / 0.5602 GB, free: 32.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.3381, allocations: 9 kB / 0.5602 GB, free: 32.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.3385, allocations: 132.5 kB / 0.5604 GB, free: 32.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.3396, allocations: 0.5894 MB / 0.5609 GB, free: 32.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008008/0.3404, allocations: 473.6 kB / 0.5614 GB, free: 31.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007199/0.3411, allocations: 1.048 MB / 0.5624 GB, free: 31.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.3414, allocations: 242.6 kB / 0.5626 GB, free: 31.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.3418, allocations: 436.6 kB / 0.5631 GB, free: 30.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.3423, allocations: 0.5943 MB / 0.5636 GB, free: 30.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.3424, allocations: 54.41 kB / 0.5637 GB, free: 30.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.3427, allocations: 181.5 kB / 0.5639 GB, free: 30.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.3429, allocations: 217 kB / 0.5641 GB, free: 30.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.3432, allocations: 489.1 kB / 0.5645 GB, free: 30.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007569/0.3439, allocations: 1.216 MB / 0.5657 GB, free: 29.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3439, allocations: 0 / 0.5657 GB, free: 29.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.3439, allocations: 2.312 kB / 0.5657 GB, free: 29.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.344, allocations: 0 / 0.5657 GB, free: 29.69 MB / 414.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.006063/0.35, allocations: 2.172 MB / 0.5678 GB, free: 28.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3501, allocations: 12.27 kB / 0.5679 GB, free: 28.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.3502, allocations: 111.4 kB / 0.568 GB, free: 28.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/0.3541, allocations: 0.647 MB / 0.5686 GB, free: 28.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007971/0.3549, allocations: 0.6638 MB / 0.5692 GB, free: 27.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.355, allocations: 174.3 kB / 0.5694 GB, free: 27.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.3551, allocations: 66 kB / 0.5695 GB, free: 27.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.3568, allocations: 0.883 MB / 0.5703 GB, free: 27.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3568, allocations: 0 / 0.5703 GB, free: 27.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.385e-05/0.3569, allocations: 25.25 kB / 0.5704 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3569, allocations: 19.69 kB / 0.5704 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.3586, allocations: 0.9274 MB / 0.5713 GB, free: 27.15 MB / 414.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.003633/0.3622, allocations: 2.484 MB / 0.5737 GB, free: 25.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.3638, allocations: 1.129 MB / 0.5748 GB, free: 25.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.365, allocations: 0.6522 MB / 0.5754 GB, free: 24.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.65e-05/0.3651, allocations: 17.39 kB / 0.5755 GB, free: 24.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.3651, allocations: 40.12 kB / 0.5755 GB, free: 24.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.465e-06/0.3651, allocations: 0 / 0.5755 GB, free: 24.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.02185/0.387, allocations: 5.529 MB / 0.5809 GB, free: 23.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3871, allocations: 61.27 kB / 0.581 GB, free: 23.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3882, allocations: 0.7616 MB / 0.5817 GB, free: 23.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002042/0.3884, allocations: 45.7 kB / 0.5817 GB, free: 23.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.3887, allocations: 398 kB / 0.5821 GB, free: 22.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.3889, allocations: 296.6 kB / 0.5824 GB, free: 22.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.3893, allocations: 182.9 kB / 0.5826 GB, free: 22.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.3894, allocations: 352.3 kB / 0.5829 GB, free: 22.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.3907, allocations: 0.6216 MB / 0.5835 GB, free: 22.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.3921, allocations: 0.7317 MB / 0.5842 GB, free: 21.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/0.4082, allocations: 4.217 MB / 0.5884 GB, free: 19.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.4082, allocations: 5.062 kB / 0.5884 GB, free: 19.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01086/0.4191, allocations: 3.581 MB / 0.5919 GB, free: 17.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.4192, allocations: 5.312 kB / 0.5919 GB, free: 17.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.4192, allocations: 6.188 kB / 0.5919 GB, free: 17.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005337/0.4245, allocations: 1.523 MB / 0.5934 GB, free: 17.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.4255, allocations: 183.7 kB / 0.5935 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/0.4401, allocations: 7.509 MB / 0.6009 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.4415, allocations: 143.1 kB / 0.601 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/0.4416, allocations: 32 kB / 0.601 GB, free: 9.32 MB / 414.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.0004125/0.442, allocations: 242 kB / 0.6013 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.4422, allocations: 94.78 kB / 0.6014 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009812/0.452, allocations: 3.399 MB / 0.6047 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.4521, allocations: 15.88 kB / 0.6047 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4521, allocations: 0 / 0.6047 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.4521, allocations: 7.922 kB / 0.6047 GB, free: 5.543 MB / 414.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.01159/0.4637, allocations: 4.771 MB / 0.6094 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.4638, allocations: 0 / 0.6094 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/0.4644, allocations: 99.86 kB / 0.6095 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00543/0.4698, allocations: 1.535 MB / 0.6109 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/0.47, allocations: 12 kB / 0.611 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01587/0.4859, allocations: 6.709 MB / 0.6175 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.486, allocations: 0 / 0.6175 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/0.499, allocations: 4.286 MB / 0.6217 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/0.4994, allocations: 183.8 kB / 0.6219 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/0.4997, allocations: 12 kB / 0.6219 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.5008, allocations: 87.89 kB / 0.622 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006746/0.5015, allocations: 172.5 kB / 0.6221 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.5016, allocations: 20 kB / 0.6222 GB, free: 3.367 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008084/0.5024, allocations: 0.5107 MB / 0.6227 GB, free: 2.859 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.353e-06/0.5024, allocations: 0 / 0.6227 GB, free: 2.859 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001367/0.5038, allocations: 383.5 kB / 0.623 GB, free: 2.484 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.01334/0.5171, allocations: 4.844 MB / 0.6277 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005868/0.5231, allocations: 2.093 MB / 0.6298 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5231, allocations: 0 / 0.6298 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004012/0.5271, allocations: 1.312 MB / 0.6311 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.5282, allocations: 83.23 kB / 0.6312 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03444/0.5626, allocations: 13.87 MB / 0.6447 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.5634, allocations: 1.017 MB / 0.6457 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004993/0.5639, allocations: 93.62 kB / 0.6458 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005784/0.5645, allocations: 363.3 kB / 0.6461 GB, free: 10.42 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5645, allocations: 0 / 0.6461 GB, free: 10.42 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06944/0.6339, allocations: 27.24 MB / 0.6727 GB, free: 15.24 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.6342, allocations: 223.3 kB / 0.6729 GB, free: 14.97 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.219, allocations: 3.938 kB / 0.6729 GB, free: 14.97 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)