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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8793/0.8793, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.00793/0.00793, allocations: 1.991 MB / 261.9 MB, free: 11.25 MB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 3.306e-06/3.306e-06, allocations: 0 / 385.5 MB, free: 11.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.285e-05, allocations: 5.234 kB / 385.5 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.DemoEncoder): time 0.004781/0.004814, allocations: 3.864 MB / 389.4 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.007914, allocations: 1.703 MB / 391.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.008538, allocations: 31.75 kB / 391.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.008915, allocations: 142.5 kB / 391.3 MB, free: 6.082 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.00992, allocations: 301.8 kB / 391.6 MB, free: 5.785 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008656/0.01079, allocations: 487.1 kB / 392 MB, free: 5.309 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.01267, allocations: 1.344 MB / 393.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005679/0.01324, allocations: 377.2 kB / 393.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008619/0.0141, allocations: 0.7367 MB / 394.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005696/0.01467, allocations: 478.6 kB / 394.9 MB, free: 2.367 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.01482, allocations: 116 kB / 395.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.01512, allocations: 171.9 kB / 395.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002931/0.01541, allocations: 382.8 kB / 395.6 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006929/0.0161, allocations: 390.9 kB / 396 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.01751, allocations: 1.417 MB / 397.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.01751, allocations: 0 / 397.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.01752, allocations: 3.938 kB / 397.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.01754, allocations: 4 kB / 397.4 MB, free: 15.9 MB / 330.7 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.002459/0.01999, allocations: 1.603 MB / 399 MB, free: 14.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.02005, allocations: 12.03 kB / 399 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006297/0.02068, allocations: 212 kB / 399.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009687/0.02164, allocations: 0.7471 MB / 400 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.739e-05/0.02171, allocations: 74.38 kB / 400 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.02184, allocations: 108.4 kB / 400.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.02364, allocations: 1.575 MB / 401.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.02367, allocations: 7.922 kB / 401.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/0.02375, allocations: 59.95 kB / 401.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.842e-05/0.0238, allocations: 49.98 kB / 401.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.02569, allocations: 1.15 MB / 403 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.02933, allocations: 2.85 MB / 405.8 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.03049, allocations: 0.8539 MB / 406.7 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/0.03115, allocations: 0.5214 MB / 407.2 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.03127, allocations: 20.64 kB / 407.2 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/0.0326, allocations: 1.392 MB / 408.6 MB, free: 4.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=108): time 3.827e-06/0.0326, allocations: 0 / 408.6 MB, free: 4.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=109): time 0.004999/0.0376, allocations: 3.431 MB / 412.1 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002084/0.03781, allocations: 456.2 kB / 412.5 MB, free: 156 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1383/0.1761, allocations: 0.7011 MB / 413.2 MB, free: 38.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.1763, allocations: 80.66 kB / 413.3 MB, free: 38.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.1765, allocations: 0.4981 MB / 413.8 MB, free: 38.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.1766, allocations: 317.8 kB / 414.1 MB, free: 38.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.1769, allocations: 255.8 kB / 414.3 MB, free: 38.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.1769, allocations: 357.6 kB / 414.7 MB, free: 37.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.1775, allocations: 496.9 kB / 415.2 MB, free: 37.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006669/0.1782, allocations: 1.108 MB / 416.3 MB, free: 36.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009666/0.1791, allocations: 1.213 MB / 417.5 MB, free: 35.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.1791, allocations: 3.469 kB / 417.5 MB, free: 35.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.001541/0.1807, allocations: 1.522 MB / 419 MB, free: 35.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.1807, allocations: 101.7 kB / 419.1 MB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.1807, allocations: 13.06 kB / 419.1 MB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/0.1808, allocations: 18.23 kB / 419.2 MB, free: 35.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.1812, allocations: 204.2 kB / 419.4 MB, free: 34.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/0.1812, allocations: 23.72 kB / 419.4 MB, free: 34.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.1816, allocations: 123.8 kB / 419.5 MB, free: 34.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.1817, allocations: 57.38 kB / 419.6 MB, free: 34.94 MB / 330.7 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.0004567/0.1821, allocations: 477.7 kB / 420 MB, free: 34.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1822, allocations: 109 kB / 420.1 MB, free: 34.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/0.1841, allocations: 1.613 MB / 421.7 MB, free: 33.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.1841, allocations: 13.34 kB / 421.8 MB, free: 33.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1841, allocations: 0 / 421.8 MB, free: 33.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.1841, allocations: 5.953 kB / 421.8 MB, free: 33.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.1871, allocations: 2.504 MB / 424.3 MB, free: 32.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.1871, allocations: 2.281 kB / 424.3 MB, free: 32.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.1874, allocations: 102.8 kB / 424.4 MB, free: 32.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.1874, allocations: 4.594 kB / 424.4 MB, free: 32.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.326e-05/0.1875, allocations: 43.31 kB / 424.4 MB, free: 32.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1875, allocations: 8.25 kB / 424.4 MB, free: 32.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1875, allocations: 1.438 kB / 424.4 MB, free: 32.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.19, allocations: 2.43 MB / 426.9 MB, free: 31.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.1904, allocations: 199.6 kB / 427 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.1905, allocations: 65.08 kB / 427.1 MB, free: 31.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.191, allocations: 114.4 kB / 427.2 MB, free: 31.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.1912, allocations: 142.6 kB / 427.4 MB, free: 31.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.1913, allocations: 113.2 kB / 427.5 MB, free: 31.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004099/0.1917, allocations: 471.4 kB / 427.9 MB, free: 31.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1917, allocations: 0 / 427.9 MB, free: 31.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007424/0.1925, allocations: 260.7 kB / 428.2 MB, free: 31.25 MB / 330.7 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.0002535/0.1927, allocations: 210.3 kB / 428.4 MB, free: 31.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.1943, allocations: 1.452 MB / 429.8 MB, free: 30.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.1943, allocations: 5.75 kB / 429.9 MB, free: 30.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008021/0.1951, allocations: 0.7798 MB / 430.6 MB, free: 30.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.1956, allocations: 142.2 kB / 430.8 MB, free: 29.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.1979, allocations: 2.286 MB / 433.1 MB, free: 28.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1982, allocations: 0.5067 MB / 433.6 MB, free: 28.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.1984, allocations: 92.67 kB / 433.7 MB, free: 28.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1984, allocations: 0 / 433.7 MB, free: 28.45 MB / 330.7 MB Notification: Performance of Templates: time 0.009851/0.2082, allocations: 14.55 MB / 448.2 MB, free: 13.98 MB / 330.7 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 450 | _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 465 | _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: 2.5861679865047336] Failed to read output from testmodel.py, exit status != 0: 0.2139390455558896 0.219482271 0.200551902 Calling exit ...