Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_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.05023/0.05023, allocations: 8.037 MB / 23.27 MB, free: 492 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009043, allocations: 104.1 kB / 25.83 MB, free: 3.496 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.0009945/0.0009946, allocations: 192.1 kB / 28.5 MB, free: 0.8281 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.22/1.22, allocations: 222.9 MB / 253.9 MB, free: 3.273 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01245/0.01245, allocations: 3.127 MB / 308.9 MB, free: 2.352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 91.86 kB / 373.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1633, allocations: 51.97 MB / 425.2 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.006986/0.1704, allocations: 9.082 MB / 434.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.173, allocations: 2.591 MB / 436.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.1735, allocations: 47.81 kB / 436.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007622/0.1742, allocations: 393.6 kB / 437.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009218/0.1752, allocations: 0.5632 MB / 437.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.1758, allocations: 455.5 kB / 438.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.1771, allocations: 2.472 MB / 440.8 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.1786, allocations: 2.053 MB / 442.8 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.1792, allocations: 1.094 MB / 443.9 MB, free: 2.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008878/0.1801, allocations: 1.354 MB / 445.3 MB, free: 1.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002457/0.1804, allocations: 300 kB / 445.6 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.1808, allocations: 399.8 kB / 446 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004758/0.1813, allocations: 0.787 MB / 446.7 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009848/0.1823, allocations: 1.299 MB / 448 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.1848, allocations: 3.684 MB / 451.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1848, allocations: 4 kB / 451.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1848, allocations: 0 / 451.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.1849, allocations: 4 kB / 451.7 MB, free: 10.89 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.004397/0.1893, allocations: 2.713 MB / 454.5 MB, free: 8.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1893, allocations: 12.03 kB / 454.5 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00033/0.1896, allocations: 303.8 kB / 454.8 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006154/0.1903, allocations: 270 kB / 455 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.1919, allocations: 1.29 MB / 456.3 MB, free: 6.188 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.0002084/0.1922, allocations: 223.5 kB / 456.5 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.1924, allocations: 207.9 kB / 456.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003966/0.1964, allocations: 2.719 MB / 459.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.132e-05/0.1965, allocations: 7.906 kB / 459.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.1967, allocations: 88 kB / 459.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.42e-05/0.1968, allocations: 104 kB / 459.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/0.2003, allocations: 2.221 MB / 461.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/0.2104, allocations: 8.004 MB / 469.9 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.2129, allocations: 1.617 MB / 471.5 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.2145, allocations: 0.9556 MB / 472.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.2147, allocations: 122.1 kB / 472.6 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.216, allocations: 0.7811 MB / 473.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.295e-06/0.216, allocations: 0 / 473.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01306/0.229, allocations: 6.649 MB / 480 MB, free: 13.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.436e-05/0.2291, allocations: 248.3 kB / 480.2 MB, free: 13.58 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.001411/0.2306, allocations: 1.2 MB / 481.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.557e-05/0.2307, allocations: 49.7 kB / 481.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005669/0.2312, allocations: 0.927 MB / 482.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.2315, allocations: 410.2 kB / 482.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003908/0.2319, allocations: 259.4 kB / 483.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2321, allocations: 361.9 kB / 483.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.2332, allocations: 0.7152 MB / 484.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.2346, allocations: 1.1 MB / 485.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008296/0.2429, allocations: 3.602 MB / 488.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.2429, allocations: 7.938 kB / 488.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003934/0.2469, allocations: 2.521 MB / 491.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.2469, allocations: 43.89 kB / 491.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.2469, allocations: 8 kB / 491.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.2481, allocations: 0.5079 MB / 491.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.2491, allocations: 291.5 kB / 492.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007244/0.2564, allocations: 8.811 MB / 0.4893 GB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.2574, allocations: 127.9 kB / 0.4894 GB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.2575, allocations: 55.92 kB / 0.4895 GB, free: 7.629 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.001753/0.2593, allocations: 1.234 MB / 0.4907 GB, free: 6.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001292/0.2606, allocations: 1.08 MB / 0.4917 GB, free: 5.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008106/0.2687, allocations: 3.525 MB / 0.4952 GB, free: 1.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.072e-06/0.2687, allocations: 4 kB / 0.4952 GB, free: 1.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003871/0.2726, allocations: 2.482 MB / 0.4976 GB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.2727, allocations: 37.7 kB / 0.4976 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2727, allocations: 8 kB / 0.4976 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.2738, allocations: 0.5002 MB / 0.4981 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009955/0.2748, allocations: 295.5 kB / 0.4984 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007267/0.2821, allocations: 8.791 MB / 0.507 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.2831, allocations: 135.8 kB / 0.5071 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.2833, allocations: 71.92 kB / 0.5072 GB, free: 4.535 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.0003252/0.2836, allocations: 296.9 kB / 0.5075 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.2838, allocations: 134.4 kB / 0.5076 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003644/0.2875, allocations: 2.207 MB / 0.5097 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.2875, allocations: 12 kB / 0.5098 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2875, allocations: 4 kB / 0.5098 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.2875, allocations: 3.984 kB / 0.5098 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1393/0.4268, allocations: 4.616 MB / 0.5143 GB, free: 85.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.4269, allocations: 2.812 kB / 0.5143 GB, free: 85.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008583/0.4278, allocations: 204.8 kB / 0.5145 GB, free: 85.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.429, allocations: 0.5233 MB / 0.515 GB, free: 85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.4292, allocations: 38.52 kB / 0.515 GB, free: 85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006003/0.4352, allocations: 8.628 MB / 0.5234 GB, free: 78.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4352, allocations: 3.875 kB / 0.5235 GB, free: 78.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004574/0.4398, allocations: 3.239 MB / 0.5266 GB, free: 76.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005781/0.4404, allocations: 366.2 kB / 0.527 GB, free: 76.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.4406, allocations: 31.66 kB / 0.527 GB, free: 76.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.4416, allocations: 105.1 kB / 0.5271 GB, free: 76.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/0.4418, allocations: 116.9 kB / 0.5272 GB, free: 76.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/0.4419, allocations: 35.42 kB / 0.5272 GB, free: 76.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008647/0.4428, allocations: 0.8016 MB / 0.528 GB, free: 76.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4428, allocations: 0 / 0.528 GB, free: 76.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002078/0.4448, allocations: 0.7486 MB / 0.5288 GB, free: 76.21 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.004359/0.4492, allocations: 3.877 MB / 0.5325 GB, free: 74.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008655/0.4579, allocations: 7.123 MB / 0.5395 GB, free: 67.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4579, allocations: 0 / 0.5395 GB, free: 67.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003314/0.4612, allocations: 2.839 MB / 0.5423 GB, free: 65.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.4627, allocations: 388.2 kB / 0.5426 GB, free: 64.67 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.01628/0.479, allocations: 13.73 MB / 0.556 GB, free: 50.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009265/0.4799, allocations: 1.75 MB / 0.5578 GB, free: 48.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001035/0.481, allocations: 419.6 kB / 0.5582 GB, free: 48.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007413/0.4817, allocations: 0.7805 MB / 0.5589 GB, free: 47.33 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4817, allocations: 0 / 0.5589 GB, free: 47.33 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).