Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_main_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_main_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04952/0.04952, allocations: 8.038 MB / 23.51 MB, free: 0.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009087, allocations: 103.6 kB / 26.08 MB, free: 3.52 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 194.3 kB / 28.76 MB, free: 0.832 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 254.2 MB, free: 4.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01178/0.01178, allocations: 3.121 MB / 309.2 MB, free: 2.426 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 91.84 kB / 373.7 MB, free: 1.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2097, allocations: 51.97 MB / 425.7 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.007251/0.217, allocations: 9.132 MB / 434.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003755/0.2207, allocations: 2.626 MB / 437.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006483/0.2214, allocations: 47.81 kB / 437.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008432/0.2223, allocations: 472.5 kB / 437.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.2233, allocations: 0.6482 MB / 438.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.224, allocations: 0.4928 MB / 439.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.2253, allocations: 2.476 MB / 441.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.2268, allocations: 2.049 MB / 443.6 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.2276, allocations: 1.09 MB / 444.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00094/0.2285, allocations: 1.323 MB / 446 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.2288, allocations: 300 kB / 446.3 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005044/0.2293, allocations: 395.8 kB / 446.7 MB, free: 184 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006881/0.23, allocations: 0.7949 MB / 447.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.2312, allocations: 1.287 MB / 448.8 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.2341, allocations: 3.692 MB / 452.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2342, allocations: 0 / 452.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2342, allocations: 0 / 452.5 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.322e-05/0.2342, allocations: 0 / 452.5 MB, free: 10.39 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.004912/0.2391, allocations: 2.709 MB / 455.2 MB, free: 7.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2392, allocations: 12.02 kB / 455.2 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003422/0.2395, allocations: 299.8 kB / 455.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006258/0.2402, allocations: 269.9 kB / 455.7 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.2423, allocations: 1.29 MB / 457 MB, free: 5.691 MB / 318.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.0002293/0.2426, allocations: 227.5 kB / 457.2 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.2429, allocations: 211.9 kB / 457.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/0.247, allocations: 2.715 MB / 460.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.519e-05/0.247, allocations: 11.91 kB / 460.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.2472, allocations: 80 kB / 460.3 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.631e-05/0.2473, allocations: 100 kB / 460.4 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003581/0.2509, allocations: 2.229 MB / 462.6 MB, free: 0 / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.2634, allocations: 8.012 MB / 470.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.2659, allocations: 1.613 MB / 472.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.2676, allocations: 0.9451 MB / 473.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.2678, allocations: 126 kB / 473.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.2691, allocations: 0.7772 MB / 474.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 3.657e-06/0.2691, allocations: 0 / 474.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01357/0.2827, allocations: 6.65 MB / 480.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.2828, allocations: 252.3 kB / 481 MB, free: 13.07 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.001662/0.2845, allocations: 1.203 MB / 482.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/0.2846, allocations: 45.7 kB / 482.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007283/0.2853, allocations: 0.9347 MB / 483.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/0.2856, allocations: 410.2 kB / 483.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004025/0.286, allocations: 255.4 kB / 483.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2862, allocations: 365.9 kB / 484.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.2873, allocations: 0.7113 MB / 484.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.2887, allocations: 1.092 MB / 485.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008221/0.297, allocations: 3.61 MB / 489.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.297, allocations: 8 kB / 489.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004164/0.3012, allocations: 2.521 MB / 492.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.3012, allocations: 33.7 kB / 492.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.3012, allocations: 12.38 kB / 492.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.3024, allocations: 0.5094 MB / 492.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.3034, allocations: 295.5 kB / 492.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007981/0.3114, allocations: 8.805 MB / 0.49 GB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.3129, allocations: 131.9 kB / 0.4901 GB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.313, allocations: 59.92 kB / 0.4902 GB, free: 7.121 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00215/0.3151, allocations: 1.226 MB / 0.4914 GB, free: 5.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001296/0.3165, allocations: 1.072 MB / 0.4924 GB, free: 4.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007822/0.3243, allocations: 3.528 MB / 0.4958 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.282e-06/0.3243, allocations: 7.938 kB / 0.4959 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003828/0.3282, allocations: 2.482 MB / 0.4983 GB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.3282, allocations: 41.69 kB / 0.4983 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3282, allocations: 8 kB / 0.4983 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.3293, allocations: 0.5117 MB / 0.4988 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009537/0.3302, allocations: 279.6 kB / 0.4991 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007212/0.3375, allocations: 8.803 MB / 0.5077 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.3388, allocations: 135.8 kB / 0.5078 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.3389, allocations: 59.92 kB / 0.5079 GB, free: 4.031 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (150): * Single equations (assignments): 143 * 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.0004269/0.3394, allocations: 304.5 kB / 0.5082 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.3396, allocations: 134.4 kB / 0.5083 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/0.3432, allocations: 2.211 MB / 0.5105 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.3433, allocations: 12 kB / 0.5105 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3433, allocations: 4 kB / 0.5105 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3433, allocations: 3.984 kB / 0.5105 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1906/0.5339, allocations: 4.618 MB / 0.515 GB, free: 84.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.5339, allocations: 4.875 kB / 0.515 GB, free: 84.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/0.5348, allocations: 200.5 kB / 0.5152 GB, free: 84.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001263/0.536, allocations: 0.5213 MB / 0.5157 GB, free: 84.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.185e-05/0.5362, allocations: 36.62 kB / 0.5157 GB, free: 84.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006152/0.5423, allocations: 8.628 MB / 0.5241 GB, free: 77.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.5423, allocations: 11.98 kB / 0.5242 GB, free: 77.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004478/0.5468, allocations: 3.242 MB / 0.5273 GB, free: 76.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006877/0.5475, allocations: 360.6 kB / 0.5277 GB, free: 76.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.5477, allocations: 40.03 kB / 0.5277 GB, free: 76.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008597/0.5486, allocations: 106.7 kB / 0.5278 GB, free: 76.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.5488, allocations: 109 kB / 0.5279 GB, free: 76.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-05/0.5489, allocations: 38.62 kB / 0.528 GB, free: 76.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009552/0.5499, allocations: 0.8017 MB / 0.5287 GB, free: 75.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5499, allocations: 0 / 0.5287 GB, free: 75.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001998/0.5519, allocations: 0.7459 MB / 0.5295 GB, free: 75.72 MB / 382.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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * 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.004336/0.5562, allocations: 3.882 MB / 0.5333 GB, free: 73.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008751/0.565, allocations: 7.109 MB / 0.5402 GB, free: 67.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.565, allocations: 7.656 kB / 0.5402 GB, free: 67.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003426/0.5685, allocations: 2.837 MB / 0.543 GB, free: 64.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.5702, allocations: 376.7 kB / 0.5433 GB, free: 64.04 MB / 382.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.01704/0.5873, allocations: 12.88 MB / 0.5559 GB, free: 50.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.5883, allocations: 1.745 MB / 0.5576 GB, free: 48.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00114/0.5895, allocations: 419.5 kB / 0.558 GB, free: 48.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007137/0.5902, allocations: 0.7883 MB / 0.5588 GB, free: 47.55 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5902, allocations: 3.172 kB / 0.5588 GB, free: 47.55 MB / 382.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).