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.04067/0.04067, allocations: 8.028 MB / 23.53 MB, free: 356 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.0008989/0.000899, allocations: 112.7 kB / 26.12 MB, free: 3.324 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.001024/0.001025, allocations: 199 kB / 28.8 MB, free: 0.6445 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.202/1.202, allocations: 222.9 MB / 254.2 MB, free: 4.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01174/0.01174, allocations: 3.121 MB / 309.3 MB, free: 2.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 95.84 kB / 373.8 MB, free: 1.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1815, allocations: 51.97 MB / 425.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.007553/0.1891, allocations: 9.128 MB / 434.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.193, allocations: 2.63 MB / 437.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007727/0.1938, allocations: 47.81 kB / 437.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008704/0.1947, allocations: 464.5 kB / 438 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.1958, allocations: 0.6521 MB / 438.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.1964, allocations: 0.4966 MB / 439.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.1977, allocations: 2.48 MB / 441.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.1992, allocations: 2.049 MB / 443.7 MB, free: 3.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007081/0.1999, allocations: 1.082 MB / 444.8 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009052/0.2008, allocations: 1.335 MB / 446.1 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.2011, allocations: 300 kB / 446.4 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004667/0.2016, allocations: 391.8 kB / 446.8 MB, free: 260 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006161/0.2022, allocations: 0.7832 MB / 447.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.2033, allocations: 1.291 MB / 448.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.2061, allocations: 3.696 MB / 452.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2061, allocations: 0 / 452.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2061, allocations: 0 / 452.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.2061, allocations: 0 / 452.5 MB, free: 10.46 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.004559/0.2107, allocations: 2.713 MB / 455.3 MB, free: 7.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2108, allocations: 8.031 kB / 455.3 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003326/0.2111, allocations: 307.8 kB / 455.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006079/0.2117, allocations: 266 kB / 455.8 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.2135, allocations: 1.298 MB / 457.1 MB, free: 5.758 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.0002178/0.2137, allocations: 223.5 kB / 457.3 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/0.214, allocations: 207.9 kB / 457.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004016/0.218, allocations: 2.715 MB / 460.3 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.086e-05/0.2181, allocations: 11.91 kB / 460.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/0.2183, allocations: 83.98 kB / 460.4 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.99e-05/0.2184, allocations: 100 kB / 460.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/0.222, allocations: 2.229 MB / 462.7 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.2332, allocations: 8.004 MB / 470.7 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.2358, allocations: 1.624 MB / 472.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.2375, allocations: 0.949 MB / 473.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/0.2378, allocations: 126 kB / 473.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/0.239, allocations: 0.7734 MB / 474.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.524e-06/0.2391, allocations: 0 / 474.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01445/0.2535, allocations: 6.651 MB / 480.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.2536, allocations: 244.3 kB / 481 MB, free: 13.16 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.001716/0.2554, allocations: 1.211 MB / 482.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.298e-05/0.2555, allocations: 45.7 kB / 482.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/0.2563, allocations: 0.9231 MB / 483.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/0.2566, allocations: 410.2 kB / 483.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004034/0.257, allocations: 259.4 kB / 483.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2572, allocations: 369.9 kB / 484.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.2584, allocations: 0.7113 MB / 484.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.2599, allocations: 1.096 MB / 486 MB, free: 7.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008647/0.2686, allocations: 3.602 MB / 489.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.2686, allocations: 0 / 489.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004009/0.2726, allocations: 2.529 MB / 492.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.2727, allocations: 37.69 kB / 492.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.2727, allocations: 12 kB / 492.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.2738, allocations: 0.5041 MB / 492.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.2748, allocations: 307.5 kB / 493 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007448/0.2823, allocations: 8.797 MB / 0.4901 GB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.2835, allocations: 123.9 kB / 0.4902 GB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.2836, allocations: 67.98 kB / 0.4902 GB, free: 7.191 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.001967/0.2856, allocations: 1.227 MB / 0.4914 GB, free: 5.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001416/0.287, allocations: 1.072 MB / 0.4925 GB, free: 4.734 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008095/0.2951, allocations: 3.532 MB / 0.4959 GB, free: 1.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.51e-06/0.2952, allocations: 0 / 0.4959 GB, free: 1.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004042/0.2992, allocations: 2.482 MB / 0.4984 GB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.2992, allocations: 37.7 kB / 0.4984 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.2993, allocations: 8 kB / 0.4984 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.3004, allocations: 0.5078 MB / 0.4989 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000999/0.3014, allocations: 279.6 kB / 0.4992 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008034/0.3095, allocations: 8.806 MB / 0.5078 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3107, allocations: 139.8 kB / 0.5079 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.3109, allocations: 63.92 kB / 0.508 GB, free: 4.102 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.0004415/0.3113, allocations: 292 kB / 0.5082 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.3116, allocations: 130.4 kB / 0.5084 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/0.3156, allocations: 2.215 MB / 0.5105 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3156, allocations: 12 kB / 0.5105 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.3157, allocations: 4 kB / 0.5105 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.3157, allocations: 3.984 kB / 0.5105 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1607/0.4763, allocations: 4.627 MB / 0.5151 GB, free: 84.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.4764, allocations: 4.469 kB / 0.5151 GB, free: 84.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000811/0.4772, allocations: 205.3 kB / 0.5153 GB, free: 84.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.4784, allocations: 0.5168 MB / 0.5158 GB, free: 84.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-05/0.4785, allocations: 42.25 kB / 0.5158 GB, free: 84.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005488/0.484, allocations: 8.622 MB / 0.5242 GB, free: 77.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.484, allocations: 7.875 kB / 0.5242 GB, free: 77.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.4882, allocations: 3.239 MB / 0.5274 GB, free: 76.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.4887, allocations: 363.4 kB / 0.5277 GB, free: 76.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.4889, allocations: 39.72 kB / 0.5278 GB, free: 76.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008575/0.4898, allocations: 103.9 kB / 0.5279 GB, free: 76.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.49, allocations: 115.4 kB / 0.528 GB, free: 76.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.699e-05/0.4901, allocations: 36.31 kB / 0.528 GB, free: 76.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008929/0.491, allocations: 0.8011 MB / 0.5288 GB, free: 75.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.491, allocations: 0 / 0.5288 GB, free: 75.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001822/0.4928, allocations: 0.7502 MB / 0.5295 GB, free: 75.68 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.004354/0.4972, allocations: 3.877 MB / 0.5333 GB, free: 73.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008496/0.5057, allocations: 7.115 MB / 0.5403 GB, free: 67.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5057, allocations: 0 / 0.5403 GB, free: 67.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003176/0.5089, allocations: 2.841 MB / 0.5431 GB, free: 64.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.5103, allocations: 379.4 kB / 0.5434 GB, free: 64.01 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.01271/0.523, allocations: 12.92 MB / 0.556 GB, free: 50.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008596/0.5239, allocations: 1.738 MB / 0.5577 GB, free: 48.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009621/0.5249, allocations: 431.5 kB / 0.5581 GB, free: 48.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006803/0.5256, allocations: 0.7805 MB / 0.5589 GB, free: 47.48 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5256, allocations: 0 / 0.5589 GB, free: 47.48 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).