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 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.02874/0.02874, allocations: 6.472 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.0007166/0.0007166, allocations: 84.47 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.00081/0.00081, allocations: 159.3 kB / 36.13 MB, free: 6.844 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.8906/0.8906, allocations: 177.1 MB / 218.5 MB, free: 13.56 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.009247/0.009247, allocations: 2.515 MB / 279.5 MB, free: 492 kB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 408.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.364e-05, allocations: 2.281 kB / 408.8 MB, free: 13.54 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.007225/0.007239, allocations: 8.735 MB / 417.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.01042, allocations: 2.723 MB / 420.3 MB, free: 2.031 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005299/0.01095, allocations: 67.62 kB / 420.3 MB, free: 1.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007178/0.01166, allocations: 0.4923 MB / 420.8 MB, free: 1.469 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.01292, allocations: 0.7563 MB / 421.6 MB, free: 0.707 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.01348, allocations: 0.5527 MB / 422.1 MB, free: 160 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.001577/0.01506, allocations: 2.782 MB / 424.9 MB, free: 13.36 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.01612, allocations: 1.286 MB / 426.2 MB, free: 12.01 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.01736, allocations: 1.813 MB / 428 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.01858, allocations: 1.227 MB / 429.2 MB, free: 8.961 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.01884, allocations: 336 kB / 429.6 MB, free: 8.633 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003971/0.01924, allocations: 435.8 kB / 430 MB, free: 8.207 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.01973, allocations: 0.8998 MB / 430.9 MB, free: 7.305 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006256/0.02036, allocations: 0.99 MB / 431.9 MB, free: 6.312 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.02304, allocations: 4.253 MB / 436.1 MB, free: 2.047 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.02305, allocations: 0 / 436.1 MB, free: 2.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.02305, allocations: 3.938 kB / 436.1 MB, free: 2.043 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.141e-05/0.02309, allocations: 0 / 436.1 MB, free: 2.043 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.003135/0.02622, allocations: 2.909 MB / 439.1 MB, free: 15.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.02626, allocations: 8.031 kB / 439.1 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002769/0.02654, allocations: 345.7 kB / 439.4 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004579/0.02699, allocations: 307.2 kB / 439.7 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.02857, allocations: 1.418 MB / 441.1 MB, free: 12.97 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.0001896/0.02876, allocations: 296 kB / 441.4 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.02899, allocations: 239.9 kB / 441.6 MB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/0.03218, allocations: 3.132 MB / 444.8 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/0.03223, allocations: 4 kB / 444.8 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.03238, allocations: 96 kB / 444.9 MB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.567e-05/0.03246, allocations: 108.6 kB / 445 MB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.03513, allocations: 2.372 MB / 447.3 MB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1716/0.2067, allocations: 7.853 MB / 455.2 MB, free: 80.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.2085, allocations: 1.355 MB / 456.6 MB, free: 80.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.2097, allocations: 0.9106 MB / 457.5 MB, free: 80.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.2099, allocations: 51.2 kB / 457.5 MB, free: 80.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008975/0.2108, allocations: 0.8848 MB / 458.4 MB, free: 79.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 4.548e-06/0.2108, allocations: 0 / 458.4 MB, free: 79.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.009137/0.2199, allocations: 6.471 MB / 464.9 MB, free: 77.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.22, allocations: 255.7 kB / 465.1 MB, free: 77.28 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.001036/0.221, allocations: 1.202 MB / 466.3 MB, free: 76.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/0.2211, allocations: 51.45 kB / 466.4 MB, free: 76.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.2215, allocations: 1.043 MB / 467.4 MB, free: 76.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.2216, allocations: 447.5 kB / 467.9 MB, free: 75.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.2219, allocations: 260.4 kB / 468.1 MB, free: 75.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.871e-05/0.2219, allocations: 304.9 kB / 468.4 MB, free: 75.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006925/0.2226, allocations: 0.754 MB / 469.2 MB, free: 75.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008341/0.2234, allocations: 1.304 MB / 470.5 MB, free: 74.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00419/0.2276, allocations: 3.581 MB / 474 MB, free: 72.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.2276, allocations: 2.938 kB / 474 MB, free: 72.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.00243/0.2301, allocations: 2.507 MB / 476.6 MB, free: 71.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.2301, allocations: 43.8 kB / 476.6 MB, free: 71.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.2301, allocations: 12.84 kB / 476.6 MB, free: 71.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/0.2308, allocations: 0.5013 MB / 477.1 MB, free: 71.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.2313, allocations: 311.5 kB / 477.4 MB, free: 71.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/0.2354, allocations: 8.33 MB / 485.7 MB, free: 64.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/0.236, allocations: 140.2 kB / 485.9 MB, free: 64.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.07e-05/0.2361, allocations: 64.56 kB / 485.9 MB, free: 64.75 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.001258/0.2373, allocations: 1.303 MB / 487.2 MB, free: 64.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007969/0.2381, allocations: 1.279 MB / 488.5 MB, free: 63.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00423/0.2424, allocations: 3.51 MB / 492 MB, free: 61.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-06/0.2424, allocations: 2.656 kB / 492 MB, free: 61.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.002582/0.245, allocations: 2.468 MB / 494.5 MB, free: 60.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.245, allocations: 44.33 kB / 494.6 MB, free: 60.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.245, allocations: 11.88 kB / 494.6 MB, free: 60.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/0.2457, allocations: 0.5058 MB / 495.1 MB, free: 60.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.2463, allocations: 298.5 kB / 495.4 MB, free: 60.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004248/0.2505, allocations: 8.327 MB / 0.4919 GB, free: 53.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/0.2511, allocations: 137.1 kB / 0.492 GB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.2512, allocations: 61.77 kB / 0.4921 GB, free: 53.88 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.0002854/0.2515, allocations: 296.4 kB / 0.4924 GB, free: 53.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.2517, allocations: 149.5 kB / 0.4925 GB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/0.2542, allocations: 2.145 MB / 0.4946 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.2543, allocations: 12.97 kB / 0.4946 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2543, allocations: 4.188 kB / 0.4946 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.2543, allocations: 12.5 kB / 0.4946 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/0.259, allocations: 4.391 MB / 0.4989 GB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.259, allocations: 4.125 kB / 0.4989 GB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.2595, allocations: 206.4 kB / 0.4991 GB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008112/0.2603, allocations: 0.5172 MB / 0.4996 GB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/0.2604, allocations: 44.11 kB / 0.4997 GB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/0.2643, allocations: 8.149 MB / 0.5076 GB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2643, allocations: 3.75 kB / 0.5076 GB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/0.2674, allocations: 3.205 MB / 0.5107 GB, free: 42.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.2678, allocations: 295.7 kB / 0.511 GB, free: 42.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.2679, allocations: 35.09 kB / 0.5111 GB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/0.2684, allocations: 104.2 kB / 0.5112 GB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.2686, allocations: 119 kB / 0.5113 GB, free: 42.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.2686, allocations: 44.78 kB / 0.5113 GB, free: 42.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007064/0.2693, allocations: 0.8087 MB / 0.5121 GB, free: 41.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2693, allocations: 0 / 0.5121 GB, free: 41.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001633/0.271, allocations: 0.7857 MB / 0.5129 GB, free: 40.57 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.003344/0.2743, allocations: 3.834 MB / 0.5166 GB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004751/0.2791, allocations: 6.447 MB / 0.5229 GB, free: 31.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2791, allocations: 2 kB / 0.5229 GB, free: 31.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.2808, allocations: 2.684 MB / 0.5255 GB, free: 28.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.2817, allocations: 401.6 kB / 0.5259 GB, free: 28.17 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.01004/0.2918, allocations: 12.39 MB / 0.538 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.2925, allocations: 1.279 MB / 0.5393 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006544/0.2932, allocations: 424.1 kB / 0.5397 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/0.2937, allocations: 0.8752 MB / 0.5405 GB, free: 12.98 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.2937, allocations: 0 / 0.5405 GB, free: 12.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05971/0.3534, allocations: 52.39 MB / 0.5917 GB, free: 9.098 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/8.697, allocations: 5.188 kB / 0.5917 GB, free: 9.094 MB / 458.7 MB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.681155994534492] Failed to read output from testmodel.py, exit status != 0: 8.807193343527615 8.818753087 8.793908189 Calling exit ...