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.08305/0.08305, allocations: 12.2 MB / 27.43 MB, free: 1.402 MB / 19.64 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009815, allocations: 120.4 kB / 30.94 MB, free: 4.668 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.444/1.444, allocations: 205.1 MB / 239.4 MB, free: 10.92 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.001468/0.001468, allocations: 196.4 kB / 289.6 MB, free: 15.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4626/0.4626, allocations: 78.5 MB / 418.1 MB, free: 31.75 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.002714/0.002714, allocations: 131.8 kB / 498.5 MB, free: 436 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3922, allocations: 68.04 MB / 0.5533 GB, free: 37.64 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.005382/0.3977, allocations: 5.666 MB / 0.5588 GB, free: 33.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002881/0.4006, allocations: 1.635 MB / 0.5604 GB, free: 32.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.401, allocations: 7.594 kB / 0.5604 GB, free: 32.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.4015, allocations: 139.8 kB / 0.5605 GB, free: 32.29 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.4028, allocations: 0.5665 MB / 0.5611 GB, free: 31.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008289/0.4036, allocations: 470.3 kB / 0.5615 GB, free: 31.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008864/0.4045, allocations: 1.098 MB / 0.5626 GB, free: 31.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.405, allocations: 267.9 kB / 0.5629 GB, free: 30.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.4055, allocations: 477.3 kB / 0.5633 GB, free: 30.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006417/0.4062, allocations: 0.6208 MB / 0.5639 GB, free: 30.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.4063, allocations: 86.91 kB / 0.564 GB, free: 30.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.4067, allocations: 219.9 kB / 0.5642 GB, free: 30.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.4069, allocations: 248.3 kB / 0.5645 GB, free: 30.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003377/0.4073, allocations: 0.5098 MB / 0.565 GB, free: 29.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009504/0.4082, allocations: 1.25 MB / 0.5662 GB, free: 29.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4083, allocations: 0 / 0.5662 GB, free: 29.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4083, allocations: 0 / 0.5662 GB, free: 29.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.4083, allocations: 0 / 0.5662 GB, free: 29.34 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.006313/0.4146, allocations: 2.182 MB / 0.5683 GB, free: 28.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.4147, allocations: 11.83 kB / 0.5683 GB, free: 28.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.4148, allocations: 112 kB / 0.5684 GB, free: 28.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003815/0.4186, allocations: 0.6535 MB / 0.5691 GB, free: 28.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007881/0.4194, allocations: 0.6525 MB / 0.5697 GB, free: 27.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.4196, allocations: 176.9 kB / 0.5699 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.4197, allocations: 63.59 kB / 0.5699 GB, free: 27.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.4214, allocations: 0.8827 MB / 0.5708 GB, free: 27.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.4214, allocations: 0 / 0.5708 GB, free: 27.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-05/0.4215, allocations: 29.22 kB / 0.5708 GB, free: 27.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.4215, allocations: 19.62 kB / 0.5708 GB, free: 27.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.4233, allocations: 0.9203 MB / 0.5717 GB, free: 26.8 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.003915/0.4272, allocations: 2.477 MB / 0.5742 GB, free: 25.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.429, allocations: 1.128 MB / 0.5753 GB, free: 24.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.4303, allocations: 0.6568 MB / 0.5759 GB, free: 24.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.4304, allocations: 18 kB / 0.5759 GB, free: 24.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.4304, allocations: 43.92 kB / 0.576 GB, free: 24.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.385e-06/0.4304, allocations: 0 / 0.576 GB, free: 24.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.02348/0.4539, allocations: 5.525 MB / 0.5814 GB, free: 23.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.454, allocations: 61.59 kB / 0.5814 GB, free: 23.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4554, allocations: 0.7618 MB / 0.5822 GB, free: 22.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.4556, allocations: 40.89 kB / 0.5822 GB, free: 22.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002938/0.4559, allocations: 398.5 kB / 0.5826 GB, free: 22.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.4562, allocations: 303.2 kB / 0.5829 GB, free: 22.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/0.4566, allocations: 185.3 kB / 0.583 GB, free: 22.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4567, allocations: 346.3 kB / 0.5834 GB, free: 21.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.4582, allocations: 0.6221 MB / 0.584 GB, free: 21.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.4597, allocations: 0.7327 MB / 0.5847 GB, free: 21.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/0.4768, allocations: 4.23 MB / 0.5888 GB, free: 19.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.4768, allocations: 1.375 kB / 0.5888 GB, free: 19.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01178/0.4886, allocations: 3.588 MB / 0.5923 GB, free: 17.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.4887, allocations: 5.531 kB / 0.5923 GB, free: 17.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.4887, allocations: 1.344 kB / 0.5923 GB, free: 17.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005697/0.4944, allocations: 1.522 MB / 0.5938 GB, free: 16.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.4956, allocations: 190.7 kB / 0.594 GB, free: 16.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/0.5126, allocations: 8.153 MB / 0.602 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.5142, allocations: 147 kB / 0.6021 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.5144, allocations: 35.98 kB / 0.6021 GB, free: 8.289 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.0006878/0.5151, allocations: 234.1 kB / 0.6024 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.5155, allocations: 98.78 kB / 0.6025 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/0.5259, allocations: 3.399 MB / 0.6058 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.526, allocations: 11.94 kB / 0.6058 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.526, allocations: 0 / 0.6058 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/0.526, allocations: 3.984 kB / 0.6058 GB, free: 4.523 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.01263/0.5387, allocations: 4.783 MB / 0.6105 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.5388, allocations: 0 / 0.6105 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/0.5394, allocations: 95.88 kB / 0.6106 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005644/0.5451, allocations: 1.543 MB / 0.6121 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/0.5453, allocations: 16 kB / 0.6121 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/0.5633, allocations: 7.346 MB / 0.6193 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5634, allocations: 4 kB / 0.6193 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/0.5771, allocations: 4.271 MB / 0.6234 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.5776, allocations: 183.7 kB / 0.6236 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/0.578, allocations: 16 kB / 0.6236 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.5792, allocations: 91.73 kB / 0.6237 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007/0.5799, allocations: 168.8 kB / 0.6239 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.5801, allocations: 23.98 kB / 0.6239 GB, free: 1.684 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008772/0.581, allocations: 0.5146 MB / 0.6244 GB, free: 1.172 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.581, allocations: 0 / 0.6244 GB, free: 1.172 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001637/0.5826, allocations: 379.7 kB / 0.6248 GB, free: 0.8008 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.01393/0.5966, allocations: 4.847 MB / 0.6295 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006583/0.6032, allocations: 2.179 MB / 0.6316 GB, free: 9.727 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6032, allocations: 0 / 0.6316 GB, free: 9.727 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004189/0.6074, allocations: 1.345 MB / 0.6329 GB, free: 8.379 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.6087, allocations: 79.3 kB / 0.633 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0377/0.6464, allocations: 13.86 MB / 0.6465 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.6479, allocations: 1.021 MB / 0.6475 GB, free: 9.078 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007835/0.6487, allocations: 93.62 kB / 0.6476 GB, free: 8.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008886/0.6496, allocations: 363.3 kB / 0.648 GB, free: 8.629 MB / 462.1 MB Notification: Performance of SimCode: time 2.746e-06/0.6496, allocations: 4 kB / 0.648 GB, free: 8.625 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07692/0.7266, allocations: 28.45 MB / 0.6758 GB, free: 12.25 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003517/0.727, allocations: 219.4 kB / 0.676 GB, free: 12 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/3.551, allocations: 0 / 0.676 GB, free: 12 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)