Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_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.04651/0.04651, allocations: 8.032 MB / 23.53 MB, free: 4.82 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 115.4 kB / 26.12 MB, free: 3.082 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.001216/0.001216, allocations: 198.9 kB / 28.8 MB, free: 416 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 254.3 MB, free: 4.785 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01282/0.01282, allocations: 3.12 MB / 309.3 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 99.84 kB / 373.8 MB, free: 252 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1918, allocations: 51.96 MB / 425.7 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.007541/0.1994, allocations: 9.132 MB / 434.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.2033, allocations: 2.637 MB / 437.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008374/0.2042, allocations: 47.81 kB / 437.5 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.2052, allocations: 460.5 kB / 438 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.2065, allocations: 0.6598 MB / 438.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007743/0.2073, allocations: 493.6 kB / 439.1 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.2088, allocations: 2.48 MB / 441.6 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.2104, allocations: 2.053 MB / 443.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.2114, allocations: 1.086 MB / 444.8 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.2125, allocations: 1.327 MB / 446.1 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.2128, allocations: 300 kB / 446.4 MB, free: 336 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000603/0.2134, allocations: 399.9 kB / 446.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007302/0.2142, allocations: 0.787 MB / 447.6 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.2155, allocations: 1.287 MB / 448.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.2191, allocations: 3.688 MB / 452.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2191, allocations: 4 kB / 452.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.2191, allocations: 0 / 452.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.909e-05/0.2192, allocations: 4 kB / 452.5 MB, free: 10.15 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.005904/0.2251, allocations: 2.709 MB / 455.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.2252, allocations: 16.03 kB / 455.3 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003687/0.2256, allocations: 299.8 kB / 455.6 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007246/0.2263, allocations: 270 kB / 455.8 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.2284, allocations: 1.298 MB / 457.1 MB, free: 5.441 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.0002487/0.2287, allocations: 215.5 kB / 457.3 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002945/0.229, allocations: 207.9 kB / 457.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004429/0.2334, allocations: 2.719 MB / 460.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.816e-05/0.2335, allocations: 11.91 kB / 460.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/0.2337, allocations: 91.92 kB / 460.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.2338, allocations: 100 kB / 460.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003955/0.2378, allocations: 2.225 MB / 462.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.2498, allocations: 8.004 MB / 470.7 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.2526, allocations: 1.621 MB / 472.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.2544, allocations: 0.949 MB / 473.3 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.2546, allocations: 126 kB / 473.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.2559, allocations: 0.7773 MB / 474.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.595e-06/0.2559, allocations: 0 / 474.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01543/0.2714, allocations: 6.648 MB / 480.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.2715, allocations: 252.3 kB / 481 MB, free: 12.84 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.00182/0.2734, allocations: 1.203 MB / 482.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.2735, allocations: 45.7 kB / 482.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008384/0.2743, allocations: 0.9309 MB / 483.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/0.2747, allocations: 410.2 kB / 483.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004295/0.2752, allocations: 251.4 kB / 483.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2753, allocations: 373.9 kB / 484.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.2766, allocations: 0.7074 MB / 484.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.2781, allocations: 1.103 MB / 486 MB, free: 7.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008812/0.287, allocations: 3.595 MB / 489.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.287, allocations: 4 kB / 489.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004581/0.2916, allocations: 2.533 MB / 492.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.2917, allocations: 41.7 kB / 492.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.2917, allocations: 8 kB / 492.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.2929, allocations: 0.5041 MB / 492.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.2941, allocations: 299.5 kB / 493 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008434/0.3025, allocations: 8.799 MB / 0.4901 GB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.3041, allocations: 119.9 kB / 0.4902 GB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.3042, allocations: 59.92 kB / 0.4902 GB, free: 6.891 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.002134/0.3064, allocations: 1.243 MB / 0.4914 GB, free: 5.645 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001478/0.3079, allocations: 1.072 MB / 0.4925 GB, free: 4.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008601/0.3165, allocations: 3.536 MB / 0.4959 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.318e-05/0.3165, allocations: 4 kB / 0.4959 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004504/0.321, allocations: 2.478 MB / 0.4984 GB, free: 14.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.3211, allocations: 36.67 kB / 0.4984 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.3211, allocations: 16 kB / 0.4984 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.3223, allocations: 0.496 MB / 0.4989 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.3234, allocations: 291.5 kB / 0.4992 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009239/0.3327, allocations: 8.809 MB / 0.5078 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.3343, allocations: 131.9 kB / 0.5079 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.3344, allocations: 63.92 kB / 0.508 GB, free: 3.785 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.0004884/0.3349, allocations: 285.3 kB / 0.5082 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.3351, allocations: 134.4 kB / 0.5084 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/0.3392, allocations: 2.207 MB / 0.5105 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.3392, allocations: 12 kB / 0.5105 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.3392, allocations: 12 kB / 0.5105 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.3392, allocations: 3.984 kB / 0.5106 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2003/0.5395, allocations: 4.622 MB / 0.5151 GB, free: 74.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.5396, allocations: 4.094 kB / 0.5151 GB, free: 74.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/0.5404, allocations: 204.8 kB / 0.5153 GB, free: 74.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.5418, allocations: 0.5209 MB / 0.5158 GB, free: 74.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.5419, allocations: 37.53 kB / 0.5158 GB, free: 74.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007194/0.5491, allocations: 8.622 MB / 0.5242 GB, free: 68.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5491, allocations: 3.406 kB / 0.5242 GB, free: 68.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005835/0.555, allocations: 3.245 MB / 0.5274 GB, free: 67.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007077/0.5557, allocations: 356.7 kB / 0.5277 GB, free: 67.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.5559, allocations: 34.97 kB / 0.5278 GB, free: 67.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009257/0.5568, allocations: 101.1 kB / 0.5279 GB, free: 67.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/0.5572, allocations: 113.2 kB / 0.528 GB, free: 67.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.5572, allocations: 40.48 kB / 0.528 GB, free: 67.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00113/0.5584, allocations: 0.8001 MB / 0.5288 GB, free: 66.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5584, allocations: 3.188 kB / 0.5288 GB, free: 66.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002509/0.5609, allocations: 0.7463 MB / 0.5295 GB, free: 66.81 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.004861/0.5658, allocations: 3.891 MB / 0.5333 GB, free: 64.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009139/0.5749, allocations: 7.116 MB / 0.5403 GB, free: 59.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.575, allocations: 3.281 kB / 0.5403 GB, free: 59.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003548/0.5785, allocations: 2.84 MB / 0.5431 GB, free: 56.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.5803, allocations: 375.1 kB / 0.5434 GB, free: 56.13 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.01481/0.5951, allocations: 12.92 MB / 0.556 GB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.5961, allocations: 1.746 MB / 0.5577 GB, free: 41.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001234/0.5974, allocations: 419.6 kB / 0.5581 GB, free: 40.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008201/0.5982, allocations: 0.7805 MB / 0.5589 GB, free: 40.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5982, allocations: 0 / 0.5589 GB, free: 40.12 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).