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.1725/0.1725, allocations: 12.59 MB / 28.23 MB, free: 0.7617 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.001817/0.001817, allocations: 115.4 kB / 31.84 MB, free: 3.891 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.298/2.298, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.002084/0.002084, allocations: 187.4 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.586/0.586, allocations: 78.52 MB / 419.3 MB, free: 11.23 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.005298/0.005298, allocations: 149 kB / 0.5554 GB, free: 28.66 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.2012, allocations: 68.12 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.011/0.2123, allocations: 5.403 MB / 0.6272 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005539/0.2179, allocations: 1.611 MB / 0.6288 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.2193, allocations: 8 kB / 0.6288 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.2204, allocations: 178.4 kB / 0.6289 GB, free: 8.676 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.2244, allocations: 0.6482 MB / 0.6296 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.2268, allocations: 0.4976 MB / 0.6301 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.2295, allocations: 1.106 MB / 0.6311 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000829/0.2303, allocations: 262.6 kB / 0.6314 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.2317, allocations: 481.9 kB / 0.6318 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.2333, allocations: 0.6145 MB / 0.6324 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004848/0.2338, allocations: 84 kB / 0.6325 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.235, allocations: 219.9 kB / 0.6327 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006543/0.2357, allocations: 243 kB / 0.633 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.2371, allocations: 0.5125 MB / 0.6335 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.2403, allocations: 1.272 MB / 0.6347 GB, free: 2.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.2403, allocations: 0 / 0.6347 GB, free: 2.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2403, allocations: 0 / 0.6347 GB, free: 2.742 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.063e-05/0.2404, allocations: 0 / 0.6347 GB, free: 2.742 MB / 446.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.01267/0.2531, allocations: 2.173 MB / 0.6368 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.2532, allocations: 15.92 kB / 0.6369 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003189/0.2536, allocations: 114.7 kB / 0.637 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007128/0.2607, allocations: 0.6467 MB / 0.6376 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.2624, allocations: 0.6543 MB / 0.6382 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.2627, allocations: 180.1 kB / 0.6384 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002586/0.2629, allocations: 64 kB / 0.6385 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/0.2659, allocations: 0.877 MB / 0.6393 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.266, allocations: 0 / 0.6393 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.2661, allocations: 27.98 kB / 0.6393 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.2661, allocations: 19.94 kB / 0.6394 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/0.2693, allocations: 0.9264 MB / 0.6403 GB, free: 12.91 MB / 462.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.006582/0.2759, allocations: 2.463 MB / 0.6427 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/0.2789, allocations: 1.127 MB / 0.6438 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/0.281, allocations: 0.6615 MB / 0.6444 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.2812, allocations: 20.91 kB / 0.6444 GB, free: 8.449 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.2812, allocations: 39.56 kB / 0.6445 GB, free: 8.402 MB / 462.1 MB Notification: Performance of pre-optimization done (n=83): time 4.107e-06/0.2813, allocations: 0 / 0.6445 GB, free: 8.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=83): time 0.03255/0.3138, allocations: 5.529 MB / 0.6499 GB, free: 2.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.3139, allocations: 60.41 kB / 0.6499 GB, free: 2.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.3154, allocations: 0.7592 MB / 0.6507 GB, free: 2.004 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002135/0.3156, allocations: 41.7 kB / 0.6507 GB, free: 1.957 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.3161, allocations: 396.8 kB / 0.6511 GB, free: 1.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004795/0.3166, allocations: 295.7 kB / 0.6514 GB, free: 1.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006258/0.3172, allocations: 186.8 kB / 0.6516 GB, free: 1.082 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3174, allocations: 353.9 kB / 0.6519 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.3195, allocations: 0.6194 MB / 0.6525 GB, free: 112 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.3219, allocations: 0.7233 MB / 0.6532 GB, free: 15.36 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02556/0.3474, allocations: 4.225 MB / 0.6573 GB, free: 11.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.3475, allocations: 4 kB / 0.6573 GB, free: 11.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01825/0.3658, allocations: 3.579 MB / 0.6608 GB, free: 7.508 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.3658, allocations: 8 kB / 0.6608 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.3659, allocations: 4.125 kB / 0.6608 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008756/0.3746, allocations: 1.515 MB / 0.6623 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.3761, allocations: 183.7 kB / 0.6625 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03004/0.4062, allocations: 8.137 MB / 0.6704 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.4082, allocations: 143.1 kB / 0.6706 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000443/0.4087, allocations: 39.98 kB / 0.6706 GB, free: 13.33 MB / 494.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.0008487/0.4096, allocations: 237.7 kB / 0.6708 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/0.41, allocations: 98.78 kB / 0.6709 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/0.4282, allocations: 3.395 MB / 0.6743 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.219e-05/0.4283, allocations: 15.94 kB / 0.6743 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.4284, allocations: 7.984 kB / 0.6743 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.104e-05/0.4284, allocations: 3.984 kB / 0.6743 GB, free: 9.555 MB / 494.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.02376/0.4522, allocations: 4.776 MB / 0.6789 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/0.4523, allocations: 0 / 0.6789 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009859/0.4533, allocations: 91.88 kB / 0.679 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009189/0.4625, allocations: 1.53 MB / 0.6805 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000298/0.4629, allocations: 19.98 kB / 0.6805 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02789/0.4908, allocations: 7.342 MB / 0.6877 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.4908, allocations: 4 kB / 0.6877 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/0.5123, allocations: 4.272 MB / 0.6919 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.5128, allocations: 187.7 kB / 0.6921 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/0.5132, allocations: 12 kB / 0.6921 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.5147, allocations: 95.83 kB / 0.6922 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009097/0.5156, allocations: 168.5 kB / 0.6923 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.5158, allocations: 23.98 kB / 0.6924 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001119/0.5169, allocations: 0.5107 MB / 0.6929 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5169, allocations: 0 / 0.6929 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001864/0.5188, allocations: 383.6 kB / 0.6932 GB, free: 5.852 MB / 0.4981 GB 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.02229/0.5411, allocations: 4.839 MB / 0.6979 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009877/0.551, allocations: 2.129 MB / 0.7 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.5511, allocations: 0 / 0.7 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006977/0.5581, allocations: 1.345 MB / 0.7013 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.5599, allocations: 82.09 kB / 0.7014 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05543/0.6154, allocations: 13.14 MB / 0.7142 GB, free: 92 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3769/0.9923, allocations: 1.022 MB / 0.7152 GB, free: 86.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008492/0.9932, allocations: 93.5 kB / 0.7153 GB, free: 86.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008699/0.9941, allocations: 363.6 kB / 0.7157 GB, free: 86.77 MB / 0.5137 GB Notification: Performance of SimCode: time 1.793e-06/0.9941, allocations: 0 / 0.7157 GB, free: 86.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09947/1.094, allocations: 30.96 MB / 0.7459 GB, free: 73.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.23/28.33, allocations: 7.812 kB / 0.7459 GB, free: 73.2 MB / 0.5137 GB (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)