Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001004/0.001004, allocations: 194.3 kB / 16.13 MB, free: 6.664 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.24/1.24, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1314/0.1314, allocations: 8.026 MB / 298 MB, free: 2.438 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 59.91 kB / 360.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08049/0.0816, allocations: 51.19 MB / 411.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.00902/0.09064, allocations: 9.619 MB / 420.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1517/0.2423, allocations: 2.648 MB / 423.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009798/0.2434, allocations: 53.03 kB / 423.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009281/0.2443, allocations: 417.5 kB / 424 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.2455, allocations: 0.6049 MB / 424.6 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.2461, allocations: 487.8 kB / 425.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.2477, allocations: 2.925 MB / 428 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.2492, allocations: 1.936 MB / 429.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008164/0.25, allocations: 1.035 MB / 431 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009096/0.2509, allocations: 1.364 MB / 432.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.2512, allocations: 200.3 kB / 432.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.2517, allocations: 302 kB / 432.8 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004545/0.2522, allocations: 0.7272 MB / 433.5 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008076/0.253, allocations: 1.282 MB / 434.8 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.2549, allocations: 3.97 MB / 438.8 MB, free: 32.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2549, allocations: 3.281 kB / 438.8 MB, free: 32.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2549, allocations: 4 kB / 438.8 MB, free: 32.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.291e-05/0.255, allocations: 0 / 438.8 MB, free: 32.39 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: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.004256/0.2592, allocations: 2.897 MB / 441.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2593, allocations: 11.88 kB / 441.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003043/0.2596, allocations: 332.2 kB / 442 MB, free: 30.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005656/0.2601, allocations: 287 kB / 442.3 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.2617, allocations: 1.377 MB / 443.7 MB, free: 29.63 MB / 350.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.2619, allocations: 245.4 kB / 443.9 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.2622, allocations: 234 kB / 444.2 MB, free: 29.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003669/0.2659, allocations: 2.965 MB / 447.1 MB, free: 28.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/0.2659, allocations: 7.188 kB / 447.1 MB, free: 28.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.2661, allocations: 91.41 kB / 447.2 MB, free: 28.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.398e-05/0.2662, allocations: 108.9 kB / 447.3 MB, free: 28.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.2695, allocations: 2.382 MB / 449.7 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.2805, allocations: 8.793 MB / 458.5 MB, free: 22.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.2828, allocations: 1.632 MB / 460.1 MB, free: 21.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.2844, allocations: 0.975 MB / 461.1 MB, free: 21.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.2847, allocations: 121.7 kB / 461.2 MB, free: 21.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/0.2859, allocations: 0.7819 MB / 462 MB, free: 21.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.046e-06/0.2859, allocations: 1.5 kB / 462 MB, free: 21.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01343/0.2993, allocations: 6.938 MB / 468.9 MB, free: 18.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.2994, allocations: 246.6 kB / 469.2 MB, free: 17.73 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.301, allocations: 1.234 MB / 470.4 MB, free: 17.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.653e-05/0.3011, allocations: 52.08 kB / 470.5 MB, free: 17.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006352/0.3018, allocations: 1.01 MB / 471.5 MB, free: 16.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.302, allocations: 418.8 kB / 471.9 MB, free: 16.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/0.3024, allocations: 267.8 kB / 472.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.225e-05/0.3024, allocations: 306.2 kB / 472.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3036, allocations: 0.7156 MB / 473.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.3049, allocations: 1.128 MB / 474.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008046/0.313, allocations: 3.602 MB / 477.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.324e-05/0.313, allocations: 4.125 kB / 477.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003999/0.317, allocations: 2.565 MB / 480.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.3171, allocations: 46.28 kB / 480.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.3171, allocations: 10.72 kB / 480.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.3182, allocations: 0.5013 MB / 481 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009957/0.3192, allocations: 308.8 kB / 481.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005459/0.3247, allocations: 8.079 MB / 489.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.3261, allocations: 136.5 kB / 489.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.3262, allocations: 62.52 kB / 489.6 MB, free: 4.812 MB / 350.1 MB Warning: Assuming fixed start value for the following 6 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001914/0.3281, allocations: 1.28 MB / 490.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001077/0.3292, allocations: 1.109 MB / 492 MB, free: 2.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007528/0.3367, allocations: 3.536 MB / 495.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.29e-05/0.3368, allocations: 4 kB / 495.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004254/0.341, allocations: 2.529 MB / 498.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.3411, allocations: 33.7 kB / 498.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.3411, allocations: 12 kB / 498.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.3422, allocations: 0.5025 MB / 498.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.3433, allocations: 299.5 kB / 498.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007115/0.3504, allocations: 8.066 MB / 0.4951 GB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.3519, allocations: 139.8 kB / 0.4952 GB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.352, allocations: 63.92 kB / 0.4953 GB, free: 2.469 MB / 366.1 MB Warning: Assuming fixed start value for the following 6 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004739/0.3525, allocations: 293.3 kB / 0.4955 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.3528, allocations: 142.3 kB / 0.4957 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/0.3565, allocations: 2.218 MB / 0.4979 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.3565, allocations: 15.94 kB / 0.4979 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.3565, allocations: 4 kB / 0.4979 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.3565, allocations: 3.984 kB / 0.4979 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006954/0.3635, allocations: 4.746 MB / 0.5025 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.3635, allocations: 7.984 kB / 0.5025 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008083/0.3643, allocations: 207.7 kB / 0.5027 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.3656, allocations: 0.5177 MB / 0.5032 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-05/0.3657, allocations: 35.98 kB / 0.5033 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006906/0.3726, allocations: 7.907 MB / 0.511 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.3726, allocations: 11.94 kB / 0.511 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005055/0.3777, allocations: 3.244 MB / 0.5142 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007647/0.3785, allocations: 371.3 kB / 0.5145 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.3787, allocations: 35.98 kB / 0.5145 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009192/0.3796, allocations: 95.89 kB / 0.5146 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/0.3799, allocations: 116.7 kB / 0.5147 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/0.38, allocations: 39.98 kB / 0.5148 GB, free: 13.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.3812, allocations: 0.8146 MB / 0.5156 GB, free: 12.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.3812, allocations: 0 / 0.5156 GB, free: 12.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002515/0.3837, allocations: 0.789 MB / 0.5164 GB, free: 12.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005616/0.3893, allocations: 3.9 MB / 0.5202 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009638/0.399, allocations: 6.729 MB / 0.5267 GB, free: 1.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.399, allocations: 0 / 0.5267 GB, free: 1.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003944/0.403, allocations: 2.84 MB / 0.5295 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.4049, allocations: 376.1 kB / 0.5299 GB, free: 13.78 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1941:3-1941:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/0.4256, allocations: 14.26 MB / 0.5438 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.4269, allocations: 1.837 MB / 0.5456 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001223/0.4282, allocations: 424 kB / 0.546 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009356/0.4291, allocations: 0.8585 MB / 0.5468 GB, free: 11.59 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4291, allocations: 4 kB / 0.5468 GB, free: 11.59 MB / 430.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal).