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.007783/0.007783, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.321/1.321, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001265/0.001265, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4427/0.4427, allocations: 78.53 MB / 418.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001543, allocations: 80.09 kB / 0.5532 GB, free: 1.457 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2846, allocations: 68.16 MB / 0.6197 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.004633/0.2893, allocations: 5.36 MB / 0.625 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.292, allocations: 1.642 MB / 0.6266 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/0.2924, allocations: 8 kB / 0.6266 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.2928, allocations: 182.4 kB / 0.6267 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.2943, allocations: 0.6842 MB / 0.6274 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009708/0.2953, allocations: 0.4968 MB / 0.6279 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009673/0.2963, allocations: 1.105 MB / 0.629 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.2967, allocations: 262.6 kB / 0.6292 GB, free: 412 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.2972, allocations: 474 kB / 0.6297 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000709/0.2979, allocations: 0.6223 MB / 0.6303 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.298, allocations: 84 kB / 0.6304 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.2984, allocations: 219.9 kB / 0.6306 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.2987, allocations: 239 kB / 0.6308 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.2991, allocations: 0.5086 MB / 0.6313 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3003, allocations: 1.275 MB / 0.6325 GB, free: 12.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3003, allocations: 0 / 0.6325 GB, free: 12.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3003, allocations: 4 kB / 0.6325 GB, free: 12.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.3003, allocations: 0 / 0.6325 GB, free: 12.99 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.006633/0.3069, allocations: 2.166 MB / 0.6347 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.307, allocations: 12.03 kB / 0.6347 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.3071, allocations: 114.6 kB / 0.6348 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/0.3113, allocations: 0.6429 MB / 0.6354 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009372/0.3122, allocations: 0.6543 MB / 0.636 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.3124, allocations: 176.1 kB / 0.6362 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.3125, allocations: 75.84 kB / 0.6363 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.3143, allocations: 0.8847 MB / 0.6372 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3143, allocations: 0 / 0.6372 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.3144, allocations: 28 kB / 0.6372 GB, free: 8.102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.3145, allocations: 15.94 kB / 0.6372 GB, free: 8.086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.3164, allocations: 0.9225 MB / 0.6381 GB, free: 7.164 MB / 446.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.004127/0.3205, allocations: 2.463 MB / 0.6405 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.3224, allocations: 1.122 MB / 0.6416 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.3237, allocations: 0.6562 MB / 0.6422 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.3238, allocations: 12.98 kB / 0.6422 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.3238, allocations: 43.56 kB / 0.6423 GB, free: 2.668 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.655e-06/0.3238, allocations: 0 / 0.6423 GB, free: 2.668 MB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.02179/0.3456, allocations: 5.544 MB / 0.6477 GB, free: 13.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3457, allocations: 64.34 kB / 0.6478 GB, free: 13.01 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3468, allocations: 0.7592 MB / 0.6485 GB, free: 12.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.3469, allocations: 45.7 kB / 0.6485 GB, free: 12.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.3472, allocations: 396.8 kB / 0.6489 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/0.3475, allocations: 295.7 kB / 0.6492 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003911/0.3479, allocations: 186.8 kB / 0.6494 GB, free: 11.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.348, allocations: 345.9 kB / 0.6497 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.3494, allocations: 0.6194 MB / 0.6503 GB, free: 10.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.3508, allocations: 0.7271 MB / 0.651 GB, free: 9.605 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01722/0.3681, allocations: 4.221 MB / 0.6552 GB, free: 5.355 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.3681, allocations: 0 / 0.6552 GB, free: 5.355 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01152/0.3796, allocations: 3.587 MB / 0.6587 GB, free: 1.758 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.3797, allocations: 8 kB / 0.6587 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.3797, allocations: 7.984 kB / 0.6587 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005507/0.3852, allocations: 1.511 MB / 0.6601 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3863, allocations: 183.8 kB / 0.6603 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/0.4046, allocations: 8.153 MB / 0.6683 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.406, allocations: 143.1 kB / 0.6684 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.4062, allocations: 35.98 kB / 0.6685 GB, free: 7.566 MB / 478.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.000507/0.4067, allocations: 236 kB / 0.6687 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.4069, allocations: 94.78 kB / 0.6688 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/0.4181, allocations: 3.411 MB / 0.6721 GB, free: 3.809 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.4181, allocations: 11.94 kB / 0.6721 GB, free: 3.797 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4181, allocations: 4 kB / 0.6721 GB, free: 3.793 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.4182, allocations: 3.984 kB / 0.6721 GB, free: 3.789 MB / 478.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.01301/0.4312, allocations: 4.769 MB / 0.6768 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.4312, allocations: 0 / 0.6768 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.4319, allocations: 99.88 kB / 0.6769 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005665/0.4375, allocations: 1.53 MB / 0.6784 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/0.4378, allocations: 16 kB / 0.6784 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/0.4545, allocations: 7.345 MB / 0.6856 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4545, allocations: 0 / 0.6856 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/0.4674, allocations: 4.268 MB / 0.6897 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.4678, allocations: 191.7 kB / 0.6899 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.468, allocations: 12 kB / 0.6899 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/0.4689, allocations: 87.83 kB / 0.69 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006039/0.4696, allocations: 168.8 kB / 0.6902 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.4697, allocations: 23.98 kB / 0.6902 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000688/0.4704, allocations: 0.5146 MB / 0.6907 GB, free: 476 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.4704, allocations: 0 / 0.6907 GB, free: 476 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001156/0.4715, allocations: 387.5 kB / 0.6911 GB, free: 88 kB / 494.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.01288/0.4844, allocations: 4.849 MB / 0.6958 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005563/0.49, allocations: 2.12 MB / 0.6979 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.49, allocations: 0 / 0.6979 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00372/0.4938, allocations: 1.349 MB / 0.6992 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/0.4946, allocations: 75.3 kB / 0.6993 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03261/0.5273, allocations: 13.13 MB / 0.7121 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.5279, allocations: 1.029 MB / 0.7131 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003721/0.5283, allocations: 93.62 kB / 0.7132 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.5288, allocations: 363.3 kB / 0.7135 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of SimCode: time 7.92e-07/0.5288, allocations: 0 / 0.7135 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06015/0.589, allocations: 29.75 MB / 0.7426 GB, free: 11.19 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.45, allocations: 5.828 kB / 0.7426 GB, free: 11.19 MB / 0.545 GB (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)