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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 114.9 kB / 17.08 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 195.7 kB / 20.03 MB, free: 3.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.1214/0.1214, allocations: 2.576 MB / 300.5 MB, free: 4.328 MB / 238.1 MB " [Timeout remaining time 180] 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=300000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoEncoder") translateModel(BLDC.Examples.DemoEncoder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.DemoEncoder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 99.83 kB / 414.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2551, allocations: 50.04 MB / 464.7 MB, free: 22.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoEncoder): time 0.004618/0.2598, allocations: 4.211 MB / 469 MB, free: 19.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.2628, allocations: 1.704 MB / 470.7 MB, free: 18.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005002/0.2633, allocations: 22.31 kB / 470.7 MB, free: 18.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.2637, allocations: 136.8 kB / 470.8 MB, free: 18.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008282/0.2645, allocations: 277.4 kB / 471.1 MB, free: 18.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.2654, allocations: 483.5 kB / 471.6 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.2669, allocations: 1.335 MB / 472.9 MB, free: 17.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.2676, allocations: 0.5711 MB / 473.5 MB, free: 17.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006821/0.2683, allocations: 0.5146 MB / 474 MB, free: 16.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.2689, allocations: 0.5757 MB / 474.6 MB, free: 16.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.2691, allocations: 113.5 kB / 474.7 MB, free: 16.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003369/0.2695, allocations: 186.3 kB / 474.9 MB, free: 16.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003425/0.2698, allocations: 347.7 kB / 475.2 MB, free: 16.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005102/0.2704, allocations: 0.5874 MB / 475.8 MB, free: 16.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.272, allocations: 1.357 MB / 477.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2721, allocations: 0 / 477.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2721, allocations: 0 / 477.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.295e-05/0.2721, allocations: 0 / 477.1 MB, free: 15.45 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.003337/0.2754, allocations: 1.69 MB / 478.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2755, allocations: 9 kB / 478.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009114/0.2764, allocations: 201.3 kB / 479 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.2777, allocations: 0.8113 MB / 479.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/0.2777, allocations: 77.34 kB / 479.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.2779, allocations: 109.7 kB / 480 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.2804, allocations: 1.31 MB / 481.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.2805, allocations: 5.938 kB / 481.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.2806, allocations: 57.5 kB / 481.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.2807, allocations: 51.05 kB / 481.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.283, allocations: 1.04 MB / 482.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004965/0.2879, allocations: 3.34 MB / 485.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.2897, allocations: 0.9312 MB / 486.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.2908, allocations: 0.5897 MB / 487.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.291, allocations: 171.8 kB / 487.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/0.2926, allocations: 1.12 MB / 488.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=108): time 2.455e-06/0.2926, allocations: 0 / 488.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=109): time 0.006946/0.2996, allocations: 3.34 MB / 492 MB, free: 7.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.2997, allocations: 453.7 kB / 492.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009887/0.3007, allocations: 0.8287 MB / 493.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.3009, allocations: 74.22 kB / 493.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.3011, allocations: 499.7 kB / 493.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.3013, allocations: 315.8 kB / 494.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.3016, allocations: 258.6 kB / 494.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.3017, allocations: 302.4 kB / 494.7 MB, free: 5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/0.3024, allocations: 404.6 kB / 495.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008856/0.3033, allocations: 0.8367 MB / 495.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.3047, allocations: 1.196 MB / 497.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.3047, allocations: 2.531 kB / 497.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.002261/0.307, allocations: 1.417 MB / 498.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.3071, allocations: 103.6 kB / 498.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.3071, allocations: 11.16 kB / 498.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.285e-05/0.3072, allocations: 25.64 kB / 498.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/0.3079, allocations: 201.9 kB / 498.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/0.3079, allocations: 25.89 kB / 498.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/0.3088, allocations: 121.4 kB / 499 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.3089, allocations: 58.38 kB / 499 MB, free: 2.125 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.0006805/0.3095, allocations: 468.7 kB / 499.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.3097, allocations: 120.2 kB / 499.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.3124, allocations: 1.521 MB / 0.4894 GB, free: 248 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.3124, allocations: 16 kB / 0.4894 GB, free: 232 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3124, allocations: 0 / 0.4894 GB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.3124, allocations: 3.984 kB / 0.4894 GB, free: 228 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004897/0.3173, allocations: 2.689 MB / 0.492 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3174, allocations: 4 kB / 0.492 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.3179, allocations: 107.8 kB / 0.4921 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.3179, allocations: 4 kB / 0.4922 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.982e-05/0.318, allocations: 47.88 kB / 0.4922 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.318, allocations: 4 kB / 0.4922 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.318, allocations: 0 / 0.4922 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004501/0.3225, allocations: 2.262 MB / 0.4944 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006057/0.3231, allocations: 288.2 kB / 0.4947 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.3234, allocations: 67.97 kB / 0.4947 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008334/0.3242, allocations: 111.9 kB / 0.4949 GB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.3246, allocations: 144.8 kB / 0.495 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.3248, allocations: 115.7 kB / 0.4951 GB, free: 10.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000748/0.3255, allocations: 0.5498 MB / 0.4956 GB, free: 9.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3255, allocations: 0 / 0.4956 GB, free: 9.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001029/0.3265, allocations: 263.9 kB / 0.4959 GB, free: 9.469 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.0003625/0.3269, allocations: 209.8 kB / 0.4961 GB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002746/0.3297, allocations: 1.41 MB / 0.4975 GB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.3297, allocations: 0.5625 kB / 0.4975 GB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.3313, allocations: 1.048 MB / 0.4985 GB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.3323, allocations: 156.1 kB / 0.4986 GB, free: 6.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.3366, allocations: 2.356 MB / 0.5009 GB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/0.3373, allocations: 1.108 MB / 0.502 GB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/0.3377, allocations: 99.42 kB / 0.5021 GB, free: 2.969 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3377, allocations: 0 / 0.5021 GB, free: 2.969 MB / 366.1 MB Notification: Performance of Templates: time 0.02473/0.3624, allocations: 14.63 MB / 0.5164 GB, free: 4.352 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f BLDC_BLDC.Examples.DemoEncoder.makefile [Timeout 660] make -j1 -f BLDC_BLDC.Examples.DemoEncoder.makefile clang++ -std=c++17 -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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBLDC_BLDC.Examples.DemoEncoderCalcHelperMain.o OMCppBLDC_BLDC.Examples.DemoEncoderCalcHelperMain.cpp In file included from OMCppBLDC_BLDC.Examples.DemoEncoderCalcHelperMain.cpp:33: ./OMCppBLDC_BLDC.Examples.DemoEncoder.cpp:450:86: error: invalid argument type 'WrapArray' to unary expression _functions->Modelica_Math_BooleanVectors_firstTrueIndex((_hallTimeSpan_P_uC_ && (!_discrete_events->pre(_hallTimeSpan_P_uC_))), tmp33); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppBLDC_BLDC.Examples.DemoEncoder.cpp:465:88: error: invalid argument type 'WrapArray' to unary expression _functions->Modelica_Math_BooleanVectors_firstTrueIndex((_hallTimeSpan_P_notC_ && (!_discrete_events->pre(_hallTimeSpan_P_notC_))), tmp36); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make: *** [: OMCppBLDC_BLDC.Examples.DemoEncoderCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.9876732520060614] Failed to read output from testmodel.py, exit status != 0: 0.37034779600799084 0.38263545600000004 0.10797635900000001 Calling exit ...