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.07033/0.07033, allocations: 8.028 MB / 23.66 MB, free: 256 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.00137/0.001371, allocations: 103.2 kB / 26.25 MB, free: 3.227 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.001821/0.001821, allocations: 190.8 kB / 28.94 MB, free: 0.543 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.355/1.355, allocations: 222.9 MB / 254.4 MB, free: 4.676 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01385/0.01385, allocations: 3.119 MB / 309.4 MB, free: 2.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 95.84 kB / 426.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.0925, allocations: 51.98 MB / 478.4 MB, free: 14 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.01045/0.103, allocations: 9.168 MB / 487.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005479/0.1085, allocations: 2.641 MB / 490.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.11, allocations: 47.81 kB / 490.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.1115, allocations: 481.7 kB / 490.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.114, allocations: 0.6794 MB / 491.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.1158, allocations: 0.5026 MB / 491.9 MB, free: 460 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.004067/0.1199, allocations: 2.495 MB / 494.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.1232, allocations: 2.053 MB / 496.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.1249, allocations: 1.106 MB / 497.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.127, allocations: 1.331 MB / 498.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008571/0.1279, allocations: 304 kB / 499.2 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.1292, allocations: 395.8 kB / 499.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.1304, allocations: 0.7948 MB / 0.4886 GB, free: 7.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002057/0.1325, allocations: 1.295 MB / 0.4899 GB, free: 6.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004621/0.1371, allocations: 3.746 MB / 0.4936 GB, free: 2.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1371, allocations: 0 / 0.4936 GB, free: 2.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1371, allocations: 0 / 0.4936 GB, free: 2.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001297/0.1373, allocations: 0 / 0.4936 GB, free: 2.836 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.006747/0.144, allocations: 2.72 MB / 0.4962 GB, free: 48 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1441, allocations: 12.03 kB / 0.4962 GB, free: 36 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006217/0.1447, allocations: 295.8 kB / 0.4965 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000895/0.1456, allocations: 277.9 kB / 0.4968 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.1481, allocations: 1.329 MB / 0.4981 GB, free: 14.08 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.0002566/0.1484, allocations: 227.5 kB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004047/0.1488, allocations: 211.9 kB / 0.4985 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004788/0.1536, allocations: 2.711 MB / 0.5011 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-05/0.1537, allocations: 11.92 kB / 0.5011 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.1539, allocations: 84 kB / 0.5012 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.154, allocations: 96.03 kB / 0.5013 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004118/0.1581, allocations: 2.229 MB / 0.5035 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.1708, allocations: 7.918 MB / 0.5112 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2257/0.3965, allocations: 1.599 MB / 0.5128 GB, free: 39.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.3984, allocations: 0.9507 MB / 0.5137 GB, free: 39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.3987, allocations: 124.6 kB / 0.5138 GB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.4, allocations: 0.7753 MB / 0.5146 GB, free: 38.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.607e-06/0.4, allocations: 0 / 0.5146 GB, free: 38.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01484/0.4149, allocations: 6.675 MB / 0.5211 GB, free: 36.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.415, allocations: 251.4 kB / 0.5214 GB, free: 36.21 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.001912/0.4169, allocations: 1.167 MB / 0.5225 GB, free: 35.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.4171, allocations: 48.98 kB / 0.5225 GB, free: 35.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007655/0.4179, allocations: 0.9235 MB / 0.5234 GB, free: 34.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/0.4182, allocations: 417.9 kB / 0.5238 GB, free: 34.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004207/0.4186, allocations: 251.9 kB / 0.5241 GB, free: 34.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.4187, allocations: 365.3 kB / 0.5244 GB, free: 34.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.42, allocations: 0.7158 MB / 0.5251 GB, free: 33.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.4214, allocations: 1.102 MB / 0.5262 GB, free: 33.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008241/0.4296, allocations: 3.57 MB / 0.5297 GB, free: 31.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/0.4297, allocations: 2.75 kB / 0.5297 GB, free: 31.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004214/0.4339, allocations: 2.533 MB / 0.5322 GB, free: 30.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.434, allocations: 41.14 kB / 0.5322 GB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.434, allocations: 11.59 kB / 0.5322 GB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.435, allocations: 0.492 MB / 0.5327 GB, free: 30.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009938/0.436, allocations: 300.1 kB / 0.533 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005989/0.442, allocations: 8.796 MB / 0.5416 GB, free: 22.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.4436, allocations: 135.2 kB / 0.5417 GB, free: 22.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.4438, allocations: 60.89 kB / 0.5418 GB, free: 22.79 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.001946/0.4457, allocations: 1.226 MB / 0.543 GB, free: 22.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001046/0.4468, allocations: 1.074 MB / 0.544 GB, free: 20.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006995/0.4538, allocations: 3.509 MB / 0.5474 GB, free: 17.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.466e-06/0.4538, allocations: 4 kB / 0.5474 GB, free: 17.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003539/0.4574, allocations: 2.489 MB / 0.5499 GB, free: 14.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.4574, allocations: 37.7 kB / 0.5499 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4574, allocations: 12 kB / 0.5499 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009388/0.4584, allocations: 0.5026 MB / 0.5504 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009561/0.4593, allocations: 291.5 kB / 0.5507 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005858/0.4652, allocations: 8.792 MB / 0.5593 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.4669, allocations: 139.9 kB / 0.5594 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.467, allocations: 59.98 kB / 0.5595 GB, free: 4.301 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.0005006/0.4675, allocations: 286.1 kB / 0.5597 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.4678, allocations: 146.2 kB / 0.5599 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.4711, allocations: 2.203 MB / 0.562 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.4711, allocations: 12 kB / 0.562 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.4711, allocations: 6.25 kB / 0.562 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4711, allocations: 7.969 kB / 0.562 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007364/0.4785, allocations: 4.624 MB / 0.5666 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.4786, allocations: 4 kB / 0.5666 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/0.4794, allocations: 200.2 kB / 0.5668 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.4808, allocations: 0.5255 MB / 0.5673 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-05/0.4809, allocations: 31.98 kB / 0.5673 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007764/0.4887, allocations: 8.619 MB / 0.5757 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.4887, allocations: 7.938 kB / 0.5757 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005206/0.4939, allocations: 3.25 MB / 0.5789 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008032/0.4948, allocations: 355.3 kB / 0.5792 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.495, allocations: 35.98 kB / 0.5793 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009257/0.4959, allocations: 103.9 kB / 0.5794 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/0.4962, allocations: 112.7 kB / 0.5795 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/0.4963, allocations: 43.98 kB / 0.5795 GB, free: 14.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001093/0.4974, allocations: 0.7941 MB / 0.5803 GB, free: 14.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4974, allocations: 4 kB / 0.5803 GB, free: 14.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002502/0.4999, allocations: 0.7486 MB / 0.581 GB, free: 13.4 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.005617/0.5055, allocations: 3.888 MB / 0.5848 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01011/0.5156, allocations: 6.7 MB / 0.5914 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.5157, allocations: 0 / 0.5914 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004286/0.52, allocations: 2.846 MB / 0.5942 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.5222, allocations: 386 kB / 0.5945 GB, free: 15.16 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.02163/0.5439, allocations: 12.12 MB / 0.6064 GB, free: 2.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/0.5457, allocations: 1.742 MB / 0.6081 GB, free: 0.832 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001301/0.547, allocations: 415.6 kB / 0.6085 GB, free: 432 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.5482, allocations: 0.7885 MB / 0.6092 GB, free: 15.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.443e-06/0.5482, allocations: 8 kB / 0.6092 GB, free: 15.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1311/0.6792, allocations: 47.96 MB / 0.6561 GB, free: 88 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.38, allocations: 7.922 kB / 0.6561 GB, free: 80 kB / 478.1 MB (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)