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-master/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-master/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-master/package.mo): time 0.07749/0.07749, allocations: 12.6 MB / 28.1 MB, free: 388 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 107.5 kB / 31.7 MB, free: 3.535 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.329/1.329, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001645/0.001645, allocations: 188.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4266/0.4266, allocations: 78.51 MB / 419.2 MB, free: 11.36 MB / 302.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.00295/0.00295, allocations: 144.6 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2848, allocations: 68.11 MB / 0.5547 GB, free: 32.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.005848/0.2907, allocations: 5.4 MB / 0.56 GB, free: 28.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.2943, allocations: 1.606 MB / 0.5615 GB, free: 27.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007282/0.2951, allocations: 7.812 kB / 0.5615 GB, free: 27.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005627/0.2957, allocations: 191.4 kB / 0.5617 GB, free: 27.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.2974, allocations: 0.6409 MB / 0.5623 GB, free: 26.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.2984, allocations: 0.4955 MB / 0.5628 GB, free: 26.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.2995, allocations: 1.094 MB / 0.5639 GB, free: 25.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.2999, allocations: 264 kB / 0.5641 GB, free: 25.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005037/0.3005, allocations: 474.8 kB / 0.5646 GB, free: 25.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/0.301, allocations: 0.6173 MB / 0.5652 GB, free: 24.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.3012, allocations: 85.56 kB / 0.5653 GB, free: 24.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004956/0.3017, allocations: 222.5 kB / 0.5655 GB, free: 24.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.3019, allocations: 247.4 kB / 0.5657 GB, free: 24.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.3023, allocations: 0.5112 MB / 0.5662 GB, free: 24.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.3034, allocations: 1.244 MB / 0.5674 GB, free: 23.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3034, allocations: 0 / 0.5674 GB, free: 23.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3035, allocations: 1.844 kB / 0.5674 GB, free: 23.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.3035, allocations: 0 / 0.5674 GB, free: 23.33 MB / 398.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.006916/0.3104, allocations: 2.177 MB / 0.5696 GB, free: 21.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.3105, allocations: 13.08 kB / 0.5696 GB, free: 21.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.3106, allocations: 111.2 kB / 0.5697 GB, free: 21.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004136/0.3148, allocations: 0.6525 MB / 0.5703 GB, free: 21.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008556/0.3156, allocations: 0.6481 MB / 0.571 GB, free: 21.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.3158, allocations: 182.4 kB / 0.5711 GB, free: 20.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.3159, allocations: 65.78 kB / 0.5712 GB, free: 20.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.3177, allocations: 0.887 MB / 0.5721 GB, free: 20.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.3177, allocations: 0 / 0.5721 GB, free: 20.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.628e-05/0.3178, allocations: 25.58 kB / 0.5721 GB, free: 20.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.3178, allocations: 19 kB / 0.5721 GB, free: 20.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.3197, allocations: 0.9215 MB / 0.573 GB, free: 19.88 MB / 398.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.004139/0.3239, allocations: 2.479 MB / 0.5754 GB, free: 17.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.3255, allocations: 1.131 MB / 0.5765 GB, free: 16.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.3267, allocations: 0.6601 MB / 0.5772 GB, free: 16.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.758e-05/0.3268, allocations: 12.98 kB / 0.5772 GB, free: 16.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3268, allocations: 51.55 kB / 0.5772 GB, free: 15.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.935e-06/0.3268, allocations: 0 / 0.5772 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02064/0.3475, allocations: 5.525 MB / 0.5826 GB, free: 10.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3475, allocations: 60.41 kB / 0.5827 GB, free: 10.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009052/0.3485, allocations: 0.7592 MB / 0.5834 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.3486, allocations: 45.7 kB / 0.5835 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.3488, allocations: 404.7 kB / 0.5839 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.3491, allocations: 295.7 kB / 0.5841 GB, free: 8.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.3494, allocations: 186.8 kB / 0.5843 GB, free: 8.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.3495, allocations: 345.9 kB / 0.5846 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3506, allocations: 0.6155 MB / 0.5853 GB, free: 7.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.3519, allocations: 0.735 MB / 0.586 GB, free: 6.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01607/0.368, allocations: 4.233 MB / 0.5901 GB, free: 2.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.368, allocations: 0 / 0.5901 GB, free: 2.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01107/0.3791, allocations: 3.583 MB / 0.5936 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.3792, allocations: 11.98 kB / 0.5936 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3792, allocations: 0 / 0.5936 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005841/0.3851, allocations: 1.511 MB / 0.5951 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.3861, allocations: 187.7 kB / 0.5953 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/0.4051, allocations: 8.163 MB / 0.6032 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.4066, allocations: 139.1 kB / 0.6034 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.4068, allocations: 35.98 kB / 0.6034 GB, free: 4.863 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.0005485/0.4073, allocations: 240.5 kB / 0.6036 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.4076, allocations: 98.78 kB / 0.6037 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.419, allocations: 3.399 MB / 0.607 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.4191, allocations: 11.94 kB / 0.6071 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4191, allocations: 7.938 kB / 0.6071 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.4191, allocations: 3.984 kB / 0.6071 GB, free: 1.086 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.01374/0.4329, allocations: 4.771 MB / 0.6117 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.4329, allocations: 0 / 0.6117 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/0.4336, allocations: 95.88 kB / 0.6118 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005906/0.4396, allocations: 1.539 MB / 0.6133 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/0.4398, allocations: 16 kB / 0.6133 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/0.4567, allocations: 7.358 MB / 0.6205 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4567, allocations: 0 / 0.6205 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/0.4703, allocations: 4.271 MB / 0.6247 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.4707, allocations: 183.7 kB / 0.6249 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.471, allocations: 16 kB / 0.6249 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.4721, allocations: 87.83 kB / 0.625 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006129/0.4727, allocations: 164.8 kB / 0.6251 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.13e-05/0.4728, allocations: 23.98 kB / 0.6252 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007007/0.4735, allocations: 0.5224 MB / 0.6257 GB, free: 13.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4735, allocations: 3.938 kB / 0.6257 GB, free: 13.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001283/0.4748, allocations: 379.6 kB / 0.626 GB, free: 13.37 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.01382/0.4887, allocations: 4.835 MB / 0.6307 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006351/0.4951, allocations: 2.183 MB / 0.6329 GB, free: 6.301 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4951, allocations: 0 / 0.6329 GB, free: 6.301 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004108/0.4992, allocations: 1.341 MB / 0.6342 GB, free: 4.957 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.5003, allocations: 79.3 kB / 0.6343 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03454/0.5349, allocations: 13.54 MB / 0.6475 GB, free: 7.035 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/0.5356, allocations: 1.025 MB / 0.6485 GB, free: 5.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004818/0.5361, allocations: 97.62 kB / 0.6486 GB, free: 5.883 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/0.5366, allocations: 363.3 kB / 0.6489 GB, free: 5.527 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5366, allocations: 3.938 kB / 0.6489 GB, free: 5.523 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06178/0.5984, allocations: 29.41 MB / 0.6776 GB, free: 8.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.3, allocations: 18.81 kB / 0.6777 GB, free: 8.156 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)