Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.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.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE",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.002956/0.002956, allocations: 184.5 kB / 7.462 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.56/1.56, 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.0009167/0.0009167, allocations: 96.45 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06113/0.06113, allocations: 14.02 MB / 323.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3205/0.3817, allocations: 58.36 MB / 381.4 MB, free: 73.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.5198, allocations: 51.11 MB / 432.5 MB, free: 21.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.8885, allocations: 77.99 MB / 0.4985 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.8889, allocations: 69.3 kB / 0.4986 GB, free: 11.84 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.01328/0.9022, allocations: 5.168 MB / 0.5037 GB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.9022, allocations: 7.531 kB / 0.5037 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.9025, allocations: 46.67 kB / 0.5037 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.9028, allocations: 203.4 kB / 0.5039 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.9028, allocations: 11.59 kB / 0.5039 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.9029, allocations: 11.56 kB / 0.5039 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006597/0.9035, allocations: 277.8 kB / 0.5042 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007187/0.9043, allocations: 304.2 kB / 0.5045 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.9043, allocations: 0 / 0.5045 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.9043, allocations: 1.312 kB / 0.5045 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.9043, allocations: 9.031 kB / 0.5045 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.9061, allocations: 0.9986 MB / 0.5055 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.9066, allocations: 235 kB / 0.5057 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.9069, allocations: 160.7 kB / 0.5058 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.9069, allocations: 10.69 kB / 0.5059 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.907, allocations: 38.91 kB / 0.5059 GB, free: 10.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.776e-06/0.907, allocations: 0 / 0.5059 GB, free: 10.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.000849/0.9078, allocations: 385.6 kB / 0.5063 GB, free: 10.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.9079, allocations: 53.88 kB / 0.5063 GB, free: 10.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.908, allocations: 164.8 kB / 0.5065 GB, free: 10.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.9081, allocations: 25.7 kB / 0.5065 GB, free: 10 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.9082, allocations: 145.1 kB / 0.5066 GB, free: 9.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.9082, allocations: 96.12 kB / 0.5067 GB, free: 9.805 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.9083, allocations: 0 / 0.5067 GB, free: 9.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.9083, allocations: 333.6 kB / 0.507 GB, free: 9.484 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.9086, allocations: 140.6 kB / 0.5072 GB, free: 9.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.9088, allocations: 143.8 kB / 0.5073 GB, free: 9.469 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.9091, allocations: 167.9 kB / 0.5075 GB, free: 9.449 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.9092, allocations: 0 / 0.5075 GB, free: 9.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007302/0.9099, allocations: 405.6 kB / 0.5079 GB, free: 9.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.9099, allocations: 4.125 kB / 0.5079 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.9099, allocations: 5.312 kB / 0.5079 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.91, allocations: 0 / 0.5079 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.9102, allocations: 20.48 kB / 0.5079 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.9102, allocations: 1.375 kB / 0.5079 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.9103, allocations: 14.5 kB / 0.5079 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.9104, allocations: 9.062 kB / 0.5079 GB, free: 9.344 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 (22): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 8.696e-05/0.9105, allocations: 108.9 kB / 0.508 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.9106, allocations: 29.45 kB / 0.508 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.9115, allocations: 438.5 kB / 0.5085 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006015/0.9121, allocations: 385.6 kB / 0.5088 GB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.9121, allocations: 0 / 0.5088 GB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.9121, allocations: 1.094 kB / 0.5088 GB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.9134, allocations: 0.9519 MB / 0.5098 GB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.9134, allocations: 3.984 kB / 0.5098 GB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.9136, allocations: 21.5 kB / 0.5098 GB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.9136, allocations: 1.562 kB / 0.5098 GB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.9136, allocations: 5.859 kB / 0.5098 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.9136, allocations: 9.688 kB / 0.5098 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9136, allocations: 0 / 0.5098 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008204/0.9145, allocations: 499.6 kB / 0.5103 GB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007941/0.9153, allocations: 0.8677 MB / 0.5111 GB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.9153, allocations: 103.2 kB / 0.5112 GB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.9154, allocations: 1.125 kB / 0.5112 GB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.9155, allocations: 0 / 0.5112 GB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.9156, allocations: 18.78 kB / 0.5112 GB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.9156, allocations: 7.656 kB / 0.5112 GB, free: 7.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001096/0.9157, allocations: 134.8 kB / 0.5114 GB, free: 7.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009165/0.9166, allocations: 54.84 kB / 0.5114 GB, free: 7.648 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 (24): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.0002109/0.9169, allocations: 115 kB / 0.5115 GB, free: 7.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000644/0.9175, allocations: 374.1 kB / 0.5119 GB, free: 7.496 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9175, allocations: 5.031 kB / 0.5119 GB, free: 7.492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.9178, allocations: 184.7 kB / 0.5121 GB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.918, allocations: 9.125 kB / 0.5121 GB, free: 7.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.9189, allocations: 421.8 kB / 0.5125 GB, free: 7.312 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.9193, allocations: 0.7916 MB / 0.5133 GB, free: 6.566 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.9193, allocations: 0 / 0.5133 GB, free: 6.566 MB / 330.7 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterVoltageTransducerIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterVoltageTransducerIEEE.pipe 2>&1)