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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 117.6 kB / 17.79 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 200.7 kB / 18.74 MB, free: 4.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 63.89 kB / 358.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2593, allocations: 50.54 MB / 408.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.006928/0.2662, allocations: 5.59 MB / 414.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.2693, allocations: 1.422 MB / 415.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006107/0.2699, allocations: 19.94 kB / 415.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.2705, allocations: 195.3 kB / 416.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008758/0.2714, allocations: 381.3 kB / 416.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.2721, allocations: 311.5 kB / 416.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01419/0.2863, allocations: 13.93 MB / 430.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008062/0.2944, allocations: 5.087 MB / 435.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009591/0.304, allocations: 4.819 MB / 440.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01086/0.3149, allocations: 5.115 MB / 445.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004241/0.3192, allocations: 1.18 MB / 446.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005604/0.3249, allocations: 1.176 MB / 448.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005403/0.3303, allocations: 2.816 MB / 450.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01195/0.3423, allocations: 5.241 MB / 456.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0192/0.3615, allocations: 14.9 MB / 471 MB, free: 3.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3616, allocations: 0 / 471 MB, free: 3.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3616, allocations: 4 kB / 471 MB, free: 3.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005534/0.3622, allocations: 0 / 471 MB, free: 3.012 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.03146/0.3936, allocations: 10.72 MB / 481.7 MB, free: 8.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3937, allocations: 8.031 kB / 481.8 MB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003663/0.3974, allocations: 1.023 MB / 482.8 MB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003926/0.4013, allocations: 0.9484 MB / 483.7 MB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.4121, allocations: 4.693 MB / 488.4 MB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006643/0.4128, allocations: 0.5456 MB / 489 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003542/0.4163, allocations: 0.7697 MB / 489.7 MB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03025/0.4466, allocations: 11.44 MB / 0.4894 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.4468, allocations: 7.922 kB / 0.4894 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001625/0.4484, allocations: 308 kB / 0.4897 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003786/0.4488, allocations: 355.1 kB / 0.4901 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02433/0.4731, allocations: 10.29 MB / 0.5001 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08011/0.5533, allocations: 34.25 MB / 0.5336 GB, free: 6.781 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3909/0.9442, allocations: 7.85 MB / 0.5412 GB, free: 114.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01109/0.9553, allocations: 7.95 MB / 0.549 GB, free: 112.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003813/0.9558, allocations: 68.94 kB / 0.5491 GB, free: 112.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.9559, allocations: 127.7 kB / 0.5492 GB, free: 112.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=654): time 8.676e-06/0.9559, allocations: 3.125 kB / 0.5492 GB, free: 112.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=654): time 0.01409/0.97, allocations: 10.45 MB / 0.5594 GB, free: 108.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.9701, allocations: 171.6 kB / 0.5595 GB, free: 108.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00855/0.9786, allocations: 5.792 MB / 0.5652 GB, free: 103.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001261/0.9799, allocations: 170.7 kB / 0.5654 GB, free: 103.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.9816, allocations: 3.011 MB / 0.5683 GB, free: 101.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002062/0.9837, allocations: 2.424 MB / 0.5707 GB, free: 99.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/0.9858, allocations: 1.18 MB / 0.5718 GB, free: 98.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.9858, allocations: 308.5 kB / 0.5721 GB, free: 98.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004803/0.9906, allocations: 4.022 MB / 0.576 GB, free: 94.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005514/0.9962, allocations: 4.541 MB / 0.5805 GB, free: 89.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/1.007, allocations: 8.34 MB / 0.5886 GB, free: 81.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-05/1.007, allocations: 0 / 0.5886 GB, free: 81.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01825/1.025, allocations: 10.09 MB / 0.5985 GB, free: 71.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/1.025, allocations: 11.94 kB / 0.5985 GB, free: 71.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/1.025, allocations: 0 / 0.5985 GB, free: 71.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/1.025, allocations: 71.48 kB / 0.5986 GB, free: 71.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008474/1.034, allocations: 1.963 MB / 0.6005 GB, free: 69.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/1.035, allocations: 1.511 MB / 0.602 GB, free: 67.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005642/1.041, allocations: 0.7788 MB / 0.6027 GB, free: 66.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008033/1.041, allocations: 199.9 kB / 0.6029 GB, free: 66.69 MB / 462.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (890): * Single equations (assignments): 889 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004442/1.046, allocations: 2.522 MB / 0.6054 GB, free: 64.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001642/1.048, allocations: 0.6129 MB / 0.606 GB, free: 63.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/1.049, allocations: 0.8025 MB / 0.6068 GB, free: 62.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/1.049, allocations: 60 kB / 0.6068 GB, free: 62.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.943e-05/1.049, allocations: 0 / 0.6068 GB, free: 62.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.035e-05/1.049, allocations: 31.89 kB / 0.6068 GB, free: 62.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03363/1.083, allocations: 24.7 MB / 0.631 GB, free: 37.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.242e-05/1.083, allocations: 28.19 kB / 0.631 GB, free: 37.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007045/1.09, allocations: 1.741 MB / 0.6327 GB, free: 35.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003227/1.09, allocations: 72.84 kB / 0.6328 GB, free: 35.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00131/1.092, allocations: 231.9 kB / 0.633 GB, free: 35.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008505/1.093, allocations: 1.429 MB / 0.6344 GB, free: 33.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.831e-05/1.093, allocations: 43.97 kB / 0.6344 GB, free: 33.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/1.108, allocations: 13.13 MB / 0.6472 GB, free: 19.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/1.111, allocations: 0.9607 MB / 0.6482 GB, free: 18.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/1.112, allocations: 231.9 kB / 0.6484 GB, free: 18.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005583/1.117, allocations: 0.8117 MB / 0.6492 GB, free: 17.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000789/1.118, allocations: 455 kB / 0.6496 GB, free: 17.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004654/1.119, allocations: 220 kB / 0.6498 GB, free: 17.17 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005077/1.124, allocations: 4.1 MB / 0.6538 GB, free: 13.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.482e-06/1.124, allocations: 0 / 0.6538 GB, free: 13.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005808/1.13, allocations: 2.333 MB / 0.6561 GB, free: 10.73 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 116 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (653): * Single equations (assignments): 652 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01794/1.148, allocations: 14.05 MB / 0.6698 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0173/1.165, allocations: 8.689 MB / 0.6783 GB, free: 3.082 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-05/1.165, allocations: 15.8 kB / 0.6783 GB, free: 3.066 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008538/1.174, allocations: 4.246 MB / 0.6825 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009487/1.183, allocations: 1.444 MB / 0.6839 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3664/1.549, allocations: 71.25 MB / 0.7535 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005469/1.555, allocations: 5.245 MB / 0.7586 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00724/1.562, allocations: 2.826 MB / 0.7614 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004791/1.567, allocations: 2.937 MB / 0.7642 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.953e-06/1.567, allocations: 0 / 0.7642 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1775/1.745, allocations: 134.5 MB / 0.8955 GB, free: 48.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.15/27.89, allocations: 20.84 kB / 0.8956 GB, free: 48.23 MB / 0.5294 GB (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/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)