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/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 2.1.4/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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/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/package.mo): time 0.05256/0.05256, allocations: 8.025 MB / 23.66 MB, free: 272 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.001084/0.001085, allocations: 111 kB / 26.25 MB, free: 3.242 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.001223/0.001223, allocations: 191.5 kB / 28.94 MB, free: 0.5664 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.354/1.354, allocations: 222.9 MB / 254.4 MB, free: 4.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01421/0.01421, allocations: 3.123 MB / 309.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 103.8 kB / 426.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09422, allocations: 51.97 MB / 478.4 MB, free: 14.01 MB / 350.1 MB [/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. [/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: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/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) 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: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: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: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) 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=3*(1 - sqrt(1 - 0.0667))/(2*pi*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=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) 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=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) 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: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: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) as default value. [/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. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.01092/0.1052, allocations: 9.174 MB / 487.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00556/0.1108, allocations: 2.642 MB / 490.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.1123, allocations: 47.81 kB / 490.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.1138, allocations: 468.7 kB / 490.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.1164, allocations: 0.6833 MB / 491.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.1181, allocations: 0.5062 MB / 491.9 MB, free: 452 kB / 350.1 MB [/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/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. Notification: Performance of NFFlatten.flatten: time 0.003771/0.1219, allocations: 2.491 MB / 494.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/0.1248, allocations: 2.057 MB / 496.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.1266, allocations: 1.102 MB / 497.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.1289, allocations: 1.335 MB / 498.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000871/0.1298, allocations: 300 kB / 499.2 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.1312, allocations: 399.8 kB / 499.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.1326, allocations: 0.7948 MB / 0.4886 GB, free: 7.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002311/0.1349, allocations: 1.295 MB / 0.4899 GB, free: 6.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005281/0.1402, allocations: 3.76 MB / 0.4936 GB, free: 2.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1402, allocations: 0 / 0.4936 GB, free: 2.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1402, allocations: 0 / 0.4936 GB, free: 2.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001446/0.1404, allocations: 0 / 0.4936 GB, free: 2.812 MB / 366.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.007659/0.148, allocations: 2.772 MB / 0.4963 GB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1481, allocations: 12.03 kB / 0.4963 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007672/0.1489, allocations: 303.8 kB / 0.4966 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.15, allocations: 287.3 kB / 0.4969 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.1528, allocations: 1.338 MB / 0.4982 GB, free: 13.98 MB / 382.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.000405/0.1532, allocations: 223.5 kB / 0.4984 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005024/0.1537, allocations: 215.9 kB / 0.4986 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005861/0.1596, allocations: 2.715 MB / 0.5012 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.125e-05/0.1597, allocations: 3.953 kB / 0.5012 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/0.16, allocations: 88 kB / 0.5013 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.1601, allocations: 100 kB / 0.5014 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004686/0.1648, allocations: 2.221 MB / 0.5036 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.1784, allocations: 7.941 MB / 0.5113 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2112/0.3897, allocations: 1.595 MB / 0.5129 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.3919, allocations: 0.9559 MB / 0.5138 GB, free: 39.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.3921, allocations: 123.2 kB / 0.5139 GB, free: 39.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.3934, allocations: 0.779 MB / 0.5147 GB, free: 39.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.875e-06/0.3935, allocations: 0 / 0.5147 GB, free: 39.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.015/0.4085, allocations: 6.721 MB / 0.5213 GB, free: 36.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.4086, allocations: 250.8 kB / 0.5215 GB, free: 36.32 MB / 382.1 MB [/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.4104, allocations: 1.173 MB / 0.5227 GB, free: 35.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/0.4105, allocations: 46.7 kB / 0.5227 GB, free: 35.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007981/0.4113, allocations: 0.9482 MB / 0.5236 GB, free: 35.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.4116, allocations: 441.3 kB / 0.524 GB, free: 34.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000387/0.412, allocations: 253.5 kB / 0.5243 GB, free: 34.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.4121, allocations: 364 kB / 0.5246 GB, free: 34.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.4133, allocations: 0.7166 MB / 0.5253 GB, free: 34.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.4148, allocations: 1.097 MB / 0.5264 GB, free: 33.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008333/0.4232, allocations: 3.574 MB / 0.5299 GB, free: 31.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.4232, allocations: 2.75 kB / 0.5299 GB, free: 31.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004261/0.4275, allocations: 2.536 MB / 0.5324 GB, free: 30.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.4275, allocations: 41.28 kB / 0.5324 GB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.4276, allocations: 9.938 kB / 0.5324 GB, free: 30.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.4287, allocations: 0.4985 MB / 0.5329 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/0.4297, allocations: 295.7 kB / 0.5332 GB, free: 30.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006044/0.4357, allocations: 8.807 MB / 0.5418 GB, free: 23.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.437, allocations: 124.2 kB / 0.5419 GB, free: 22.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-05/0.4371, allocations: 58.48 kB / 0.542 GB, free: 22.95 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001777/0.4389, allocations: 1.241 MB / 0.5432 GB, free: 22.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001027/0.4399, allocations: 1.08 MB / 0.5442 GB, free: 20.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007033/0.447, allocations: 3.504 MB / 0.5477 GB, free: 17.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.204e-06/0.447, allocations: 6.953 kB / 0.5477 GB, free: 17.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003585/0.4506, allocations: 2.491 MB / 0.5501 GB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.4506, allocations: 33.7 kB / 0.5501 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4506, allocations: 14.25 kB / 0.5501 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008958/0.4515, allocations: 0.5006 MB / 0.5506 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009607/0.4525, allocations: 287.5 kB / 0.5509 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.4582, allocations: 8.814 MB / 0.5595 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.4596, allocations: 131.8 kB / 0.5596 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-05/0.4597, allocations: 58.42 kB / 0.5597 GB, free: 4.336 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.0004963/0.4602, allocations: 293.8 kB / 0.56 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.4604, allocations: 143.1 kB / 0.5601 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/0.4637, allocations: 2.211 MB / 0.5623 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.4638, allocations: 12 kB / 0.5623 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-05/0.4638, allocations: 4 kB / 0.5623 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/0.4639, allocations: 7.969 kB / 0.5623 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007022/0.4709, allocations: 4.622 MB / 0.5668 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4709, allocations: 0 / 0.5668 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008809/0.4718, allocations: 201.3 kB / 0.567 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.4731, allocations: 0.5242 MB / 0.5675 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.972e-05/0.4732, allocations: 44.25 kB / 0.5676 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007927/0.4812, allocations: 8.616 MB / 0.576 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4812, allocations: 7.938 kB / 0.576 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005307/0.4865, allocations: 3.259 MB / 0.5792 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008825/0.4874, allocations: 364.1 kB / 0.5795 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.4878, allocations: 32 kB / 0.5795 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.4889, allocations: 107.9 kB / 0.5796 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.4892, allocations: 120.2 kB / 0.5798 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/0.4893, allocations: 39.98 kB / 0.5798 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001363/0.4906, allocations: 0.798 MB / 0.5806 GB, free: 14.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4907, allocations: 0 / 0.5806 GB, free: 14.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003/0.4937, allocations: 0.7499 MB / 0.5813 GB, free: 13.38 MB / 414.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.006038/0.4997, allocations: 3.895 MB / 0.5851 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01018/0.5099, allocations: 6.697 MB / 0.5916 GB, free: 2.449 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.5099, allocations: 3.938 kB / 0.5916 GB, free: 2.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004103/0.514, allocations: 2.849 MB / 0.5944 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.5163, allocations: 384.2 kB / 0.5948 GB, free: 15.12 MB / 430.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/0.5373, allocations: 12.18 MB / 0.6067 GB, free: 2.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/0.5392, allocations: 1.747 MB / 0.6084 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001344/0.5406, allocations: 415.6 kB / 0.6088 GB, free: 300 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009992/0.5416, allocations: 0.7927 MB / 0.6096 GB, free: 15.51 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5416, allocations: 0 / 0.6096 GB, free: 15.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09849/0.6401, allocations: 47.96 MB / 0.6564 GB, free: 15.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.05, allocations: 10.5 kB / 0.6564 GB, free: 15.92 MB / 494.1 MB (rm -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTexamples_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)