Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Controls.Test.TestDerivativeLag,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDerivativeLag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDerivativeLag,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDerivativeLag",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.2 MB / 218.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009375/0.0009374, allocations: 85.89 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05992/0.05992, allocations: 14.02 MB / 328.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.813e-05, allocations: 4 kB / 389.2 MB, free: 66.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 51.12 MB / 440.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.4913, allocations: 77.87 MB / 0.5061 GB, free: 12.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.4915, allocations: 68.81 kB / 0.5061 GB, free: 12.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005455/0.497, allocations: 2.22 MB / 0.5083 GB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.497, allocations: 0 / 0.5083 GB, free: 11.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.497, allocations: 3.844 kB / 0.5083 GB, free: 11.33 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003294/0.4974, allocations: 405.5 kB / 0.5087 GB, free: 10.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4974, allocations: 13.75 kB / 0.5087 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.4975, allocations: 38.03 kB / 0.5088 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.4975, allocations: 7.812 kB / 0.5088 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.4978, allocations: 243.2 kB / 0.509 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.4978, allocations: 11.83 kB / 0.509 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.4979, allocations: 7.688 kB / 0.509 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.498, allocations: 124.8 kB / 0.5091 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.498, allocations: 0 / 0.5091 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4981, allocations: 0 / 0.5091 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4981, allocations: 3.969 kB / 0.5091 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.661e-05/0.4982, allocations: 49.31 kB / 0.5092 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.4988, allocations: 0.7653 MB / 0.5099 GB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.709e-05/0.4989, allocations: 78.17 kB / 0.51 GB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.4989, allocations: 30 kB / 0.51 GB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.499, allocations: 7.594 kB / 0.51 GB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.499, allocations: 42.58 kB / 0.5101 GB, free: 9.703 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.499, allocations: 0 / 0.5101 GB, free: 9.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001947/0.4992, allocations: 71 kB / 0.5101 GB, free: 9.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.4992, allocations: 102.8 kB / 0.5102 GB, free: 9.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.4993, allocations: 130.1 kB / 0.5104 GB, free: 9.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.4993, allocations: 30.22 kB / 0.5104 GB, free: 9.406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.4994, allocations: 129.6 kB / 0.5105 GB, free: 9.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.4994, allocations: 18.31 kB / 0.5105 GB, free: 9.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-06/0.4994, allocations: 3.312 kB / 0.5105 GB, free: 9.281 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.498e-05/0.4995, allocations: 322.5 kB / 0.5109 GB, free: 8.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.4995, allocations: 11.16 kB / 0.5109 GB, free: 8.965 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.937e-05/0.4996, allocations: 71.72 kB / 0.5109 GB, free: 8.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.4996, allocations: 22.64 kB / 0.511 GB, free: 8.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4996, allocations: 3.844 kB / 0.511 GB, free: 8.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001188/0.4997, allocations: 101.5 kB / 0.5111 GB, free: 8.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.4998, allocations: 7.859 kB / 0.5111 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4998, allocations: 0 / 0.5111 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4998, allocations: 3.812 kB / 0.5111 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.4999, allocations: 27.3 kB / 0.5111 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4999, allocations: 3.938 kB / 0.5111 GB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.5, allocations: 11.62 kB / 0.5111 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.5, allocations: 7.031 kB / 0.5111 GB, free: 8.812 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (derivativeLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.5001, allocations: 109.1 kB / 0.5112 GB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.5002, allocations: 18.92 kB / 0.5112 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.5002, allocations: 15.33 kB / 0.5112 GB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5002, allocations: 0 / 0.5112 GB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5002, allocations: 0 / 0.5112 GB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5002, allocations: 0 / 0.5112 GB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.5005, allocations: 207.6 kB / 0.5114 GB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5005, allocations: 0 / 0.5114 GB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/0.5006, allocations: 15.61 kB / 0.5115 GB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5006, allocations: 11.81 kB / 0.5115 GB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.5006, allocations: 0 / 0.5115 GB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5006, allocations: 3.953 kB / 0.5115 GB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5006, allocations: 3.875 kB / 0.5115 GB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.5008, allocations: 356.8 kB / 0.5118 GB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.5009, allocations: 89 kB / 0.5119 GB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.5009, allocations: 3.875 kB / 0.5119 GB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.5011, allocations: 7.188 kB / 0.5119 GB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.5011, allocations: 11.77 kB / 0.5119 GB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.5011, allocations: 0 / 0.5119 GB, free: 8.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.147e-05/0.5012, allocations: 115.1 kB / 0.512 GB, free: 7.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5012, allocations: 0 / 0.512 GB, free: 7.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.5015, allocations: 22 kB / 0.5121 GB, free: 7.938 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (derivativeLag.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003418/0.5018, allocations: 1.025 MB / 0.5131 GB, free: 6.949 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.5019, allocations: 53.48 kB / 0.5131 GB, free: 6.934 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.502, allocations: 0 / 0.5131 GB, free: 6.934 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.305e-05/0.502, allocations: 14.91 kB / 0.5131 GB, free: 6.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.5023, allocations: 19.08 kB / 0.5131 GB, free: 6.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.5029, allocations: 227.2 kB / 0.5134 GB, free: 6.734 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.503, allocations: 0.7152 MB / 0.5141 GB, free: 6.016 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.5031, allocations: 8.344 kB / 0.5141 GB, free: 6.012 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.5031, allocations: 32.98 kB / 0.5141 GB, free: 6 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5031, allocations: 0 / 0.5141 GB, free: 6 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.5164, allocations: 2.121 MB / 0.5162 GB, free: 4.977 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.5167, allocations: 139.6 kB / 0.5163 GB, free: 4.754 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.106, allocations: 4 kB / 0.5163 GB, free: 4.75 MB / 330.7 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDerivativeLag_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDerivativeLag.fmu > PowerGrids_PowerGrids.Controls.Test.TestDerivativeLag.pipe 2>&1)