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 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.03127/0.03127, allocations: 6.474 MB / 25.56 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 83.72 kB / 30.8 MB, free: 4.961 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 163.6 kB / 36.13 MB, free: 6.828 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9069/0.9069, allocations: 177.2 MB / 218.5 MB, free: 13.58 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.008916/0.008916, allocations: 2.499 MB / 279.5 MB, free: 0.5117 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 408.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.147e-05, allocations: 2.281 kB / 408.8 MB, free: 13.57 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.007332/0.007353, allocations: 8.732 MB / 417.5 MB, free: 4.789 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004512/0.01187, allocations: 2.727 MB / 420.3 MB, free: 2.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.01306, allocations: 63.62 kB / 420.3 MB, free: 1.988 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.01418, allocations: 0.5001 MB / 420.8 MB, free: 1.484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.01575, allocations: 0.7408 MB / 421.6 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009429/0.01669, allocations: 0.5615 MB / 422.1 MB, free: 180 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.002309/0.019, allocations: 2.778 MB / 424.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.02028, allocations: 1.289 MB / 426.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.02226, allocations: 1.809 MB / 428 MB, free: 10.22 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.02354, allocations: 1.227 MB / 429.2 MB, free: 8.988 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003717/0.02391, allocations: 336 kB / 429.6 MB, free: 8.66 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005852/0.0245, allocations: 439.7 kB / 430 MB, free: 8.23 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005786/0.02507, allocations: 0.8959 MB / 430.9 MB, free: 7.332 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009994/0.02607, allocations: 0.9978 MB / 431.9 MB, free: 6.332 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.02926, allocations: 4.249 MB / 436.1 MB, free: 2.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.02927, allocations: 0 / 436.1 MB, free: 2.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.02927, allocations: 0 / 436.1 MB, free: 2.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.174e-05/0.02933, allocations: 0 / 436.1 MB, free: 2.07 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 608 * Number of variables: 608 Notification: Performance of Generate backend data structure: time 0.0042/0.03353, allocations: 2.905 MB / 439 MB, free: 15.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.03357, allocations: 12.03 kB / 439 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003104/0.03388, allocations: 345.6 kB / 439.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005525/0.03444, allocations: 311.2 kB / 439.7 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.03623, allocations: 1.421 MB / 441.1 MB, free: 12.99 MB / 410.7 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.0002142/0.03644, allocations: 290.7 kB / 441.4 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.03667, allocations: 243.9 kB / 441.6 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/0.04005, allocations: 3.129 MB / 444.8 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.214e-05/0.0401, allocations: 4 kB / 444.8 MB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.04023, allocations: 95.98 kB / 444.9 MB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.716e-05/0.04031, allocations: 108.6 kB / 445 MB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.04314, allocations: 2.38 MB / 447.3 MB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1739/0.2171, allocations: 7.843 MB / 455.2 MB, free: 79.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.2187, allocations: 1.363 MB / 456.6 MB, free: 79.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.2197, allocations: 0.9087 MB / 457.5 MB, free: 79.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.2199, allocations: 46.88 kB / 457.5 MB, free: 79.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007779/0.2206, allocations: 0.8842 MB / 458.4 MB, free: 79.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 2.254e-06/0.2206, allocations: 3.219 kB / 458.4 MB, free: 79.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.00825/0.2289, allocations: 6.47 MB / 464.9 MB, free: 77.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.2289, allocations: 256 kB / 465.1 MB, free: 77.1 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.001088/0.23, allocations: 1.2 MB / 466.3 MB, free: 76.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.2301, allocations: 47.95 kB / 466.4 MB, free: 76.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/0.2306, allocations: 1.052 MB / 467.4 MB, free: 75.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.2308, allocations: 444.6 kB / 467.8 MB, free: 75.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.231, allocations: 259 kB / 468.1 MB, free: 75.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.986e-05/0.2311, allocations: 311.5 kB / 468.4 MB, free: 75.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.2318, allocations: 0.7404 MB / 469.1 MB, free: 74.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008439/0.2326, allocations: 1.307 MB / 470.5 MB, free: 73.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004309/0.2369, allocations: 3.583 MB / 474 MB, free: 72.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.2369, allocations: 6.719 kB / 474 MB, free: 72.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.0027/0.2396, allocations: 2.504 MB / 476.5 MB, free: 71.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.2397, allocations: 45.77 kB / 476.6 MB, free: 71.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.2397, allocations: 16.23 kB / 476.6 MB, free: 71.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006856/0.2404, allocations: 0.4969 MB / 477.1 MB, free: 71.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.241, allocations: 317.2 kB / 477.4 MB, free: 71.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/0.2452, allocations: 8.331 MB / 485.7 MB, free: 64.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.2463, allocations: 135.1 kB / 485.9 MB, free: 64.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.2464, allocations: 61.09 kB / 485.9 MB, free: 64.58 MB / 410.7 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.001614/0.248, allocations: 1.307 MB / 487.2 MB, free: 64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008457/0.2488, allocations: 1.277 MB / 488.5 MB, free: 63.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004354/0.2532, allocations: 3.512 MB / 492 MB, free: 61.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.144e-05/0.2532, allocations: 2.75 kB / 492 MB, free: 61.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.002862/0.2561, allocations: 2.477 MB / 494.5 MB, free: 60.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.2561, allocations: 40.64 kB / 494.6 MB, free: 60.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.2561, allocations: 11 kB / 494.6 MB, free: 60.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006611/0.2568, allocations: 0.4987 MB / 495.1 MB, free: 60.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.2574, allocations: 303.8 kB / 495.4 MB, free: 60.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.2617, allocations: 8.327 MB / 0.4919 GB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.2628, allocations: 135.6 kB / 0.492 GB, free: 53.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/0.2629, allocations: 63.34 kB / 0.4921 GB, free: 53.7 MB / 410.7 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: 49 * 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 (158): * Single equations (assignments): 151 * 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.0003541/0.2633, allocations: 293.8 kB / 0.4923 GB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.2635, allocations: 155.1 kB / 0.4925 GB, free: 53.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.2661, allocations: 2.139 MB / 0.4946 GB, free: 52.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.2661, allocations: 20.67 kB / 0.4946 GB, free: 52.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2661, allocations: 5.125 kB / 0.4946 GB, free: 52.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.2661, allocations: 7.078 kB / 0.4946 GB, free: 52.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/0.2713, allocations: 4.39 MB / 0.4989 GB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.2713, allocations: 4.125 kB / 0.4989 GB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.2719, allocations: 211 kB / 0.4991 GB, free: 50.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008981/0.2728, allocations: 0.5093 MB / 0.4996 GB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/0.2728, allocations: 38.75 kB / 0.4996 GB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004633/0.2775, allocations: 8.162 MB / 0.5076 GB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2775, allocations: 7.844 kB / 0.5076 GB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003679/0.2811, allocations: 3.199 MB / 0.5107 GB, free: 42.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005679/0.2817, allocations: 296.8 kB / 0.511 GB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.2818, allocations: 34.11 kB / 0.5111 GB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.2823, allocations: 110 kB / 0.5112 GB, free: 42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.2826, allocations: 118.9 kB / 0.5113 GB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.2826, allocations: 40.92 kB / 0.5113 GB, free: 41.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008064/0.2834, allocations: 0.8011 MB / 0.5121 GB, free: 41.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2834, allocations: 0 / 0.5121 GB, free: 41.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001931/0.2854, allocations: 0.7934 MB / 0.5129 GB, free: 40.42 MB / 410.7 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 (105): * Single equations (assignments): 97 * 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.003346/0.2887, allocations: 3.826 MB / 0.5166 GB, free: 36.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004996/0.2937, allocations: 6.447 MB / 0.5229 GB, free: 30.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.2937, allocations: 4 kB / 0.5229 GB, free: 30.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.2955, allocations: 2.684 MB / 0.5255 GB, free: 28.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.2967, allocations: 391.4 kB / 0.5259 GB, free: 28.03 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.308, allocations: 12.4 MB / 0.538 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007597/0.3088, allocations: 1.275 MB / 0.5393 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007706/0.3096, allocations: 432 kB / 0.5397 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000544/0.3101, allocations: 0.8719 MB / 0.5405 GB, free: 12.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3101, allocations: 0 / 0.5405 GB, free: 12.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07956/0.3897, allocations: 52.39 MB / 0.5917 GB, free: 8.992 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.934, allocations: 14.14 kB / 0.5917 GB, free: 8.984 MB / 458.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file EHPTexamples_latest_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_latest_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.928175901062787] Failed to read output from testmodel.py, exit status != 0: 9.039516730234027 9.051969096 9.020602959 Calling exit ...