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: translateModel(BLDC.Examples.DemoEncoder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoEncoder") translateModel(BLDC.Examples.DemoEncoder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoEncoder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 92.7 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 179.9 kB / 16.92 MB, free: 6.656 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.647/1.647, allocations: 223.2 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.1821/0.1821, allocations: 2.578 MB / 294.6 MB, free: 4.164 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004831, allocations: 12 kB / 356.4 MB, free: 4.496 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.132, allocations: 51.03 MB / 407.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoEncoder): time 0.005039/0.1371, allocations: 3.779 MB / 411.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003423/0.1405, allocations: 1.683 MB / 412.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/0.1409, allocations: 27.81 kB / 412.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1413, allocations: 99.14 kB / 413 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008207/0.1421, allocations: 222.7 kB / 413.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.1429, allocations: 431.5 kB / 413.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.1445, allocations: 1.321 MB / 415 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007328/0.1453, allocations: 0.5236 MB / 415.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/0.1457, allocations: 406.2 kB / 415.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007214/0.1465, allocations: 489.6 kB / 416.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.1466, allocations: 40 kB / 416.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.1469, allocations: 87.94 kB / 416.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.1471, allocations: 258.9 kB / 416.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004706/0.1476, allocations: 0.5103 MB / 417.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008495/0.1485, allocations: 0.9472 MB / 418.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1485, allocations: 4 kB / 418.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1485, allocations: 0 / 418.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1485, allocations: 3.938 kB / 418.2 MB, free: 6.566 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.002854/0.1514, allocations: 1.455 MB / 419.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1514, allocations: 12.03 kB / 419.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008855/0.1523, allocations: 203.3 kB / 419.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.1534, allocations: 0.7648 MB / 420.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.1535, allocations: 78.38 kB / 420.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.1537, allocations: 112.4 kB / 420.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.1561, allocations: 1.323 MB / 422.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.1562, allocations: 4 kB / 422.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.1563, allocations: 59.95 kB / 422.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.168e-05/0.1564, allocations: 53.92 kB / 422.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.1587, allocations: 1.073 MB / 423.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.268/0.4267, allocations: 3.409 MB / 426.8 MB, free: 45.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.4293, allocations: 0.9714 MB / 427.7 MB, free: 45.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.4308, allocations: 0.6068 MB / 428.3 MB, free: 45.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.4311, allocations: 174.4 kB / 428.5 MB, free: 45.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002354/0.4334, allocations: 1.132 MB / 429.6 MB, free: 45.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=108): time 3.477e-06/0.4334, allocations: 0 / 429.6 MB, free: 45.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=109): time 0.007396/0.4409, allocations: 3.421 MB / 433.1 MB, free: 44.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.441, allocations: 452.7 kB / 433.5 MB, free: 44.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000865/0.4419, allocations: 0.8268 MB / 434.3 MB, free: 43.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/0.442, allocations: 72.92 kB / 434.4 MB, free: 43.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.4423, allocations: 0.4892 MB / 434.9 MB, free: 43.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.4425, allocations: 303 kB / 435.2 MB, free: 43.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.4426, allocations: 140.3 kB / 435.3 MB, free: 43.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.4427, allocations: 305.1 kB / 435.6 MB, free: 42.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007064/0.4434, allocations: 422.1 kB / 436 MB, free: 42.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008663/0.4443, allocations: 0.8308 MB / 436.9 MB, free: 41.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.4457, allocations: 1.232 MB / 438.1 MB, free: 41.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.4457, allocations: 3.25 kB / 438.1 MB, free: 41.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.002026/0.4478, allocations: 1.429 MB / 439.5 MB, free: 40.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/0.4478, allocations: 97.27 kB / 439.6 MB, free: 40.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4478, allocations: 20.36 kB / 439.6 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.4479, allocations: 17.97 kB / 439.7 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.4485, allocations: 199 kB / 439.8 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.323e-05/0.4486, allocations: 34.31 kB / 439.9 MB, free: 40.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/0.4494, allocations: 160.2 kB / 440 MB, free: 40.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-05/0.4495, allocations: 55.5 kB / 440.1 MB, free: 40.31 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.0007471/0.4503, allocations: 470 kB / 440.6 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.4505, allocations: 112.8 kB / 440.7 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.4534, allocations: 1.557 MB / 442.2 MB, free: 39.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.4534, allocations: 12.84 kB / 442.2 MB, free: 39.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.4534, allocations: 7.156 kB / 442.2 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.4534, allocations: 10.69 kB / 442.3 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.4577, allocations: 2.742 MB / 445 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4578, allocations: 0 / 445 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.4582, allocations: 109.7 kB / 445.1 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.4582, allocations: 3.125 kB / 445.1 MB, free: 38.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.342e-05/0.4583, allocations: 50.53 kB / 445.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.4583, allocations: 11.09 kB / 445.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4584, allocations: 0 / 445.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/0.4622, allocations: 2.318 MB / 447.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.4627, allocations: 278.8 kB / 447.8 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.4629, allocations: 62.8 kB / 447.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/0.4637, allocations: 153.6 kB / 448 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.464, allocations: 136.6 kB / 448.1 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.4641, allocations: 110 kB / 448.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006024/0.4647, allocations: 0.5489 MB / 448.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4647, allocations: 0 / 448.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009013/0.4656, allocations: 256.1 kB / 449 MB, free: 36.64 MB / 350.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.000289/0.4659, allocations: 218.9 kB / 449.2 MB, free: 36.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.4682, allocations: 1.447 MB / 450.7 MB, free: 35.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4683, allocations: 1.5 kB / 450.7 MB, free: 35.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.4697, allocations: 1.058 MB / 451.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009512/0.4706, allocations: 146.9 kB / 451.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.4746, allocations: 2.824 MB / 454.7 MB, free: 33.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.4752, allocations: 1.102 MB / 455.8 MB, free: 32.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.4755, allocations: 92.59 kB / 455.9 MB, free: 32.88 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4755, allocations: 0 / 455.9 MB, free: 32.88 MB / 350.1 MB Notification: Performance of Templates: time 0.03241/0.508, allocations: 14.3 MB / 470.2 MB, free: 31.14 MB / 350.1 MB make -j1 -f BLDC_BLDC.Examples.DemoEncoder.makefile make -j1 -f BLDC_BLDC.Examples.DemoEncoder.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBLDC_BLDC.Examples.DemoEncoderCalcHelperMain.o OMCppBLDC_BLDC.Examples.DemoEncoderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBLDC_BLDC.Examples.DemoEncoderCalcHelperMain.o] Error 1