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.001592/0.001592, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 63.91 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2629, allocations: 50.55 MB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.006597/0.2695, allocations: 5.591 MB / 414.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.2721, allocations: 1.422 MB / 415.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.2724, allocations: 19.94 kB / 415.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.273, allocations: 191.3 kB / 416 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007361/0.2737, allocations: 381.3 kB / 416.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.2743, allocations: 307.5 kB / 416.7 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01261/0.2869, allocations: 13.93 MB / 430.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006942/0.2939, allocations: 5.083 MB / 435.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007377/0.3013, allocations: 4.819 MB / 440.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01275/0.3141, allocations: 5.115 MB / 445.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004957/0.3191, allocations: 1.176 MB / 446.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005756/0.3249, allocations: 1.184 MB / 448 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006073/0.331, allocations: 2.816 MB / 450.8 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01366/0.3447, allocations: 5.241 MB / 456.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02346/0.3682, allocations: 14.9 MB / 471 MB, free: 3.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3682, allocations: 0 / 471 MB, free: 3.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3682, allocations: 0 / 471 MB, free: 3.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006363/0.3689, allocations: 0 / 471 MB, free: 3.07 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.03288/0.4018, allocations: 10.71 MB / 481.7 MB, free: 8.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.4018, allocations: 12.02 kB / 481.7 MB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004155/0.406, allocations: 1.023 MB / 482.7 MB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004253/0.4103, allocations: 0.9485 MB / 483.6 MB, free: 6.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.4224, allocations: 4.693 MB / 488.3 MB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007063/0.4231, allocations: 0.5456 MB / 488.9 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002974/0.4261, allocations: 0.7696 MB / 489.7 MB, free: 188 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0319/0.458, allocations: 11.44 MB / 0.4894 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003263/0.4584, allocations: 0 / 0.4894 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003075/0.4615, allocations: 312 kB / 0.4897 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000439/0.462, allocations: 363 kB / 0.49 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02594/0.4879, allocations: 10.29 MB / 0.5 GB, free: 9.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08847/0.5764, allocations: 34.25 MB / 0.5335 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4174/0.9939, allocations: 7.845 MB / 0.5412 GB, free: 114.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01112/1.005, allocations: 7.953 MB / 0.5489 GB, free: 112.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003355/1.005, allocations: 67.91 kB / 0.549 GB, free: 112.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.456e-05/1.006, allocations: 127.9 kB / 0.5491 GB, free: 112.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=654): time 7.714e-06/1.006, allocations: 0.625 kB / 0.5491 GB, free: 112.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=654): time 0.01433/1.02, allocations: 10.45 MB / 0.5593 GB, free: 109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/1.02, allocations: 172.5 kB / 0.5595 GB, free: 108.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007955/1.028, allocations: 5.795 MB / 0.5651 GB, free: 104 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001426/1.029, allocations: 169.7 kB / 0.5653 GB, free: 103.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001642/1.031, allocations: 3.01 MB / 0.5682 GB, free: 101.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002105/1.033, allocations: 2.417 MB / 0.5706 GB, free: 99.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001802/1.035, allocations: 1.188 MB / 0.5718 GB, free: 98.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.415e-05/1.035, allocations: 308.5 kB / 0.5721 GB, free: 98.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004851/1.04, allocations: 4.019 MB / 0.576 GB, free: 94.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00502/1.045, allocations: 4.546 MB / 0.5804 GB, free: 89.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009722/1.055, allocations: 8.342 MB / 0.5886 GB, free: 81.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.055, allocations: 0 / 0.5886 GB, free: 81.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01523/1.07, allocations: 10.09 MB / 0.5984 GB, free: 71.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/1.07, allocations: 7.938 kB / 0.5984 GB, free: 71.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/1.07, allocations: 2.656 kB / 0.5984 GB, free: 71.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003145/1.07, allocations: 68.83 kB / 0.5985 GB, free: 71.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006699/1.077, allocations: 1.963 MB / 0.6004 GB, free: 69.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/1.078, allocations: 1.516 MB / 0.6019 GB, free: 67.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/1.084, allocations: 0.7708 MB / 0.6026 GB, free: 66.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009417/1.085, allocations: 203.9 kB / 0.6028 GB, free: 66.78 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.005009/1.09, allocations: 2.522 MB / 0.6053 GB, free: 64.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002198/1.092, allocations: 0.6097 MB / 0.6059 GB, free: 63.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/1.094, allocations: 0.8018 MB / 0.6067 GB, free: 62.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-05/1.094, allocations: 64 kB / 0.6067 GB, free: 62.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.181e-05/1.094, allocations: 0 / 0.6067 GB, free: 62.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.072e-05/1.094, allocations: 33.56 kB / 0.6068 GB, free: 62.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03784/1.132, allocations: 24.7 MB / 0.6309 GB, free: 37.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-05/1.132, allocations: 24 kB / 0.6309 GB, free: 37.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006734/1.139, allocations: 1.734 MB / 0.6326 GB, free: 35.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002589/1.139, allocations: 76.78 kB / 0.6327 GB, free: 35.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009578/1.14, allocations: 239.9 kB / 0.6329 GB, free: 35.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007693/1.141, allocations: 1.422 MB / 0.6343 GB, free: 33.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.128e-05/1.141, allocations: 43.81 kB / 0.6343 GB, free: 33.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/1.158, allocations: 13.13 MB / 0.6472 GB, free: 19.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/1.161, allocations: 0.9652 MB / 0.6481 GB, free: 18.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002047/1.163, allocations: 227.9 kB / 0.6483 GB, free: 18.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005997/1.169, allocations: 0.8195 MB / 0.6491 GB, free: 17.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000922/1.17, allocations: 451 kB / 0.6496 GB, free: 17.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008329/1.17, allocations: 220 kB / 0.6498 GB, free: 17.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006846/1.177, allocations: 4.1 MB / 0.6538 GB, free: 13.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.177, allocations: 4 kB / 0.6538 GB, free: 13.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007081/1.184, allocations: 2.332 MB / 0.6561 GB, free: 10.81 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.01978/1.204, allocations: 14.04 MB / 0.6698 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01578/1.22, allocations: 8.701 MB / 0.6783 GB, free: 3.148 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.363e-05/1.22, allocations: 15.8 kB / 0.6783 GB, free: 3.133 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007922/1.228, allocations: 4.24 MB / 0.6824 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01259/1.241, allocations: 1.454 MB / 0.6838 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.375/1.616, allocations: 71.24 MB / 0.7534 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005193/1.621, allocations: 5.246 MB / 0.7585 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006784/1.628, allocations: 2.82 MB / 0.7613 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004281/1.632, allocations: 2.935 MB / 0.7642 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of SimCode: time 2.214e-06/1.632, allocations: 3.906 kB / 0.7642 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1793/1.811, allocations: 134.5 MB / 0.8955 GB, free: 48.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.5/27.31, allocations: 12.78 kB / 0.8955 GB, free: 48.32 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep_res.csv --start-time 0 --stop-time 0.003 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_SmoothStep.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.SmoothStep.pipe 2>&1)