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.001347/0.001347, allocations: 99.55 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.0002719, allocations: 4 kB / 306.8 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 51.49 MB / 358.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.SmoothStep): time 0.005059/0.1205, allocations: 4.785 MB / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.123, allocations: 1.368 MB / 364.5 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.1233, allocations: 19.94 kB / 364.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.1238, allocations: 170.8 kB / 364.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006411/0.1245, allocations: 325.9 kB / 365 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.1249, allocations: 223.7 kB / 365.2 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2208/0.3457, allocations: 33.71 MB / 398.9 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005585/0.3513, allocations: 3.783 MB / 402.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006836/0.3582, allocations: 3.143 MB / 405.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007427/0.3657, allocations: 3.663 MB / 409.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001817/0.3675, allocations: 492 kB / 410 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/0.3704, allocations: 493.2 kB / 410.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.3724, allocations: 1.764 MB / 412.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00361/0.376, allocations: 1.627 MB / 413.8 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.3903, allocations: 11.44 MB / 425.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3904, allocations: 0 / 425.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.3904, allocations: 0 / 425.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005328/0.3909, allocations: 0 / 425.3 MB, free: 9.152 MB / 334.1 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.02669/0.4176, allocations: 10.02 MB / 435.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.4177, allocations: 12.03 kB / 435.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005159/0.4228, allocations: 0.9812 MB / 436.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004378/0.4273, allocations: 0.8807 MB / 437.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.4385, allocations: 4.367 MB / 441.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005041/0.439, allocations: 0.5412 MB / 442.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003091/0.4421, allocations: 0.7691 MB / 442.9 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02941/0.4715, allocations: 10.87 MB / 453.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.4717, allocations: 0 / 453.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00165/0.4734, allocations: 308 kB / 454 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.4735, allocations: 172 kB / 454.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02315/0.4967, allocations: 9.912 MB / 464.1 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09939/0.5961, allocations: 34.34 MB / 498.5 MB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01477/0.6109, allocations: 6.918 MB / 0.4935 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01441/0.6254, allocations: 6.785 MB / 0.5002 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/0.6261, allocations: 56.23 kB / 0.5002 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.6263, allocations: 123.7 kB / 0.5003 GB, free: 1.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=539): time 6.662e-06/0.6263, allocations: 1.312 kB / 0.5003 GB, free: 1.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=539): time 0.02345/0.6498, allocations: 9.269 MB / 0.5094 GB, free: 8.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.65, allocations: 163 kB / 0.5095 GB, free: 7.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/0.6615, allocations: 5.759 MB / 0.5152 GB, free: 2.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001478/0.663, allocations: 149.7 kB / 0.5153 GB, free: 2.062 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002967/0.666, allocations: 2.931 MB / 0.5182 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003128/0.6691, allocations: 1.943 MB / 0.5201 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005429/0.6697, allocations: 120 kB / 0.5202 GB, free: 13.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004443/0.6701, allocations: 0.5464 MB / 0.5207 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006806/0.6769, allocations: 3.736 MB / 0.5244 GB, free: 8.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008535/0.6855, allocations: 4.196 MB / 0.5285 GB, free: 4.539 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/0.6963, allocations: 4.422 MB / 0.5328 GB, free: 96 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.33e-05/0.6964, allocations: 0 / 0.5328 GB, free: 96 kB / 446.1 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.4431/1.139, allocations: 9.292 MB / 0.5418 GB, free: 136.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/1.14, allocations: 12.5 kB / 0.5419 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/1.14, allocations: 1.094 kB / 0.5419 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/1.14, allocations: 73.22 kB / 0.5419 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0081/1.148, allocations: 1.764 MB / 0.5437 GB, free: 136.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/1.149, allocations: 1.404 MB / 0.545 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006316/1.156, allocations: 0.7004 MB / 0.5457 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009812/1.157, allocations: 175.2 kB / 0.5459 GB, free: 135 MB / 446.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 (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.006885/1.164, allocations: 2.425 MB / 0.5482 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002151/1.166, allocations: 0.5456 MB / 0.5488 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/1.168, allocations: 0.7315 MB / 0.5495 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.226e-05/1.168, allocations: 50.88 kB / 0.5495 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-05/1.168, allocations: 1.375 kB / 0.5495 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.192e-05/1.168, allocations: 26.91 kB / 0.5496 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/1.182, allocations: 7.919 MB / 0.5573 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.768e-05/1.182, allocations: 5.781 kB / 0.5573 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006566/1.188, allocations: 1.533 MB / 0.5588 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/1.189, allocations: 44.03 kB / 0.5588 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007567/1.189, allocations: 183 kB / 0.559 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000846/1.19, allocations: 1.287 MB / 0.5603 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.19, allocations: 6.094 kB / 0.5603 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/1.205, allocations: 10.61 MB / 0.5706 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003046/1.208, allocations: 0.85 MB / 0.5715 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001569/1.21, allocations: 171.9 kB / 0.5716 GB, free: 121.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005033/1.215, allocations: 0.8443 MB / 0.5725 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006906/1.216, allocations: 283.8 kB / 0.5727 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005359/1.216, allocations: 159.9 kB / 0.5729 GB, free: 120.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006602/1.223, allocations: 4.073 MB / 0.5769 GB, free: 116.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.11e-07/1.223, allocations: 0 / 0.5769 GB, free: 116.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008178/1.231, allocations: 2.17 MB / 0.579 GB, free: 114 MB / 446.1 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 () * Number of clocked 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.01531/1.247, allocations: 11.46 MB / 0.5902 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01079/1.257, allocations: 7.723 MB / 0.5977 GB, free: 94.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/1.257, allocations: 11.8 kB / 0.5977 GB, free: 94.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00454/1.262, allocations: 3.496 MB / 0.6011 GB, free: 91.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007974/1.27, allocations: 1.347 MB / 0.6025 GB, free: 89.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1761/1.446, allocations: 66.35 MB / 0.6672 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009795/1.456, allocations: 5.062 MB / 0.6722 GB, free: 16.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.01241/1.468, allocations: 2.706 MB / 0.6748 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007314/1.476, allocations: 2.757 MB / 0.6775 GB, free: 10.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/1.476, allocations: 4 kB / 0.6775 GB, free: 10.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4713/1.947, allocations: 139.9 MB / 0.8142 GB, free: 55.24 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/1.947, allocations: 207.5 kB / 0.8144 GB, free: 55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.364/8.312, allocations: 3.938 kB / 0.8144 GB, free: 55 MB / 462.1 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)