Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.SmoothStep,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep",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 trunk/package.mo): time 0.001199/0.001199, allocations: 205.6 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.144/1.144, allocations: 225.5 MB / 234.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009495/0.0009495, allocations: 93.81 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09622/0.09721, allocations: 56.91 MB / 343.2 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.1849, allocations: 51.47 MB / 394.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2333/0.4183, allocations: 81.86 MB / 476.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.4185, allocations: 76.53 kB / 476.6 MB, free: 10.79 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1820 * Number of variables: 1820 Notification: Performance of Generate backend data structure: time 0.5156/0.9341, allocations: 138.3 MB / 0.6006 GB, free: 61.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.9342, allocations: 7.125 kB / 0.6006 GB, free: 61.24 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.9371, allocations: 0.8893 MB / 0.6014 GB, free: 60.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.948, allocations: 5.419 MB / 0.6067 GB, free: 59.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.9482, allocations: 232.1 kB / 0.6069 GB, free: 59.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.9498, allocations: 477.5 kB / 0.6074 GB, free: 59.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01557/0.9653, allocations: 9.329 MB / 0.6165 GB, free: 59.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.9814, allocations: 9.517 MB / 0.6258 GB, free: 59.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/0.9816, allocations: 7.375 kB / 0.6258 GB, free: 59.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006964/0.9823, allocations: 11 kB / 0.6258 GB, free: 59.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9e-05/0.9824, allocations: 171.4 kB / 0.626 GB, free: 59.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05756/1.04, allocations: 32.94 MB / 0.6582 GB, free: 48.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006439/1.046, allocations: 4.313 MB / 0.6624 GB, free: 46.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006572/1.053, allocations: 6.512 MB / 0.6687 GB, free: 44.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/1.053, allocations: 54.23 kB / 0.6688 GB, free: 44.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.409e-05/1.053, allocations: 121.1 kB / 0.6689 GB, free: 44.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=539): time 7.123e-06/1.053, allocations: 0 / 0.6689 GB, free: 44.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=539): time 0.008623/1.062, allocations: 6.362 MB / 0.6751 GB, free: 42.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.062, allocations: 158.4 kB / 0.6753 GB, free: 42.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0061/1.068, allocations: 4.644 MB / 0.6798 GB, free: 40.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000578/1.069, allocations: 33.14 kB / 0.6798 GB, free: 40.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/1.07, allocations: 2.203 MB / 0.682 GB, free: 39.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.071, allocations: 1.863 MB / 0.6838 GB, free: 37.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/1.071, allocations: 0 / 0.6838 GB, free: 37.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002793/1.072, allocations: 0.5551 MB / 0.6843 GB, free: 37.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004855/1.077, allocations: 3.748 MB / 0.688 GB, free: 36.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004479/1.081, allocations: 4.144 MB / 0.692 GB, free: 34.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005021/1.086, allocations: 4.47 MB / 0.6964 GB, free: 33.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/1.086, allocations: 4.594 kB / 0.6964 GB, free: 33.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01199/1.098, allocations: 9.103 MB / 0.7053 GB, free: 25.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.098, allocations: 8 kB / 0.7053 GB, free: 25.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.098, allocations: 0 / 0.7053 GB, free: 25.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/1.098, allocations: 67.91 kB / 0.7054 GB, free: 25.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006316/1.105, allocations: 1.725 MB / 0.7071 GB, free: 23.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009255/1.106, allocations: 1.417 MB / 0.7084 GB, free: 22.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004402/1.11, allocations: 479.9 kB / 0.7089 GB, free: 21.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005112/1.111, allocations: 172 kB / 0.7091 GB, free: 21.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 774 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001052/1.112, allocations: 195.7 kB / 0.7092 GB, free: 21.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.113, allocations: 0.506 MB / 0.7097 GB, free: 20.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/1.114, allocations: 0.6337 MB / 0.7104 GB, free: 20.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.623e-05/1.114, allocations: 52 kB / 0.7104 GB, free: 20.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.649e-05/1.114, allocations: 0.75 kB / 0.7104 GB, free: 20.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-05/1.114, allocations: 27.61 kB / 0.7104 GB, free: 20.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008929/1.123, allocations: 7.088 MB / 0.7174 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/1.123, allocations: 0 / 0.7174 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006616/1.13, allocations: 1.507 MB / 0.7188 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/1.13, allocations: 32.05 kB / 0.7189 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00044/1.131, allocations: 123.1 kB / 0.719 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006195/1.131, allocations: 1.243 MB / 0.7202 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.131, allocations: 5.531 kB / 0.7202 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0116/1.143, allocations: 10.45 MB / 0.7304 GB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1343/1.277, allocations: 15.3 MB / 0.7453 GB, free: 104.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/1.279, allocations: 0.7836 MB / 0.7461 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.28, allocations: 96.89 kB / 0.7462 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004715/1.285, allocations: 0.6553 MB / 0.7468 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004486/1.285, allocations: 257 kB / 0.7471 GB, free: 104 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004257/1.286, allocations: 151.8 kB / 0.7472 GB, free: 104 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.003968/1.29, allocations: 3.514 MB / 0.7507 GB, free: 103.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004151/1.294, allocations: 1.995 MB / 0.7526 GB, free: 103.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 116 (firstOrder.y,oLine1.L[1].i,oLine1.L[2].i,oLine1.C[1].v,oLine5.L[1].i,oLine5.L[2].i,oLine5.L[3].i,oLine5.L[4].i,oLine5.L[5].i,oLine5.L[6].i,oLine5.C[1].v,oLine5.C[2].v,oLine5.C[3].v,oLine5.C[4].v,oLine5.C[5].v,oLine50.L[1].i,oLine50.L[2].i,oLine50.L[3].i,oLine50.L[4].i,oLine50.L[5].i,oLine50.L[6].i,oLine50.L[7].i,oLine50.L[8].i,oLine50.L[9].i,oLine50.L[10].i,oLine50.L[11].i,oLine50.L[12].i,oLine50.L[13].i,oLine50.L[14].i,oLine50.L[15].i,oLine50.L[16].i,oLine50.L[17].i,oLine50.L[18].i,oLine50.L[19].i,oLine50.L[20].i,oLine50.L[21].i,oLine50.L[22].i,oLine50.L[23].i,oLine50.L[24].i,oLine50.L[25].i,oLine50.L[26].i,oLine50.L[27].i,oLine50.L[28].i,oLine50.L[29].i,oLine50.L[30].i,oLine50.L[31].i,oLine50.L[32].i,oLine50.L[33].i,oLine50.L[34].i,oLine50.L[35].i,oLine50.L[36].i,oLine50.L[37].i,oLine50.L[38].i,oLine50.L[39].i,oLine50.L[40].i,oLine50.L[41].i,oLine50.L[42].i,oLine50.L[43].i,oLine50.L[44].i,oLine50.L[45].i,oLine50.L[46].i,oLine50.L[47].i,oLine50.L[48].i,oLine50.L[49].i,oLine50.L[50].i,oLine50.L[51].i,oLine50.C[1].v,oLine50.C[2].v,oLine50.C[3].v,oLine50.C[4].v,oLine50.C[5].v,oLine50.C[6].v,oLine50.C[7].v,oLine50.C[8].v,oLine50.C[9].v,oLine50.C[10].v,oLine50.C[11].v,oLine50.C[12].v,oLine50.C[13].v,oLine50.C[14].v,oLine50.C[15].v,oLine50.C[16].v,oLine50.C[17].v,oLine50.C[18].v,oLine50.C[19].v,oLine50.C[20].v,oLine50.C[21].v,oLine50.C[22].v,oLine50.C[23].v,oLine50.C[24].v,oLine50.C[25].v,oLine50.C[26].v,oLine50.C[27].v,oLine50.C[28].v,oLine50.C[29].v,oLine50.C[30].v,oLine50.C[31].v,oLine50.C[32].v,oLine50.C[33].v,oLine50.C[34].v,oLine50.C[35].v,oLine50.C[36].v,oLine50.C[37].v,oLine50.C[38].v,oLine50.C[39].v,oLine50.C[40].v,oLine50.C[41].v,oLine50.C[42].v,oLine50.C[43].v,oLine50.C[44].v,oLine50.C[45].v,oLine50.C[46].v,oLine50.C[47].v,oLine50.C[48].v,oLine50.C[49].v,oLine50.C[50].v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (538): * Single equations (assignments): 537 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006068/1.295, allocations: 281.5 kB / 0.7529 GB, free: 103.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008202/1.303, allocations: 7.693 MB / 0.7604 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.303, allocations: 11.27 kB / 0.7604 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003349/1.306, allocations: 3.477 MB / 0.7638 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003599/1.31, allocations: 0.8287 MB / 0.7646 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03894/1.349, allocations: 22.2 MB / 0.7863 GB, free: 98.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007904/1.357, allocations: 5.927 MB / 0.7921 GB, free: 97.32 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/1.357, allocations: 4 kB / 0.7921 GB, free: 97.32 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep_fmu --startTime=0 --stopTime=0.003 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe 2>&1)