Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.741e-05, allocations: 4 kB / 407.5 MB, free: 91.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09352, allocations: 44.52 MB / 452 MB, free: 47.42 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5041, allocations: 144.4 MB / 0.5824 GB, free: 4.719 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004004/0.5045, allocations: 113.5 kB / 0.5825 GB, free: 4.656 MB / 350.1 MB [/mnt/btrfs/@workspace/LibraryExperimental/OpenModelica/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/mnt/btrfs/@workspace/LibraryExperimental/OpenModelica/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/mnt/btrfs/@workspace/LibraryExperimental/OpenModelica/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/mnt/btrfs/@workspace/LibraryExperimental/OpenModelica/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 1.841/2.345, allocations: 353.8 MB / 0.928 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.603e-06/2.345, allocations: 0 / 0.928 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00117/2.347, allocations: 255.4 kB / 0.9282 GB, free: 13.77 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.615/2.962, allocations: 10.59 MB / 0.9386 GB, free: 23.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/2.962, allocations: 9.094 kB / 0.9386 GB, free: 23.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07807/3.04, allocations: 5.389 MB / 0.9438 GB, free: 23.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04141/3.081, allocations: 9.437 MB / 0.953 GB, free: 22.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/3.082, allocations: 476.9 kB / 0.9535 GB, free: 22.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005532/3.088, allocations: 0.6312 MB / 0.9541 GB, free: 22.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04982/3.138, allocations: 14.58 MB / 0.9684 GB, free: 22.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05017/3.188, allocations: 16.2 MB / 0.9842 GB, free: 21.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005621/3.189, allocations: 24.5 kB / 0.9842 GB, free: 21.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004186/3.193, allocations: 4.531 kB / 0.9842 GB, free: 21.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/3.194, allocations: 0.7418 MB / 0.9849 GB, free: 21.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1322/3.326, allocations: 57.23 MB / 1.041 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04429/3.37, allocations: 25.87 MB / 1.066 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01576/3.386, allocations: 7.027 MB / 1.073 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0666/3.453, allocations: 22.84 MB / 1.095 GB, free: 8.621 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03887/3.492, allocations: 5.444 MB / 1.101 GB, free: 4.059 MB / 462.1 MB Notification: Performance of pre-optimization done (n=696): time 3.621e-05/3.492, allocations: 3.938 kB / 1.101 GB, free: 4.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=714): time 0.7481/4.24, allocations: 32.68 MB / 1.132 GB, free: 69.18 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/4.24, allocations: 427.5 kB / 1.133 GB, free: 68.73 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/4.253, allocations: 2.872 MB / 1.136 GB, free: 68.47 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.001813/4.255, allocations: 29.08 kB / 1.136 GB, free: 68.44 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.007098/4.262, allocations: 4.311 MB / 1.14 GB, free: 66.32 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.00493/4.267, allocations: 2.298 MB / 1.142 GB, free: 64.78 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001935/4.269, allocations: 0.8438 kB / 1.142 GB, free: 64.78 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.001201/4.27, allocations: 0.5974 MB / 1.143 GB, free: 64.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01827/4.289, allocations: 4.447 MB / 1.147 GB, free: 64.45 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01865/4.307, allocations: 6.122 MB / 1.153 GB, free: 62.69 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02559/4.333, allocations: 6.558 MB / 1.159 GB, free: 62.6 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001227/4.333, allocations: 14.16 kB / 1.16 GB, free: 62.6 MB / 462.3 MB Notification: Performance of matching and sorting (n=944) (initialization): time 0.04769/4.381, allocations: 14.22 MB / 1.173 GB, free: 61.93 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/4.381, allocations: 55.44 kB / 1.173 GB, free: 61.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/4.381, allocations: 44.31 kB / 1.173 GB, free: 61.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01496/4.396, allocations: 3.799 MB / 1.177 GB, free: 61.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/4.407, allocations: 1.346 MB / 1.179 GB, free: 61.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02806/4.435, allocations: 16.6 MB / 1.195 GB, free: 52.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009813/4.445, allocations: 285.1 kB / 1.195 GB, free: 52.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002355/4.448, allocations: 303.8 kB / 1.195 GB, free: 52.65 MB / 462.3 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.airGap.Phi_r.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real imcQS.airGap.Phi_r.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real imcQS.rotorCage.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: currentQuasiRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 202 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (685): * Single equations (assignments): 643 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of prepare postOptimizeDAE: time 0.004749/4.452, allocations: 386.8 kB / 1.196 GB, free: 52.49 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0022/4.455, allocations: 0.5007 MB / 1.196 GB, free: 52.22 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04969/4.504, allocations: 14.13 MB / 1.21 GB, free: 46.38 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003245/4.505, allocations: 160.7 kB / 1.21 GB, free: 46.3 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.284e-05/4.505, allocations: 7.188 kB / 1.21 GB, free: 46.3 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001357/4.505, allocations: 29.48 kB / 1.21 GB, free: 46.3 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07205/4.577, allocations: 26.33 MB / 1.236 GB, free: 30.6 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.389e-05/4.577, allocations: 0 / 1.236 GB, free: 30.6 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005701/4.583, allocations: 0.918 MB / 1.237 GB, free: 29.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01211/4.595, allocations: 3.879 MB / 1.241 GB, free: 26.76 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001796/4.597, allocations: 81.47 kB / 1.241 GB, free: 26.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02821/4.625, allocations: 20.59 MB / 1.261 GB, free: 6.895 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/4.625, allocations: 6.938 kB / 1.261 GB, free: 6.895 MB / 462.3 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3877/5.013, allocations: 63.31 MB / 1.323 GB, free: 52.96 MB / 462.3 MB Error: post-optimization module symbolicJacobian (simulation) failed.