Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00411/0.00411, allocations: 180.3 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0009146/0.0009148, allocations: 97.89 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05856/0.05856, allocations: 14.03 MB / 323 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2874/0.346, allocations: 57.23 MB / 380.3 MB, free: 74.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.4654, allocations: 51.11 MB / 431.4 MB, free: 23.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.8178, allocations: 75.89 MB / 0.4954 GB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.8181, allocations: 62.67 kB / 0.4954 GB, free: 11.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.002134/0.8202, allocations: 0.6936 MB / 0.4961 GB, free: 10.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.8203, allocations: 8.938 kB / 0.4961 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.8203, allocations: 7.75 kB / 0.4961 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.8205, allocations: 173.2 kB / 0.4963 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.8205, allocations: 0 / 0.4963 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.8206, allocations: 4 kB / 0.4963 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.108e-05/0.8206, allocations: 12.78 kB / 0.4963 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.8208, allocations: 53.86 kB / 0.4964 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8208, allocations: 0 / 0.4964 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.8208, allocations: 8.969 kB / 0.4964 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.8208, allocations: 0 / 0.4964 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.8211, allocations: 324 kB / 0.4967 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.811e-05/0.8212, allocations: 41.69 kB / 0.4967 GB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.8213, allocations: 21.09 kB / 0.4967 GB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.8213, allocations: 3.906 kB / 0.4967 GB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.8213, allocations: 46.62 kB / 0.4968 GB, free: 9.945 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.8213, allocations: 0 / 0.4968 GB, free: 9.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000198/0.8215, allocations: 41.5 kB / 0.4968 GB, free: 9.914 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.8216, allocations: 102.8 kB / 0.4969 GB, free: 9.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.8216, allocations: 93.61 kB / 0.497 GB, free: 9.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.8217, allocations: 26.58 kB / 0.497 GB, free: 9.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.8217, allocations: 81.27 kB / 0.4971 GB, free: 9.586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.8217, allocations: 15 kB / 0.4971 GB, free: 9.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.8217, allocations: 7.938 kB / 0.4971 GB, free: 9.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.873e-05/0.8218, allocations: 313.1 kB / 0.4974 GB, free: 9.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.8218, allocations: 6.969 kB / 0.4974 GB, free: 9.258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.121e-05/0.8218, allocations: 21.42 kB / 0.4975 GB, free: 9.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.108e-05/0.8219, allocations: 5.031 kB / 0.4975 GB, free: 9.234 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8219, allocations: 1.969 kB / 0.4975 GB, free: 9.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.898e-05/0.8219, allocations: 47.64 kB / 0.4975 GB, free: 9.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.822, allocations: 189.3 kB / 0.4977 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.822, allocations: 0 / 0.4977 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.822, allocations: 1.688 kB / 0.4977 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.8222, allocations: 20.05 kB / 0.4977 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.8222, allocations: 0 / 0.4977 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.8222, allocations: 10.72 kB / 0.4977 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.8223, allocations: 3.844 kB / 0.4977 GB, free: 9.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.71e-06/0.8223, allocations: 7.781 kB / 0.4977 GB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.184e-05/0.8223, allocations: 9.422 kB / 0.4978 GB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.61e-07/0.8223, allocations: 8 kB / 0.4978 GB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-06/0.8223, allocations: 0 / 0.4978 GB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.599e-05/0.8224, allocations: 8.969 kB / 0.4978 GB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-06/0.8224, allocations: 0.625 kB / 0.4978 GB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.8224, allocations: 9.266 kB / 0.4978 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.8224, allocations: 2.625 kB / 0.4978 GB, free: 8.992 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.832e-05/0.8225, allocations: 103.5 kB / 0.4979 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.8225, allocations: 9.484 kB / 0.4979 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.8226, allocations: 15.17 kB / 0.4979 GB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.8226, allocations: 0 / 0.4979 GB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8226, allocations: 0.875 kB / 0.4979 GB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8226, allocations: 5.125 kB / 0.4979 GB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.8227, allocations: 136.1 kB / 0.498 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.8228, allocations: 0 / 0.498 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.8228, allocations: 14.58 kB / 0.4981 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.8228, allocations: 0 / 0.4981 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.8228, allocations: 3.375 kB / 0.4981 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8229, allocations: 4 kB / 0.4981 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8229, allocations: 3.906 kB / 0.4981 GB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000121/0.823, allocations: 230.5 kB / 0.4983 GB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001638/0.8232, allocations: 0.5945 MB / 0.4989 GB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.8232, allocations: 81.39 kB / 0.4989 GB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.8232, allocations: 5.219 kB / 0.4989 GB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.8233, allocations: 10.42 kB / 0.499 GB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.8234, allocations: 8.141 kB / 0.499 GB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.8234, allocations: 7.828 kB / 0.499 GB, free: 7.781 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.577e-05/0.8234, allocations: 80.67 kB / 0.499 GB, free: 7.707 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001398/0.8248, allocations: 19.47 kB / 0.4991 GB, free: 7.695 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001496/0.825, allocations: 96.05 kB / 0.4992 GB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.8251, allocations: 18.47 kB / 0.4992 GB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.8251, allocations: 3.844 kB / 0.4992 GB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.8252, allocations: 12.2 kB / 0.4992 GB, free: 7.602 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.8254, allocations: 11.86 kB / 0.4992 GB, free: 7.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.8257, allocations: 72.27 kB / 0.4993 GB, free: 7.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.8259, allocations: 0.6869 MB / 0.4999 GB, free: 6.82 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.8259, allocations: 3.938 kB / 0.4999 GB, free: 6.816 MB / 330.7 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1)