Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BLDC_BLDC.Examples.DemoEncoder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo", uses=false) Using package BLDC with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BLDC.Examples.DemoEncoder,fileNamePrefix="BLDC_BLDC_Examples_DemoEncoder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BLDC.Examples.DemoEncoder,fileNamePrefix="BLDC_BLDC_Examples_DemoEncoder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006952/0.006952, allocations: 97.62 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 201.3 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.125/0.125, allocations: 2.577 MB / 293.1 MB, free: 3.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 103.8 kB / 404.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2342, allocations: 50.02 MB / 454.9 MB, free: 21.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoEncoder): time 0.004148/0.2383, allocations: 4.206 MB / 459.1 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.2408, allocations: 1.702 MB / 460.8 MB, free: 16.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.2411, allocations: 25.88 kB / 460.8 MB, free: 16.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.2415, allocations: 141.8 kB / 460.9 MB, free: 16.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007305/0.2422, allocations: 280.2 kB / 461.2 MB, free: 16.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.2429, allocations: 485.7 kB / 461.7 MB, free: 16.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.2441, allocations: 1.331 MB / 463 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006199/0.2447, allocations: 0.5734 MB / 463.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005022/0.2452, allocations: 0.528 MB / 464.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005287/0.2458, allocations: 0.568 MB / 464.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.2459, allocations: 115.4 kB / 464.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.2462, allocations: 178 kB / 465 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.2465, allocations: 347 kB / 465.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.2469, allocations: 0.5967 MB / 465.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.2483, allocations: 1.355 MB / 467.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2484, allocations: 5.312 kB / 467.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2484, allocations: 0 / 467.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.2484, allocations: 0 / 467.3 MB, free: 13.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.003105/0.2515, allocations: 1.688 MB / 469 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2515, allocations: 9.531 kB / 469 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.2517, allocations: 151.3 kB / 469.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008968/0.2526, allocations: 198.1 kB / 469.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.2538, allocations: 0.8073 MB / 470.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.2538, allocations: 81.38 kB / 470.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.254, allocations: 112.4 kB / 470.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.2565, allocations: 1.304 MB / 471.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.2565, allocations: 6.016 kB / 471.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.2567, allocations: 56.47 kB / 471.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.204e-05/0.2567, allocations: 47.64 kB / 471.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.2591, allocations: 1.041 MB / 472.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00492/0.264, allocations: 3.352 MB / 476.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.2658, allocations: 0.9299 MB / 477 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.267, allocations: 0.5965 MB / 477.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.2671, allocations: 171.9 kB / 477.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001789/0.2689, allocations: 1.102 MB / 478.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=108): time 2.475e-06/0.269, allocations: 4 kB / 478.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=109): time 0.006567/0.2755, allocations: 3.339 MB / 482.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.2757, allocations: 449.1 kB / 482.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009312/0.2766, allocations: 0.8248 MB / 483.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.061e-05/0.2767, allocations: 78.03 kB / 483.6 MB, free: 4.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.277, allocations: 0.4884 MB / 484.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.2772, allocations: 315 kB / 484.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.2775, allocations: 259.4 kB / 484.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.2775, allocations: 306.2 kB / 484.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006938/0.2782, allocations: 405.7 kB / 485.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/0.2791, allocations: 0.8326 MB / 486.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.2804, allocations: 1.203 MB / 487.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.2804, allocations: 10.69 kB / 487.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.002049/0.2825, allocations: 1.42 MB / 488.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/0.2825, allocations: 104.2 kB / 488.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.2826, allocations: 9.625 kB / 488.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.2826, allocations: 17.88 kB / 488.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.2833, allocations: 195.7 kB / 489.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.2833, allocations: 25.48 kB / 489.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/0.2841, allocations: 125.9 kB / 489.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.843e-05/0.2842, allocations: 57.16 kB / 489.3 MB, free: 0.9336 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 111 (encoderTimeAndCount.t2,$PRE.encoderTimeAndCount.t2,encoderTimeAndCount.t1,$PRE.encoderTimeAndCount.t1,encoderTimeAndCount.firstEdge,$PRE.encoderTimeAndCount.firstEdge,encoderTimeAndCount.count,$PRE.encoderTimeAndCount.count,encoderPulseCount.count,$PRE.encoderPulseCount.count,hallTimeSpan.t0,$PRE.hallTimeSpan.t0,hallTimeSpan.firstEdge,$PRE.hallTimeSpan.firstEdge,encoderPulseCount.firstTrigger,$PRE.encoderPulseCount.firstTrigger,encoderTimeSpan.firstEdge,$PRE.encoderTimeSpan.firstEdge,encoderTimeSpan.t0,$PRE.encoderTimeSpan.t0,encoderTimeAndCount.firstTrigger,$PRE.encoderTimeAndCount.firstTrigger,refFrequency.count,$PRE.refFrequency.count,refFrequency.T_start,$PRE.refFrequency.T_start,$whenCondition1,encoderTimeAndCount.w,$PRE.encoderTimeAndCount.w,encoderTimeSpan.w,$PRE.encoderTimeSpan.w,encoderPulseCount.w,$PRE.encoderPulseCount.w,hallTimeSpan.notC[5],$PRE.hallTimeSpan.notC[5],hallTimeSpan.notC[4],$PRE.hallTimeSpan.notC[4],hallTimeSpan.notC[3],$PRE.hallTimeSpan.notC[3],hallTimeSpan.notC[2],$PRE.hallTimeSpan.notC[2],hallTimeSpan.notC[1],$PRE.hallTimeSpan.notC[1],hallTimeSpan.uC[5],$PRE.hallTimeSpan.uC[5],hallTimeSpan.uC[4],$PRE.hallTimeSpan.uC[4],hallTimeSpan.uC[3],$PRE.hallTimeSpan.uC[3],hallTimeSpan.uC[2],$PRE.hallTimeSpan.uC[2],hallTimeSpan.uC[1],$PRE.hallTimeSpan.uC[1],encoderPulseCount.notB,$PRE.encoderPulseCount.notB,encoderPulseCount.notA,$PRE.encoderPulseCount.notA,encoderPulseCount.B,$PRE.encoderPulseCount.B,encoderPulseCount.A,$PRE.encoderPulseCount.A,encoderPulseCount.sampleTrigger,encoderTimeSpan.notB,$PRE.encoderTimeSpan.notB,encoderTimeSpan.notA,$PRE.encoderTimeSpan.notA,encoderTimeSpan.B,$PRE.encoderTimeSpan.B,encoderTimeSpan.A,$PRE.encoderTimeSpan.A,encoderTimeAndCount.notB,$PRE.encoderTimeAndCount.notB,encoderTimeAndCount.notA,$PRE.encoderTimeAndCount.notA,encoderTimeAndCount.B,$PRE.encoderTimeAndCount.B,encoderTimeAndCount.A,$PRE.encoderTimeAndCount.A,encoderTimeAndCount.sampleTrigger,incrementalEncoder.y[1],$whenCondition27,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition22,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,hallTimeSpan.w,$PRE.hallTimeSpan.w,unwrapAngle.integralController.local_reset,sinCosEvaluation.integralController.local_reset,f2pos.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006278/0.2848, allocations: 474.5 kB / 489.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.285, allocations: 120 kB / 489.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/0.2879, allocations: 1.518 MB / 491.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.288, allocations: 8.812 kB / 491.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.288, allocations: 1 kB / 491.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.288, allocations: 7.969 kB / 491.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/0.293, allocations: 2.697 MB / 494.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2931, allocations: 0 / 494.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.2936, allocations: 107.8 kB / 494.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.2936, allocations: 0 / 494.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/0.2937, allocations: 47.97 kB / 494.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.2937, allocations: 4 kB / 494.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2937, allocations: 4 kB / 494.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.2979, allocations: 2.258 MB / 496.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/0.2985, allocations: 296.1 kB / 496.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.2987, allocations: 63.97 kB / 496.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/0.2996, allocations: 119.9 kB / 497 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.2999, allocations: 144.7 kB / 497.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/0.3, allocations: 106.4 kB / 497.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007392/0.3008, allocations: 0.5498 MB / 497.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3008, allocations: 0 / 497.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001054/0.3019, allocations: 263.9 kB / 498.1 MB, free: 9.461 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 7 (speedSensor.flange.phi,sinCosEvaluation.integralController.y,encoderTimeAndCount.phi,encoderTimeSpan.phi,encoderPulseCount.phi,unwrapAngle.integralController.y,hallTimeSpan.phi) * Number of discrete variables: 69 (encoderPulseCount.sampleTrigger,encoderTimeAndCount.sampleTrigger,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition22,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition27,refFrequency.T_start,refFrequency.count,incrementalEncoder.y[1],encoderTimeAndCount.firstTrigger,encoderTimeAndCount.w,encoderTimeAndCount.A,encoderTimeAndCount.B,encoderTimeAndCount.notA,encoderTimeAndCount.notB,encoderTimeAndCount.count,encoderTimeAndCount.firstEdge,encoderTimeAndCount.t1,encoderTimeAndCount.t2,encoderTimeSpan.w,encoderTimeSpan.A,encoderTimeSpan.B,encoderTimeSpan.notA,encoderTimeSpan.notB,encoderTimeSpan.firstEdge,encoderTimeSpan.t0,encoderPulseCount.firstTrigger,encoderPulseCount.w,encoderPulseCount.A,encoderPulseCount.B,encoderPulseCount.notA,encoderPulseCount.notB,encoderPulseCount.count,hallTimeSpan.uC[1],hallTimeSpan.uC[2],hallTimeSpan.uC[3],hallTimeSpan.uC[4],hallTimeSpan.uC[5],hallTimeSpan.w,hallTimeSpan.notC[1],hallTimeSpan.notC[2],hallTimeSpan.notC[3],hallTimeSpan.notC[4],hallTimeSpan.notC[5],hallTimeSpan.firstEdge,hallTimeSpan.t0) * Number of discrete states: 44 (refFrequency.count,encoderTimeSpan.A,encoderTimeSpan.notA,encoderTimeSpan.B,encoderTimeSpan.notB,encoderTimeAndCount.w,$whenCondition27,encoderTimeAndCount.t2,encoderTimeAndCount.t1,encoderTimeAndCount.firstEdge,encoderTimeAndCount.count,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,encoderTimeAndCount.A,encoderTimeAndCount.notA,encoderTimeAndCount.B,encoderTimeAndCount.notB,encoderPulseCount.w,$whenCondition22,encoderPulseCount.count,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,encoderPulseCount.A,encoderPulseCount.notA,encoderPulseCount.B,encoderPulseCount.notB,hallTimeSpan.uC[1],hallTimeSpan.notC[1],hallTimeSpan.uC[2],hallTimeSpan.notC[2],hallTimeSpan.uC[3],hallTimeSpan.notC[3],hallTimeSpan.uC[4],hallTimeSpan.notC[4],hallTimeSpan.uC[5],hallTimeSpan.notC[5],hallTimeSpan.t0,hallTimeSpan.firstEdge,encoderTimeSpan.t0,encoderTimeSpan.firstEdge) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00467/0.3065, allocations: 2.908 MB / 0.4892 GB, free: 6.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.3091, allocations: 1.423 MB / 0.4906 GB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3091, allocations: 0 / 0.4906 GB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.3106, allocations: 1.071 MB / 0.4917 GB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009039/0.3116, allocations: 141.7 kB / 0.4918 GB, free: 3.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.3259, allocations: 9.767 MB / 0.5013 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008355/0.3268, allocations: 1.104 MB / 0.5024 GB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006351/0.3274, allocations: 220.4 kB / 0.5026 GB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006199/0.3281, allocations: 427.2 kB / 0.503 GB, free: 7.859 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3281, allocations: 0 / 0.503 GB, free: 7.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/0.3803, allocations: 22.41 MB / 0.5249 GB, free: 1.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.02, allocations: 3.938 kB / 0.5249 GB, free: 1.566 MB / 398.1 MB (rm -f BLDC_BLDC.Examples.DemoEncoder.pipe ; mkfifo BLDC_BLDC.Examples.DemoEncoder.pipe ; head -c 1048576 < BLDC_BLDC.Examples.DemoEncoder.pipe >> ../files/BLDC_BLDC.Examples.DemoEncoder.sim & python3 -m fmpy simulate --output-file BLDC_BLDC.Examples.DemoEncoder_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 BLDC_BLDC_Examples_DemoEncoder.fmu > BLDC_BLDC.Examples.DemoEncoder.pipe 2>&1)