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.02696/0.02696, allocations: 8.536 MB / 27.38 MB, free: 1.973 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.0008185/0.0008185, allocations: 112.9 kB / 32.65 MB, free: 5.473 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.0009466/0.0009466, allocations: 212.8 kB / 38.01 MB, free: 128 kB / 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 1.001/1.001, allocations: 230.6 MB / 273.8 MB, free: 8.586 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.009434/0.009434, allocations: 3.426 MB / 335.8 MB, free: 14.82 MB / 266.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: EHPTexamples requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 111.8 kB / 468.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08523, allocations: 56.33 MB / 0.5122 GB, free: 6.957 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.1712/0.2564, allocations: 8.703 MB / 0.5207 GB, free: 15.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004628/0.261, allocations: 2.727 MB / 0.5234 GB, free: 14.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009514/0.262, allocations: 67.59 kB / 0.5234 GB, free: 14.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.263, allocations: 492.9 kB / 0.5239 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.2645, allocations: 0.7247 MB / 0.5246 GB, free: 14.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009988/0.2655, allocations: 0.5567 MB / 0.5251 GB, free: 13.91 MB / 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.002677/0.2681, allocations: 2.688 MB / 0.5278 GB, free: 12.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.2697, allocations: 1.287 MB / 0.529 GB, free: 11.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.2715, allocations: 1.237 MB / 0.5302 GB, free: 11.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.2734, allocations: 1.371 MB / 0.5316 GB, free: 10.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005896/0.274, allocations: 341.3 kB / 0.5319 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009272/0.275, allocations: 435.6 kB / 0.5323 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007075/0.2757, allocations: 0.8775 MB / 0.5332 GB, free: 10.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.2768, allocations: 1.162 MB / 0.5343 GB, free: 9.477 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00428/0.2811, allocations: 4.211 MB / 0.5384 GB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2811, allocations: 4 kB / 0.5384 GB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2811, allocations: 1.312 kB / 0.5384 GB, free: 7.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001188/0.2812, allocations: 0 / 0.5384 GB, free: 7.93 MB / 378.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.005533/0.2867, allocations: 2.928 MB / 0.5413 GB, free: 6.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2868, allocations: 9.75 kB / 0.5413 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003456/0.2871, allocations: 341.9 kB / 0.5416 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007317/0.2879, allocations: 308.5 kB / 0.5419 GB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.2901, allocations: 1.428 MB / 0.5433 GB, free: 5.148 MB / 378.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.0002215/0.2903, allocations: 299.5 kB / 0.5436 GB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.2906, allocations: 232.3 kB / 0.5438 GB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003992/0.2946, allocations: 3.126 MB / 0.5469 GB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.2946, allocations: 6.703 kB / 0.5469 GB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.2948, allocations: 102.5 kB / 0.547 GB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.57e-05/0.2949, allocations: 109.8 kB / 0.5471 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003298/0.2982, allocations: 2.372 MB / 0.5494 GB, free: 1.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.3084, allocations: 7.852 MB / 0.5571 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.3102, allocations: 1.367 MB / 0.5584 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.3113, allocations: 0.9031 MB / 0.5593 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.3115, allocations: 46.19 kB / 0.5593 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008578/0.3124, allocations: 0.8906 MB / 0.5602 GB, free: 10.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=107): time 2.275e-06/0.3124, allocations: 0 / 0.5602 GB, free: 10.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=124): time 0.009241/0.3216, allocations: 6.462 MB / 0.5665 GB, free: 5.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.916e-05/0.3217, allocations: 252.3 kB / 0.5667 GB, free: 5.199 MB / 394.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.001249/0.323, allocations: 1.208 MB / 0.5679 GB, free: 3.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.3231, allocations: 49.7 kB / 0.568 GB, free: 3.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000684/0.3237, allocations: 1.051 MB / 0.569 GB, free: 2.863 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.324, allocations: 448.2 kB / 0.5694 GB, free: 2.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.3243, allocations: 263.5 kB / 0.5697 GB, free: 2.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.3243, allocations: 309.1 kB / 0.57 GB, free: 1.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008032/0.3252, allocations: 0.7442 MB / 0.5707 GB, free: 1.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.3262, allocations: 1.314 MB / 0.572 GB, free: 15.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004635/0.3308, allocations: 3.584 MB / 0.5755 GB, free: 11.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.3308, allocations: 4 kB / 0.5755 GB, free: 11.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.002872/0.3337, allocations: 2.507 MB / 0.5779 GB, free: 9.262 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.3337, allocations: 37.69 kB / 0.578 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.3337, allocations: 12 kB / 0.578 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007061/0.3344, allocations: 0.5184 MB / 0.5785 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.3351, allocations: 304.3 kB / 0.5788 GB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005125/0.3402, allocations: 8.34 MB / 0.5869 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009577/0.3411, allocations: 127.9 kB / 0.587 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/0.3412, allocations: 60.8 kB / 0.5871 GB, free: 15.42 MB / 426.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.001731/0.343, allocations: 1.307 MB / 0.5884 GB, free: 14.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009485/0.3439, allocations: 1.279 MB / 0.5896 GB, free: 12.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004322/0.3482, allocations: 3.526 MB / 0.5931 GB, free: 8.926 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.526e-06/0.3482, allocations: 4 kB / 0.5931 GB, free: 8.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.002732/0.351, allocations: 2.467 MB / 0.5955 GB, free: 6.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.351, allocations: 34.02 kB / 0.5955 GB, free: 6.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.351, allocations: 16 kB / 0.5955 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006511/0.3517, allocations: 0.5007 MB / 0.596 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.3523, allocations: 307.5 kB / 0.5963 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005075/0.3573, allocations: 8.334 MB / 0.6044 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.3584, allocations: 133.2 kB / 0.6046 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.321e-05/0.3585, allocations: 59.98 kB / 0.6046 GB, free: 12.58 MB / 442.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.0003529/0.3588, allocations: 301.2 kB / 0.6049 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.359, allocations: 148.1 kB / 0.6051 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.3616, allocations: 2.144 MB / 0.6072 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.3616, allocations: 12 kB / 0.6072 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.3616, allocations: 4 kB / 0.6072 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.3616, allocations: 11.91 kB / 0.6072 GB, free: 9.941 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/0.3667, allocations: 4.41 MB / 0.6115 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.3667, allocations: 4 kB / 0.6115 GB, free: 5.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.3672, allocations: 203.7 kB / 0.6117 GB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007406/0.3679, allocations: 0.5197 MB / 0.6122 GB, free: 4.676 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/0.368, allocations: 39.97 kB / 0.6122 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/0.3729, allocations: 8.15 MB / 0.6202 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3729, allocations: 4 kB / 0.6202 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.3763, allocations: 3.216 MB / 0.6233 GB, free: 8.734 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/0.3768, allocations: 290.9 kB / 0.6236 GB, free: 8.449 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.3769, allocations: 35.98 kB / 0.6236 GB, free: 8.414 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.3774, allocations: 99.88 kB / 0.6237 GB, free: 8.316 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.3776, allocations: 120.7 kB / 0.6239 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.3777, allocations: 39.98 kB / 0.6239 GB, free: 8.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008149/0.3785, allocations: 0.8069 MB / 0.6247 GB, free: 7.348 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3785, allocations: 0 / 0.6247 GB, free: 7.348 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001768/0.3802, allocations: 0.789 MB / 0.6255 GB, free: 6.559 MB / 458.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.003585/0.3838, allocations: 3.848 MB / 0.6292 GB, free: 2.621 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005773/0.3896, allocations: 6.43 MB / 0.6355 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.3896, allocations: 0 / 0.6355 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002263/0.3919, allocations: 2.701 MB / 0.6381 GB, free: 9.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.3932, allocations: 398.6 kB / 0.6385 GB, free: 8.805 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.4077, allocations: 12.6 MB / 0.6508 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.4087, allocations: 1.275 MB / 0.6521 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008543/0.4096, allocations: 420.1 kB / 0.6525 GB, free: 9.984 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007281/0.4103, allocations: 0.8742 MB / 0.6533 GB, free: 9.109 MB / 490.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4103, allocations: 0 / 0.6533 GB, free: 9.109 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/0.5383, allocations: 52.49 MB / 0.7046 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.493, allocations: 8 kB / 0.7046 GB, free: 5.082 MB / 0.5261 GB " [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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-cvode.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-euler.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy_res.csv --start-time 0 --stop-time 12 --timeout 240 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 11.610058661550283]