Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BLDC_BLDC.Examples.DemoBLDC.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.DemoBLDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=399998,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoBLDC") translateModel(BLDC.Examples.DemoBLDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=399998,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoBLDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 111.9 kB / 15.99 MB, free: 5.91 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.001533/0.001534, allocations: 190.8 kB / 16.91 MB, free: 5.758 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.494/1.494, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.01191/0.01191, allocations: 2.586 MB / 293.3 MB, free: 12.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 87.86 kB / 354.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2747, allocations: 50.04 MB / 404.2 MB, free: 33.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoBLDC): time 0.01408/0.2888, allocations: 16.82 MB / 421 MB, free: 16.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.3005, allocations: 5.834 MB / 426.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/0.3051, allocations: 107.6 kB / 427 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004296/0.3094, allocations: 1.072 MB / 428 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006034/0.3155, allocations: 1.395 MB / 429.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.3186, allocations: 0.9472 MB / 430.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007827/0.3264, allocations: 6.643 MB / 437 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00682/0.3333, allocations: 5.456 MB / 442.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004531/0.3379, allocations: 2.928 MB / 445.4 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005693/0.3436, allocations: 3.445 MB / 448.9 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002593/0.3462, allocations: 0.8281 MB / 449.7 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/0.3501, allocations: 1.07 MB / 450.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002982/0.3531, allocations: 2.014 MB / 452.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007628/0.3608, allocations: 3.575 MB / 456.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.3713, allocations: 9.163 MB / 465.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3714, allocations: 0 / 465.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3714, allocations: 0 / 465.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003592/0.3717, allocations: 4 kB / 465.5 MB, free: 4.004 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: 1396 * Number of variables: 1396 Notification: Performance of Generate backend data structure: time 0.0221/0.3939, allocations: 7.111 MB / 472.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.3939, allocations: 12.03 kB / 472.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/0.3996, allocations: 1.008 MB / 473.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008024/0.4077, allocations: 3.638 MB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003685/0.4081, allocations: 394.5 kB / 477.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001961/0.41, allocations: 0.5155 MB / 478.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01802/0.4281, allocations: 7.677 MB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/0.4282, allocations: 7.938 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006944/0.4289, allocations: 224 kB / 486.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002478/0.4292, allocations: 250.5 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/0.4446, allocations: 6.865 MB / 493.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05171/0.4963, allocations: 23.45 MB / 0.5045 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2562/0.7526, allocations: 5.833 MB / 0.5102 GB, free: 89.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005534/0.7581, allocations: 2.876 MB / 0.513 GB, free: 88.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01542/0.7736, allocations: 8.337 MB / 0.5212 GB, free: 84.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003511/0.7772, allocations: 2.367 MB / 0.5235 GB, free: 83.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=316): time 5.801e-06/0.7772, allocations: 0 / 0.5235 GB, free: 83.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=320): time 0.04908/0.8263, allocations: 20.9 MB / 0.5439 GB, free: 62.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.8265, allocations: 347 kB / 0.5442 GB, free: 62.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00421/0.8307, allocations: 3.277 MB / 0.5474 GB, free: 59.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005686/0.8313, allocations: 101.7 kB / 0.5475 GB, free: 59.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.8328, allocations: 2.272 MB / 0.5498 GB, free: 56.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009173/0.8338, allocations: 0.9999 MB / 0.5507 GB, free: 55.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000883/0.8347, allocations: 0.648 MB / 0.5514 GB, free: 55.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.8347, allocations: 305.1 kB / 0.5517 GB, free: 54.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002542/0.8373, allocations: 1.806 MB / 0.5534 GB, free: 53.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.8401, allocations: 2.618 MB / 0.556 GB, free: 50.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004995/0.8451, allocations: 4.212 MB / 0.5601 GB, free: 45.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/0.8452, allocations: 8 kB / 0.5601 GB, free: 45.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=428) (initialization): time 0.007948/0.8531, allocations: 5.52 MB / 0.5655 GB, free: 40.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.8532, allocations: 12.66 kB / 0.5655 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.369e-05/0.8533, allocations: 20 kB / 0.5655 GB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002718/0.856, allocations: 1.444 MB / 0.5669 GB, free: 38.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.8579, allocations: 0.5136 MB / 0.5674 GB, free: 38.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/0.8742, allocations: 17.1 MB / 0.5841 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.8774, allocations: 211.9 kB / 0.5843 GB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004879/0.8779, allocations: 136 kB / 0.5845 GB, free: 20.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 84 (triggeredMeanDC.t0,$PRE.triggeredMeanDC.t0,triggeredMeanDC.y_last,$PRE.triggeredMeanDC.y_last,triggeredMeanAC.t0,$PRE.triggeredMeanAC.t0,triggeredMeanAC.y_last,$PRE.triggeredMeanAC.y_last,triggeredMeanAC.trigger,$PRE.triggeredMeanAC.trigger,measurementTrigger.fallingEdge[5].not_u,$PRE.measurementTrigger.fallingEdge[5].not_u,measurementTrigger.fallingEdge[5].y,measurementTrigger.fallingEdge[4].not_u,$PRE.measurementTrigger.fallingEdge[4].not_u,measurementTrigger.fallingEdge[4].y,measurementTrigger.fallingEdge[3].not_u,$PRE.measurementTrigger.fallingEdge[3].not_u,measurementTrigger.fallingEdge[3].y,measurementTrigger.fallingEdge[2].not_u,$PRE.measurementTrigger.fallingEdge[2].not_u,measurementTrigger.fallingEdge[2].y,measurementTrigger.fallingEdge[1].not_u,$PRE.measurementTrigger.fallingEdge[1].not_u,measurementTrigger.fallingEdge[1].y,measurementTrigger.risingEdge[5].y,measurementTrigger.risingEdge[5].u,$PRE.measurementTrigger.risingEdge[5].u,measurementTrigger.risingEdge[4].y,measurementTrigger.risingEdge[4].u,$PRE.measurementTrigger.risingEdge[4].u,measurementTrigger.risingEdge[3].y,measurementTrigger.risingEdge[3].u,$PRE.measurementTrigger.risingEdge[3].u,measurementTrigger.risingEdge[2].y,measurementTrigger.risingEdge[2].u,$PRE.measurementTrigger.risingEdge[2].u,measurementTrigger.risingEdge[1].y,measurementTrigger.risingEdge[1].u,$PRE.measurementTrigger.risingEdge[1].u,triggeredMeanDC.trigger,$PRE.triggeredMeanDC.trigger,electronicCommutator.fire_n[5],electronicCommutator.fire_n[4],electronicCommutator.fire_n[3],electronicCommutator.fire_n[2],electronicCommutator.fire_n[1],electronicCommutator.fire_p[5],electronicCommutator.fire_p[4],electronicCommutator.fire_p[3],electronicCommutator.fire_p[2],electronicCommutator.fire_p[1],inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[5].y,inverter.andCondition_n[4].y,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[5].y,inverter.andCondition_p[4].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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): 3 systems {(13,49), (4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.003295/0.8812, allocations: 1.843 MB / 0.5863 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009001/0.8821, allocations: 367.5 kB / 0.5866 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008143/0.8902, allocations: 5.359 MB / 0.5918 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.8903, allocations: 28 kB / 0.5919 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.8903, allocations: 4 kB / 0.5919 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.8903, allocations: 15.94 kB / 0.5919 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.9059, allocations: 10.95 MB / 0.6026 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.9059, allocations: 4.25 kB / 0.6026 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.9071, allocations: 295.5 kB / 0.6029 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003457/0.9105, allocations: 1.681 MB / 0.6045 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003175/0.9109, allocations: 71.97 kB / 0.6046 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02359/0.9345, allocations: 19 MB / 0.6231 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9345, allocations: 0 / 0.6231 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/0.9474, allocations: 7.889 MB / 0.6308 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002389/0.9499, allocations: 0.8714 MB / 0.6317 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009028/0.9508, allocations: 79.98 kB / 0.6318 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/0.9527, allocations: 183.8 kB / 0.6319 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/0.9538, allocations: 462.7 kB / 0.6324 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/0.954, allocations: 87.97 kB / 0.6325 GB, free: 2.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003475/0.9575, allocations: 2.222 MB / 0.6346 GB, free: 15.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9575, allocations: 0 / 0.6346 GB, free: 15.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004892/0.9624, allocations: 1.196 MB / 0.6358 GB, free: 14.78 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (smpm.inertiaRotor.w,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,loadInertia.phi,triggeredMeanDC.x,triggeredMeanAC.x) * Number of discrete variables: 68 ($whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,electronicCommutator.fire_p[1],electronicCommutator.fire_p[2],electronicCommutator.fire_p[3],electronicCommutator.fire_p[4],electronicCommutator.fire_p[5],electronicCommutator.fire_n[1],electronicCommutator.fire_n[2],electronicCommutator.fire_n[3],electronicCommutator.fire_n[4],electronicCommutator.fire_n[5],triggeredMeanDC.trigger,triggeredMeanDC.t0,triggeredMeanDC.y_last,measurementTrigger.risingEdge[1].u,measurementTrigger.risingEdge[1].y,measurementTrigger.risingEdge[2].u,measurementTrigger.risingEdge[2].y,measurementTrigger.risingEdge[3].u,measurementTrigger.risingEdge[3].y,measurementTrigger.risingEdge[4].u,measurementTrigger.risingEdge[4].y,measurementTrigger.risingEdge[5].u,measurementTrigger.risingEdge[5].y,measurementTrigger.fallingEdge[1].y,measurementTrigger.fallingEdge[1].not_u,measurementTrigger.fallingEdge[2].y,measurementTrigger.fallingEdge[2].not_u,measurementTrigger.fallingEdge[3].y,measurementTrigger.fallingEdge[3].not_u,measurementTrigger.fallingEdge[4].y,measurementTrigger.fallingEdge[4].not_u,measurementTrigger.fallingEdge[5].y,measurementTrigger.fallingEdge[5].not_u,triggeredMeanAC.trigger,triggeredMeanAC.t0,triggeredMeanAC.y_last) * Number of discrete states: 18 (measurementTrigger.fallingEdge[1].not_u,measurementTrigger.risingEdge[1].u,measurementTrigger.fallingEdge[2].not_u,measurementTrigger.risingEdge[2].u,measurementTrigger.fallingEdge[3].not_u,measurementTrigger.risingEdge[3].u,measurementTrigger.fallingEdge[4].not_u,measurementTrigger.risingEdge[4].u,measurementTrigger.fallingEdge[5].not_u,measurementTrigger.risingEdge[5].u,triggeredMeanDC.trigger,triggeredMeanDC.t0,triggeredMeanDC.x,triggeredMeanDC.y_last,triggeredMeanAC.trigger,triggeredMeanAC.t0,triggeredMeanAC.x,triggeredMeanAC.y_last) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(21,91)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007975/0.9632, allocations: 290.1 kB / 0.6361 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01773/0.981, allocations: 8.456 MB / 0.6443 GB, free: 5.965 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.981, allocations: 4 kB / 0.6443 GB, free: 5.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006613/0.9876, allocations: 3.745 MB / 0.648 GB, free: 2.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005404/0.9931, allocations: 1.092 MB / 0.6491 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02491/1.018, allocations: 12.96 MB / 0.6617 GB, free: 4.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0039/1.022, allocations: 3.572 MB / 0.6652 GB, free: 488 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.023, allocations: 263.4 kB / 0.6655 GB, free: 224 kB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/1.023, allocations: 0 / 0.6655 GB, free: 224 kB / 446.1 MB Notification: Performance of Templates: time 0.4305/1.454, allocations: 179.2 MB / 0.8404 GB, free: 4.418 MB / 462.1 MB make -j1 -f BLDC_BLDC.Examples.DemoBLDC.makefile make -j1 -f BLDC_BLDC.Examples.DemoBLDC.makefile clang++ -std=c++14 -fopenmp=libomp -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.DemoBLDCCalcHelperMain.o OMCppBLDC_BLDC.Examples.DemoBLDCCalcHelperMain.cpp In file included from OMCppBLDC_BLDC.Examples.DemoBLDCCalcHelperMain.cpp:28: ./OMCppBLDC_BLDC.Examples.DemoBLDCFunctions.cpp:60:66: error: use of undeclared identifier 'WHOLEDIM' Complex__omcQ_27constructor_27_fromReal(sum_array(v_(WHOLEDIM).re_), sum_array(v_(WHOLEDIM).im_),tmp456); ^ ./OMCppBLDC_BLDC.Examples.DemoBLDCFunctions.cpp:60:103: error: use of undeclared identifier 'WHOLEDIM' Complex__omcQ_27constructor_27_fromReal(sum_array(v_(WHOLEDIM).re_), sum_array(v_(WHOLEDIM).im_),tmp456); ^ 2 errors generated. make: *** [: OMCppBLDC_BLDC.Examples.DemoBLDCCalcHelperMain.o] Error 1