Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.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.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",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.004449/0.004449, allocations: 179.8 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.565/1.565, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.00104/0.001041, allocations: 84.91 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05822/0.05822, allocations: 14.04 MB / 323.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2747/0.333, allocations: 58.35 MB / 381.4 MB, free: 73.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.446, allocations: 51.11 MB / 432.5 MB, free: 21.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.7587, allocations: 75.82 MB / 0.4964 GB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003729/0.7592, allocations: 62.98 kB / 0.4965 GB, free: 12.15 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002081/0.7613, allocations: 0.5537 MB / 0.497 GB, free: 11.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.7613, allocations: 8.484 kB / 0.497 GB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.7614, allocations: 7.734 kB / 0.497 GB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.7615, allocations: 171.7 kB / 0.4972 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.7615, allocations: 3.844 kB / 0.4972 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.7616, allocations: 3.578 kB / 0.4972 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.902e-05/0.7616, allocations: 10.5 kB / 0.4972 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.309e-05/0.7617, allocations: 36.34 kB / 0.4973 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.7618, allocations: 0 / 0.4973 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.7618, allocations: 3.875 kB / 0.4973 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.7618, allocations: 0 / 0.4973 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.7621, allocations: 222.5 kB / 0.4975 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.21e-05/0.7621, allocations: 30.77 kB / 0.4975 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.7622, allocations: 13.67 kB / 0.4975 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.7622, allocations: 3.844 kB / 0.4975 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.7622, allocations: 38.58 kB / 0.4976 GB, free: 11.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.7622, allocations: 0 / 0.4976 GB, free: 11.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001676/0.7624, allocations: 43.45 kB / 0.4976 GB, free: 11.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.7625, allocations: 78.38 kB / 0.4977 GB, free: 11.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.58e-05/0.7625, allocations: 88.75 kB / 0.4978 GB, free: 11.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.7625, allocations: 27.78 kB / 0.4978 GB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.7625, allocations: 80.84 kB / 0.4979 GB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.7626, allocations: 7.75 kB / 0.4979 GB, free: 10.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.7626, allocations: 5.766 kB / 0.4979 GB, free: 10.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.7627, allocations: 315.3 kB / 0.4982 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.7627, allocations: 11.41 kB / 0.4982 GB, free: 10.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.7627, allocations: 7.594 kB / 0.4982 GB, free: 10.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.7627, allocations: 5.797 kB / 0.4982 GB, free: 10.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7628, allocations: 0 / 0.4982 GB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.92e-05/0.7628, allocations: 43.31 kB / 0.4982 GB, free: 10.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.7628, allocations: 7.688 kB / 0.4982 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.7629, allocations: 0 / 0.4982 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.7629, allocations: 5.031 kB / 0.4982 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.332e-05/0.7629, allocations: 0 / 0.4982 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.7629, allocations: 3.938 kB / 0.4983 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.763, allocations: 4.953 kB / 0.4983 GB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.763, allocations: 0.5625 kB / 0.4983 GB, free: 10.53 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 7.432e-05/0.7631, allocations: 139.3 kB / 0.4984 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.7631, allocations: 0 / 0.4984 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.7631, allocations: 8.531 kB / 0.4984 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.7632, allocations: 3.969 kB / 0.4984 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7632, allocations: 4.656 kB / 0.4984 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7632, allocations: 0 / 0.4984 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.7633, allocations: 134.4 kB / 0.4985 GB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.7633, allocations: 0.7031 kB / 0.4985 GB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.7633, allocations: 7.812 kB / 0.4985 GB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7633, allocations: 7.938 kB / 0.4985 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.7633, allocations: 0.5625 kB / 0.4985 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.7633, allocations: 0 / 0.4985 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7634, allocations: 0.6094 kB / 0.4986 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000116/0.7635, allocations: 149.2 kB / 0.4987 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001681/0.7637, allocations: 0.5063 MB / 0.4992 GB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.7637, allocations: 77.72 kB / 0.4993 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.7637, allocations: 4.453 kB / 0.4993 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.7638, allocations: 9.469 kB / 0.4993 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.7639, allocations: 12.75 kB / 0.4993 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.7639, allocations: 0 / 0.4993 GB, free: 9.469 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.796e-05/0.7639, allocations: 75.28 kB / 0.4994 GB, free: 9.395 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007654/0.7647, allocations: 8.391 kB / 0.4994 GB, free: 9.395 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0001416/0.7648, allocations: 99.91 kB / 0.4995 GB, free: 9.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.7649, allocations: 49 kB / 0.4995 GB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.765, allocations: 0 / 0.4995 GB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.765, allocations: 42.55 kB / 0.4995 GB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.7651, allocations: 3.625 kB / 0.4996 GB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002092/0.7653, allocations: 61.55 kB / 0.4996 GB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.7655, allocations: 0.6827 MB / 0.5003 GB, free: 8.477 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7655, allocations: 0 / 0.5003 GB, free: 8.477 MB / 330.7 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1)