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.05716/0.05716, allocations: 8.032 MB / 23.27 MB, free: 496 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.001049/0.001049, allocations: 103.3 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.001183/0.001183, allocations: 191.1 kB / 28.51 MB, free: 0.8242 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.356/1.356, allocations: 222.9 MB / 253.9 MB, free: 4.984 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01203/0.01203, allocations: 3.114 MB / 308.9 MB, free: 2.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 91.86 kB / 373.2 MB, free: 2.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2196, allocations: 51.97 MB / 425.2 MB, free: 21.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.007926/0.2275, allocations: 9.074 MB / 434.3 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004338/0.2319, allocations: 2.595 MB / 436.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008913/0.2328, allocations: 43.81 kB / 436.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.2339, allocations: 393.6 kB / 437.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.2353, allocations: 0.5671 MB / 437.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007937/0.2361, allocations: 465.8 kB / 438.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.2377, allocations: 2.465 MB / 440.8 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.2393, allocations: 2.049 MB / 442.8 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.2405, allocations: 1.098 MB / 443.9 MB, free: 2.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.2417, allocations: 1.354 MB / 445.3 MB, free: 1.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000307/0.242, allocations: 304 kB / 445.6 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.2426, allocations: 395.8 kB / 446 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005579/0.2432, allocations: 0.7909 MB / 446.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.2444, allocations: 1.291 MB / 448 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003181/0.2476, allocations: 3.684 MB / 451.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2476, allocations: 0 / 451.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2477, allocations: 0 / 451.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.46e-05/0.2477, allocations: 4 kB / 451.7 MB, free: 10.9 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.005094/0.2528, allocations: 2.716 MB / 454.5 MB, free: 8.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.2529, allocations: 12.03 kB / 454.5 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003675/0.2533, allocations: 295.8 kB / 454.8 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/0.254, allocations: 270 kB / 455 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.2558, allocations: 1.298 MB / 456.3 MB, free: 6.191 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.0002377/0.2561, allocations: 219.5 kB / 456.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.2564, allocations: 207.9 kB / 456.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004263/0.2607, allocations: 2.715 MB / 459.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-05/0.2607, allocations: 11.91 kB / 459.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.2609, allocations: 84 kB / 459.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.261, allocations: 100 kB / 459.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003603/0.2646, allocations: 2.225 MB / 461.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.276, allocations: 8.012 MB / 469.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.2787, allocations: 1.609 MB / 471.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.2803, allocations: 0.9517 MB / 472.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.2806, allocations: 122.1 kB / 472.6 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.2818, allocations: 0.785 MB / 473.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.925e-06/0.2819, allocations: 0 / 473.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01391/0.2958, allocations: 6.646 MB / 480 MB, free: 13.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.2959, allocations: 252.3 kB / 480.2 MB, free: 13.59 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.001706/0.2977, allocations: 1.199 MB / 481.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.2978, allocations: 49.7 kB / 481.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/0.2986, allocations: 0.9309 MB / 482.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.299, allocations: 414.2 kB / 482.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/0.2995, allocations: 251.4 kB / 483.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2996, allocations: 373.7 kB / 483.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.3009, allocations: 0.7113 MB / 484.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.3023, allocations: 1.1 MB / 485.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008711/0.311, allocations: 3.602 MB / 488.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.3111, allocations: 4.062 kB / 488.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004433/0.3155, allocations: 2.525 MB / 491.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.3156, allocations: 41.7 kB / 491.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.3156, allocations: 8 kB / 491.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.3168, allocations: 0.5121 MB / 491.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.3179, allocations: 291.5 kB / 492.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00782/0.3257, allocations: 8.797 MB / 0.4893 GB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.3273, allocations: 127.9 kB / 0.4894 GB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.3274, allocations: 63.92 kB / 0.4895 GB, free: 7.633 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.002214/0.3297, allocations: 1.23 MB / 0.4907 GB, free: 6.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001305/0.331, allocations: 1.072 MB / 0.4917 GB, free: 5.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008154/0.3391, allocations: 3.532 MB / 0.4952 GB, free: 1.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.224e-05/0.3392, allocations: 4 kB / 0.4952 GB, free: 1.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004152/0.3434, allocations: 2.482 MB / 0.4976 GB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.3434, allocations: 37.7 kB / 0.4976 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.3434, allocations: 12 kB / 0.4976 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.3445, allocations: 0.5002 MB / 0.4981 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009821/0.3455, allocations: 287.5 kB / 0.4984 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007453/0.353, allocations: 8.798 MB / 0.507 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.3546, allocations: 139.8 kB / 0.5071 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.3547, allocations: 63.86 kB / 0.5072 GB, free: 4.543 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.0004949/0.3552, allocations: 289.3 kB / 0.5075 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.3555, allocations: 142.4 kB / 0.5076 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/0.3593, allocations: 2.207 MB / 0.5097 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.3594, allocations: 15.94 kB / 0.5098 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.3594, allocations: 8 kB / 0.5098 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.3594, allocations: 3.984 kB / 0.5098 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1859/0.5453, allocations: 4.62 MB / 0.5143 GB, free: 85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.5453, allocations: 5.562 kB / 0.5143 GB, free: 85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008755/0.5462, allocations: 202.4 kB / 0.5145 GB, free: 85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.5476, allocations: 0.5193 MB / 0.515 GB, free: 84.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.5478, allocations: 38.22 kB / 0.515 GB, free: 84.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007234/0.555, allocations: 8.632 MB / 0.5235 GB, free: 78.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.555, allocations: 3.906 kB / 0.5235 GB, free: 78.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005218/0.5603, allocations: 3.242 MB / 0.5266 GB, free: 76.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007981/0.5611, allocations: 362.2 kB / 0.527 GB, free: 76.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.5613, allocations: 31.36 kB / 0.527 GB, free: 76.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009431/0.5623, allocations: 107.6 kB / 0.5271 GB, free: 76.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/0.5626, allocations: 110.9 kB / 0.5272 GB, free: 76.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.589e-05/0.5627, allocations: 47.62 kB / 0.5273 GB, free: 76.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009852/0.5636, allocations: 0.8018 MB / 0.528 GB, free: 76.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5636, allocations: 0 / 0.528 GB, free: 76.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002174/0.5658, allocations: 0.7435 MB / 0.5288 GB, free: 76.19 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.004587/0.5704, allocations: 3.874 MB / 0.5325 GB, free: 74.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009549/0.58, allocations: 7.114 MB / 0.5395 GB, free: 67.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/0.58, allocations: 4 kB / 0.5395 GB, free: 67.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003577/0.5836, allocations: 2.839 MB / 0.5423 GB, free: 64.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.5855, allocations: 388.3 kB / 0.5426 GB, free: 64.59 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.01878/0.6043, allocations: 13.74 MB / 0.5561 GB, free: 50.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.6056, allocations: 1.75 MB / 0.5578 GB, free: 48.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001398/0.607, allocations: 419.6 kB / 0.5582 GB, free: 48.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000824/0.6078, allocations: 0.7883 MB / 0.5589 GB, free: 47.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6079, allocations: 0 / 0.5589 GB, free: 47.25 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).