Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_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.001231/0.001232, 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.001022/0.001022, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1598/0.1598, allocations: 8.02 MB / 298 MB, free: 2.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 56.09 kB / 360.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09632, allocations: 51.19 MB / 411.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01012/0.1065, allocations: 9.612 MB / 420.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1785/0.285, allocations: 2.651 MB / 423.5 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.2861, allocations: 51.47 kB / 423.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.2872, allocations: 416.1 kB / 424 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.2885, allocations: 0.6032 MB / 424.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007555/0.2893, allocations: 489.4 kB / 425.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.291, allocations: 2.92 MB / 428 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.2926, allocations: 1.941 MB / 429.9 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000949/0.2935, allocations: 1.034 MB / 430.9 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009883/0.2945, allocations: 1.362 MB / 432.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.2948, allocations: 200.6 kB / 432.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.2953, allocations: 304.5 kB / 432.8 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004846/0.2958, allocations: 0.7309 MB / 433.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008658/0.2967, allocations: 1.276 MB / 434.8 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.2986, allocations: 3.973 MB / 438.8 MB, free: 32.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2987, allocations: 4 kB / 438.8 MB, free: 32.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2987, allocations: 0 / 438.8 MB, free: 32.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.145e-05/0.2987, allocations: 0 / 438.8 MB, free: 32.44 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.004267/0.303, allocations: 2.894 MB / 441.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.303, allocations: 9.188 kB / 441.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003/0.3033, allocations: 339.2 kB / 442 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005646/0.3039, allocations: 286 kB / 442.3 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.3056, allocations: 1.38 MB / 443.7 MB, free: 29.68 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.0002028/0.3058, allocations: 248.7 kB / 443.9 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/0.3061, allocations: 231.9 kB / 444.2 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003678/0.3097, allocations: 2.965 MB / 447.1 MB, free: 28.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.479e-05/0.3098, allocations: 7.844 kB / 447.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.31, allocations: 94.25 kB / 447.2 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.432e-05/0.3101, allocations: 105.1 kB / 447.3 MB, free: 28.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003261/0.3133, allocations: 2.378 MB / 449.7 MB, free: 27.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/0.3234, allocations: 8.792 MB / 458.5 MB, free: 22.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.3255, allocations: 1.635 MB / 460.1 MB, free: 21.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.327, allocations: 0.9704 MB / 461.1 MB, free: 21.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.3272, allocations: 119.4 kB / 461.2 MB, free: 21.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.3284, allocations: 0.7804 MB / 462 MB, free: 21.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.865e-06/0.3284, allocations: 0 / 462 MB, free: 21.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01378/0.3422, allocations: 6.944 MB / 468.9 MB, free: 18.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.3423, allocations: 247.3 kB / 469.2 MB, free: 17.79 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.001715/0.344, allocations: 1.239 MB / 470.4 MB, free: 17.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-05/0.3441, allocations: 48.27 kB / 470.5 MB, free: 17.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007056/0.3448, allocations: 1.009 MB / 471.5 MB, free: 16.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.3451, allocations: 423.8 kB / 471.9 MB, free: 16.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/0.3455, allocations: 263.2 kB / 472.1 MB, free: 16.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.3456, allocations: 306 kB / 472.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.3467, allocations: 0.7157 MB / 473.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.3481, allocations: 1.13 MB / 474.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007971/0.3561, allocations: 3.599 MB / 477.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.3561, allocations: 7.969 kB / 477.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003832/0.3599, allocations: 2.574 MB / 480.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.36, allocations: 36.17 kB / 480.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.36, allocations: 11.41 kB / 480.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.361, allocations: 0.5032 MB / 481 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009702/0.362, allocations: 299.2 kB / 481.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005494/0.3675, allocations: 8.087 MB / 489.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.3689, allocations: 136.9 kB / 489.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.369, allocations: 59.22 kB / 489.6 MB, free: 4.875 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.002053/0.3711, allocations: 1.285 MB / 490.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001154/0.3722, allocations: 1.103 MB / 492 MB, free: 2.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007361/0.3796, allocations: 3.533 MB / 495.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.698e-06/0.3796, allocations: 4 kB / 495.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004045/0.3837, allocations: 2.526 MB / 498 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.3837, allocations: 37.7 kB / 498.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.3838, allocations: 11.98 kB / 498.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.3848, allocations: 0.5059 MB / 498.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009952/0.3858, allocations: 295.6 kB / 498.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007503/0.3934, allocations: 8.072 MB / 0.4951 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.3947, allocations: 139.8 kB / 0.4952 GB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.3948, allocations: 67.88 kB / 0.4953 GB, free: 2.527 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.0004939/0.3953, allocations: 292.1 kB / 0.4956 GB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/0.3957, allocations: 138.3 kB / 0.4957 GB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/0.3994, allocations: 2.215 MB / 0.4978 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3994, allocations: 12 kB / 0.4979 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.3995, allocations: 7.984 kB / 0.4979 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3995, allocations: 3.984 kB / 0.4979 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007511/0.407, allocations: 4.756 MB / 0.5025 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.407, allocations: 4 kB / 0.5025 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008076/0.4078, allocations: 203.7 kB / 0.5027 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/0.4091, allocations: 0.5276 MB / 0.5032 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.4092, allocations: 35.98 kB / 0.5033 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007243/0.4165, allocations: 7.905 MB / 0.511 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.4165, allocations: 4 kB / 0.511 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/0.4219, allocations: 3.263 MB / 0.5142 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008101/0.4227, allocations: 359.3 kB / 0.5145 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/0.4231, allocations: 32 kB / 0.5145 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.4241, allocations: 103.9 kB / 0.5146 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/0.4244, allocations: 116.7 kB / 0.5148 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-05/0.4245, allocations: 39.98 kB / 0.5148 GB, free: 13.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001383/0.4259, allocations: 0.8146 MB / 0.5156 GB, free: 12.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 4e-07/0.4259, allocations: 0 / 0.5156 GB, free: 12.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003477/0.4294, allocations: 0.7812 MB / 0.5164 GB, free: 12.11 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.006088/0.4355, allocations: 3.898 MB / 0.5202 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01051/0.446, allocations: 6.731 MB / 0.5267 GB, free: 1.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.4461, allocations: 4 kB / 0.5267 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004081/0.4501, allocations: 2.843 MB / 0.5295 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.4525, allocations: 379.5 kB / 0.5299 GB, free: 13.83 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.02436/0.4769, allocations: 14.25 MB / 0.5438 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.4787, allocations: 1.837 MB / 0.5456 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00134/0.48, allocations: 420 kB / 0.546 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/0.481, allocations: 0.8547 MB / 0.5468 GB, free: 11.66 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.481, allocations: 0 / 0.5468 GB, free: 11.66 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).