Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.conf.json 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/HanserModelica 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",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 4.0.0+maint.om/package.mo): time 0.005701/0.005701, allocations: 181.6 kB / 7.459 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07174/0.07174, allocations: 8.704 MB / 16.58 MB, free: 448 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.353/2.353, allocations: 221.4 MB / 240.5 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 105 kB / 293.5 MB, free: 5.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2359/0.2372, allocations: 58.65 MB / 352.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5669/0.8041, allocations: 52.54 MB / 404.7 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/1.005, allocations: 85.39 MB / 490.1 MB, free: 5.207 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004812/1.005, allocations: 67.97 kB / 490.2 MB, free: 5.141 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.07649/1.082, allocations: 16.72 MB / 0.495 GB, free: 4.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.115e-05/1.082, allocations: 8 kB / 0.495 GB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/1.086, allocations: 323 kB / 0.4953 GB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/1.088, allocations: 336.1 kB / 0.4956 GB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/1.088, allocations: 23.91 kB / 0.4957 GB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/1.089, allocations: 36 kB / 0.4957 GB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00227/1.091, allocations: 0.522 MB / 0.4962 GB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.092, allocations: 0.5041 MB / 0.4967 GB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/1.092, allocations: 4 kB / 0.4967 GB, free: 2.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/1.092, allocations: 3.984 kB / 0.4967 GB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/1.092, allocations: 12 kB / 0.4967 GB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004784/1.097, allocations: 2.144 MB / 0.4988 GB, free: 144 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.331/1.428, allocations: 420.9 kB / 0.4992 GB, free: 122.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/1.428, allocations: 176.8 kB / 0.4994 GB, free: 122.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/1.429, allocations: 90.12 kB / 0.4995 GB, free: 122 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/1.429, allocations: 38.28 kB / 0.4995 GB, free: 121.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 6.091e-06/1.429, allocations: 3.625 kB / 0.4995 GB, free: 121.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001694/1.431, allocations: 429.8 kB / 0.4999 GB, free: 121.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/1.431, allocations: 80.77 kB / 0.5 GB, free: 121.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/1.431, allocations: 166.9 kB / 0.5002 GB, free: 121.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/1.431, allocations: 25.7 kB / 0.5002 GB, free: 121.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/1.431, allocations: 240.5 kB / 0.5004 GB, free: 121.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/1.432, allocations: 158.9 kB / 0.5006 GB, free: 121.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/1.432, allocations: 0 / 0.5006 GB, free: 121.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/1.432, allocations: 339.2 kB / 0.5009 GB, free: 121.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/1.432, allocations: 143.9 kB / 0.501 GB, free: 121.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/1.433, allocations: 259.8 kB / 0.5013 GB, free: 121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/1.433, allocations: 191.2 kB / 0.5015 GB, free: 121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.433, allocations: 3.781 kB / 0.5015 GB, free: 121 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001201/1.435, allocations: 0.506 MB / 0.5019 GB, free: 121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005104/1.435, allocations: 1.302 MB / 0.5032 GB, free: 119.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/1.435, allocations: 3.75 kB / 0.5032 GB, free: 119.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/1.436, allocations: 57.39 kB / 0.5033 GB, free: 119.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/1.436, allocations: 107.7 kB / 0.5034 GB, free: 119.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/1.438, allocations: 1.504 MB / 0.5049 GB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/1.439, allocations: 52.81 kB / 0.5049 GB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/1.439, allocations: 25.14 kB / 0.5049 GB, free: 118.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.439, allocations: 6.812 kB / 0.5049 GB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/1.44, allocations: 452 kB / 0.5054 GB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.44, allocations: 3.875 kB / 0.5054 GB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/1.44, allocations: 56.53 kB / 0.5054 GB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/1.441, allocations: 96.41 kB / 0.5055 GB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/1.442, allocations: 1.432 MB / 0.5069 GB, free: 117.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/1.443, allocations: 45.47 kB / 0.507 GB, free: 117.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/1.443, allocations: 25.84 kB / 0.507 GB, free: 117.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002857/1.443, allocations: 119 kB / 0.5071 GB, free: 117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.443, allocations: 30.41 kB / 0.5071 GB, free: 117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/1.445, allocations: 0.4984 MB / 0.5076 GB, free: 116.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.445, allocations: 7.5 kB / 0.5076 GB, free: 116.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/1.445, allocations: 1.062 kB / 0.5076 GB, free: 116.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.445, allocations: 0 / 0.5076 GB, free: 116.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/1.447, allocations: 1.031 MB / 0.5086 GB, free: 116.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/1.447, allocations: 0 / 0.5086 GB, free: 116.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/1.448, allocations: 90.95 kB / 0.5087 GB, free: 116.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002493/1.448, allocations: 53.2 kB / 0.5088 GB, free: 116.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/1.448, allocations: 10.59 kB / 0.5088 GB, free: 116.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/1.45, allocations: 1.505 MB / 0.5102 GB, free: 115.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.45, allocations: 0 / 0.5102 GB, free: 115.3 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001553/1.451, allocations: 0.7485 MB / 0.511 GB, free: 115.1 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00232/1.454, allocations: 1.778 MB / 0.5127 GB, free: 114.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/1.454, allocations: 146.5 kB / 0.5128 GB, free: 114.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/1.454, allocations: 0 / 0.5128 GB, free: 114.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/1.454, allocations: 26.55 kB / 0.5129 GB, free: 114.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.454, allocations: 30.83 kB / 0.5129 GB, free: 114.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/1.455, allocations: 13.28 kB / 0.5129 GB, free: 114.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001334/1.455, allocations: 134.6 kB / 0.513 GB, free: 114.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002604/1.457, allocations: 252.9 kB / 0.5133 GB, free: 114.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003807/1.458, allocations: 149.3 kB / 0.5134 GB, free: 114.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00218/1.46, allocations: 0.8494 MB / 0.5143 GB, free: 114 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.46, allocations: 0.875 kB / 0.5143 GB, free: 114 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005892/1.46, allocations: 317.5 kB / 0.5146 GB, free: 113.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/1.461, allocations: 23.16 kB / 0.5146 GB, free: 113.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/1.464, allocations: 0.6143 MB / 0.5152 GB, free: 113.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/1.465, allocations: 0.8732 MB / 0.516 GB, free: 113.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/1.465, allocations: 0 / 0.516 GB, free: 113.1 MB / 378.7 MB (rm -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe >> ../files/HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep.fmu > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1)