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.006338/0.006338, allocations: 101 kB / 15.73 MB, free: 6.059 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.4/1.4, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001539/0.001539, allocations: 188.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4805/0.4805, allocations: 78.53 MB / 418.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 80.09 kB / 0.5532 GB, free: 1.449 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3536, allocations: 68.16 MB / 0.6197 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.005049/0.3587, allocations: 5.372 MB / 0.625 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.3615, allocations: 1.638 MB / 0.6266 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/0.362, allocations: 8 kB / 0.6266 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000496/0.3625, allocations: 178.4 kB / 0.6267 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.3639, allocations: 0.6389 MB / 0.6274 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000897/0.3648, allocations: 0.5109 MB / 0.6279 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008692/0.3657, allocations: 1.102 MB / 0.6289 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000328/0.366, allocations: 258.6 kB / 0.6292 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.3665, allocations: 477.9 kB / 0.6296 GB, free: 156 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008017/0.3673, allocations: 0.6184 MB / 0.6303 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.3675, allocations: 84 kB / 0.6303 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.368, allocations: 219.8 kB / 0.6305 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.3683, allocations: 247 kB / 0.6308 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.3688, allocations: 0.5009 MB / 0.6313 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.3705, allocations: 1.285 MB / 0.6325 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3705, allocations: 0 / 0.6325 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3705, allocations: 4 kB / 0.6325 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.3705, allocations: 4 kB / 0.6325 GB, free: 13.19 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.007829/0.3784, allocations: 2.208 MB / 0.6347 GB, free: 10.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.442e-05/0.3785, allocations: 8.031 kB / 0.6347 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.3786, allocations: 106.7 kB / 0.6348 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004201/0.3828, allocations: 0.6552 MB / 0.6354 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.3839, allocations: 0.659 MB / 0.6361 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.3842, allocations: 184.1 kB / 0.6363 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3843, allocations: 60 kB / 0.6363 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.3863, allocations: 0.8847 MB / 0.6372 GB, free: 8.289 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3863, allocations: 0 / 0.6372 GB, free: 8.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.3864, allocations: 24 kB / 0.6372 GB, free: 8.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.3865, allocations: 19.94 kB / 0.6372 GB, free: 8.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.3886, allocations: 0.9186 MB / 0.6381 GB, free: 7.328 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.004539/0.3932, allocations: 2.479 MB / 0.6405 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.3954, allocations: 1.122 MB / 0.6416 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.3968, allocations: 0.6523 MB / 0.6423 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.3969, allocations: 16.98 kB / 0.6423 GB, free: 2.867 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.397, allocations: 43.56 kB / 0.6423 GB, free: 2.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.534e-06/0.397, allocations: 0 / 0.6423 GB, free: 2.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.02309/0.4201, allocations: 5.533 MB / 0.6477 GB, free: 13.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.4202, allocations: 64.41 kB / 0.6478 GB, free: 13.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.4214, allocations: 0.7708 MB / 0.6485 GB, free: 12.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.4216, allocations: 41.7 kB / 0.6486 GB, free: 12.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.4219, allocations: 405.2 kB / 0.649 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/0.4223, allocations: 309.3 kB / 0.6493 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/0.4227, allocations: 186.9 kB / 0.6494 GB, free: 11.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4229, allocations: 345.9 kB / 0.6498 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.4244, allocations: 0.6155 MB / 0.6504 GB, free: 10.49 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.426, allocations: 0.735 MB / 0.6511 GB, free: 9.734 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01775/0.4437, allocations: 4.214 MB / 0.6552 GB, free: 5.492 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.4438, allocations: 0 / 0.6552 GB, free: 5.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01232/0.4561, allocations: 3.599 MB / 0.6587 GB, free: 1.883 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.4562, allocations: 4 kB / 0.6587 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4562, allocations: 0 / 0.6587 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005888/0.4621, allocations: 1.511 MB / 0.6602 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.4631, allocations: 183.7 kB / 0.6604 GB, free: 188 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/0.4833, allocations: 8.156 MB / 0.6683 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.4848, allocations: 147.5 kB / 0.6685 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.4849, allocations: 35.98 kB / 0.6685 GB, free: 7.695 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.0004636/0.4854, allocations: 242.1 kB / 0.6687 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.4856, allocations: 99.34 kB / 0.6688 GB, free: 7.352 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/0.4975, allocations: 3.407 MB / 0.6722 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.4976, allocations: 11.94 kB / 0.6722 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4976, allocations: 4 kB / 0.6722 GB, free: 3.914 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.4976, allocations: 7.922 kB / 0.6722 GB, free: 3.906 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.01412/0.5117, allocations: 4.773 MB / 0.6768 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.5118, allocations: 0 / 0.6768 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006177/0.5124, allocations: 99.88 kB / 0.6769 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006008/0.5184, allocations: 1.53 MB / 0.6784 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/0.5186, allocations: 12 kB / 0.6785 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/0.5367, allocations: 7.358 MB / 0.6856 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5368, allocations: 0 / 0.6856 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/0.5512, allocations: 4.276 MB / 0.6898 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/0.5517, allocations: 188.3 kB / 0.69 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.5519, allocations: 16 kB / 0.69 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009722/0.5529, allocations: 87.83 kB / 0.6901 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006792/0.5536, allocations: 168.8 kB / 0.6903 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.121e-05/0.5537, allocations: 23.98 kB / 0.6903 GB, free: 1.074 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008371/0.5545, allocations: 0.5146 MB / 0.6908 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.256e-06/0.5545, allocations: 0 / 0.6908 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001432/0.556, allocations: 387.6 kB / 0.6911 GB, free: 188 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.01448/0.5704, allocations: 4.851 MB / 0.6959 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006059/0.5765, allocations: 2.152 MB / 0.698 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5766, allocations: 0 / 0.698 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004182/0.5808, allocations: 1.345 MB / 0.6993 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/0.5816, allocations: 78.25 kB / 0.6994 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03761/0.6192, allocations: 13.16 MB / 0.7122 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/0.62, allocations: 1.029 MB / 0.7132 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004132/0.6204, allocations: 89.62 kB / 0.7133 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/0.621, allocations: 363.3 kB / 0.7137 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.621, allocations: 0 / 0.7137 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07221/0.6932, allocations: 29.77 MB / 0.7427 GB, free: 11.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/15.87, allocations: 5.875 kB / 0.7427 GB, free: 11.21 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)