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.001221/0.001221, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 195.5 kB / 16.53 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.221/1.221, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1325/0.1325, allocations: 8.025 MB / 298.4 MB, free: 2.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 360.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08618/0.08741, allocations: 51.19 MB / 411.9 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.009879/0.09733, allocations: 9.674 MB / 421.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1596/0.257, allocations: 2.698 MB / 424.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.2584, allocations: 54.59 kB / 424.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.2597, allocations: 0.4894 MB / 424.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.2612, allocations: 0.6718 MB / 425.5 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.262, allocations: 0.5345 MB / 426 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.2635, allocations: 2.638 MB / 428.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.2652, allocations: 2.295 MB / 431 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008452/0.2661, allocations: 1.183 MB / 432.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009804/0.267, allocations: 1.426 MB / 433.6 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.2674, allocations: 334.3 kB / 433.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.2679, allocations: 425 kB / 434.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004936/0.2684, allocations: 0.8684 MB / 435.2 MB, free: 33.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008256/0.2692, allocations: 1.411 MB / 436.6 MB, free: 32.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.2712, allocations: 4.074 MB / 440.7 MB, free: 31.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2712, allocations: 0 / 440.7 MB, free: 31.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2712, allocations: 4.719 kB / 440.7 MB, free: 31.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.13e-05/0.2713, allocations: 0 / 440.7 MB, free: 31.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.004048/0.2753, allocations: 2.9 MB / 443.6 MB, free: 29.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2754, allocations: 9.031 kB / 443.6 MB, free: 29.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002878/0.2757, allocations: 338.2 kB / 443.9 MB, free: 29.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005436/0.2762, allocations: 288 kB / 444.2 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.2777, allocations: 1.377 MB / 445.6 MB, free: 28.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.0001813/0.2779, allocations: 241.3 kB / 445.8 MB, free: 28.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.2782, allocations: 232.2 kB / 446 MB, free: 28.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003374/0.2815, allocations: 2.964 MB / 449 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.842e-05/0.2816, allocations: 7.062 kB / 449 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.2818, allocations: 101.8 kB / 449.1 MB, free: 27.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/0.2819, allocations: 106.1 kB / 449.2 MB, free: 27.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003122/0.285, allocations: 2.374 MB / 451.6 MB, free: 26.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008865/0.2939, allocations: 8.803 MB / 460.4 MB, free: 21.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.296, allocations: 1.64 MB / 462 MB, free: 20.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.2976, allocations: 0.9644 MB / 463 MB, free: 20.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.2978, allocations: 126.9 kB / 463.1 MB, free: 20.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.2989, allocations: 0.7765 MB / 463.9 MB, free: 20.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.945e-06/0.2989, allocations: 4 kB / 463.9 MB, free: 20.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01297/0.3119, allocations: 6.945 MB / 470.8 MB, free: 17.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.312, allocations: 250.7 kB / 471.1 MB, free: 16.78 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.001588/0.3136, allocations: 1.234 MB / 472.3 MB, free: 16.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.3136, allocations: 47.45 kB / 472.4 MB, free: 16.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006164/0.3143, allocations: 1.009 MB / 473.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.3145, allocations: 419.4 kB / 473.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.3149, allocations: 259.8 kB / 474 MB, free: 15.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.656e-05/0.3149, allocations: 305.8 kB / 474.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.3161, allocations: 0.7197 MB / 475.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.3174, allocations: 1.13 MB / 476.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007791/0.3252, allocations: 3.625 MB / 479.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.3252, allocations: 2.531 kB / 479.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003891/0.3291, allocations: 2.57 MB / 482.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.3292, allocations: 35.83 kB / 482.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.3292, allocations: 10.5 kB / 482.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009601/0.3302, allocations: 0.5026 MB / 482.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009363/0.3311, allocations: 311.1 kB / 483.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005645/0.3368, allocations: 8.808 MB / 492.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.338, allocations: 127.9 kB / 492.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/0.3381, allocations: 63.98 kB / 492.2 MB, free: 2.715 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.001721/0.3398, allocations: 1.286 MB / 493.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009867/0.3408, allocations: 1.107 MB / 494.6 MB, free: 156 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007605/0.3484, allocations: 3.545 MB / 498.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.091e-06/0.3484, allocations: 4 kB / 498.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003823/0.3523, allocations: 2.523 MB / 0.489 GB, free: 9.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.3523, allocations: 40.2 kB / 0.489 GB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3523, allocations: 8 kB / 0.489 GB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.3534, allocations: 0.5038 MB / 0.4895 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000961/0.3543, allocations: 295.5 kB / 0.4898 GB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007252/0.3616, allocations: 8.805 MB / 0.4984 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.3628, allocations: 143.8 kB / 0.4985 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.872e-05/0.3629, allocations: 56 kB / 0.4986 GB, free: 15.46 MB / 382.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.0004186/0.3634, allocations: 296.4 kB / 0.4989 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.3636, allocations: 142.2 kB / 0.499 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/0.3673, allocations: 2.207 MB / 0.5012 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.3673, allocations: 15.94 kB / 0.5012 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3673, allocations: 4 kB / 0.5012 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3673, allocations: 3.984 kB / 0.5012 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006854/0.3742, allocations: 4.755 MB / 0.5058 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.3742, allocations: 8 kB / 0.5058 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007809/0.375, allocations: 199.7 kB / 0.506 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/0.3762, allocations: 0.5215 MB / 0.5065 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.3763, allocations: 39.98 kB / 0.5066 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007002/0.3833, allocations: 8.623 MB / 0.515 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.3833, allocations: 7.938 kB / 0.515 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004975/0.3883, allocations: 3.248 MB / 0.5182 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005676/0.3889, allocations: 371.2 kB / 0.5185 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.3891, allocations: 31.98 kB / 0.5185 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008724/0.3899, allocations: 103.9 kB / 0.5186 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.3902, allocations: 112.7 kB / 0.5188 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.3903, allocations: 35.98 kB / 0.5188 GB, free: 9.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001009/0.3913, allocations: 0.8185 MB / 0.5196 GB, free: 9.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3913, allocations: 4 kB / 0.5196 GB, free: 9.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002266/0.3936, allocations: 0.7852 MB / 0.5204 GB, free: 8.301 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.005109/0.3987, allocations: 3.899 MB / 0.5242 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0101/0.4088, allocations: 7.154 MB / 0.5312 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4088, allocations: 0.6875 kB / 0.5312 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00376/0.4126, allocations: 2.842 MB / 0.5339 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.4143, allocations: 403.3 kB / 0.5343 GB, free: 9.582 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1962:3-1962:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/0.4314, allocations: 13.35 MB / 0.5474 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.4328, allocations: 1.837 MB / 0.5491 GB, free: 9.578 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001172/0.434, allocations: 412 kB / 0.5495 GB, free: 9.172 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000912/0.4349, allocations: 0.8625 MB / 0.5504 GB, free: 8.309 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4349, allocations: 4 kB / 0.5504 GB, free: 8.305 MB / 430.1 MB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal).