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.02664/0.02664, allocations: 8.539 MB / 27.38 MB, free: 1.98 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.0008754/0.0008754, allocations: 116.4 kB / 32.65 MB, free: 5.496 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.0009246/0.0009246, allocations: 212.7 kB / 38.01 MB, free: 148 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 0.9559/0.9559, allocations: 230.6 MB / 273.8 MB, free: 8.68 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.009296/0.009296, allocations: 3.414 MB / 335.8 MB, free: 14.8 MB / 266.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_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.001989/0.001989, allocations: 117.4 kB / 468.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07828/0.08027, allocations: 56.33 MB / 0.5122 GB, free: 6.93 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.1589/0.2392, allocations: 8.708 MB / 0.5207 GB, free: 15.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004635/0.2438, allocations: 2.737 MB / 0.5234 GB, free: 15.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.2452, allocations: 62.88 kB / 0.5234 GB, free: 15.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.2463, allocations: 492.8 kB / 0.5239 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.2482, allocations: 0.7122 MB / 0.5246 GB, free: 14.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.2493, allocations: 0.5634 MB / 0.5252 GB, free: 13.98 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.002919/0.2523, allocations: 2.686 MB / 0.5278 GB, free: 12.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.2539, allocations: 1.285 MB / 0.529 GB, free: 11.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.2557, allocations: 1.242 MB / 0.5302 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.2579, allocations: 1.378 MB / 0.5316 GB, free: 10.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008869/0.2588, allocations: 336.8 kB / 0.5319 GB, free: 10.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.26, allocations: 435.8 kB / 0.5323 GB, free: 10.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000816/0.2608, allocations: 0.8815 MB / 0.5332 GB, free: 10.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001877/0.2627, allocations: 1.159 MB / 0.5343 GB, free: 9.555 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00496/0.2676, allocations: 4.209 MB / 0.5384 GB, free: 8.012 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.2676, allocations: 0.7031 kB / 0.5384 GB, free: 8.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2676, allocations: 1.281 kB / 0.5384 GB, free: 8.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001427/0.2678, allocations: 0 / 0.5384 GB, free: 8.012 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.005542/0.2733, allocations: 2.929 MB / 0.5413 GB, free: 6.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2734, allocations: 9.344 kB / 0.5413 GB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004072/0.2738, allocations: 338 kB / 0.5416 GB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006667/0.2744, allocations: 314.4 kB / 0.5419 GB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.2765, allocations: 1.43 MB / 0.5433 GB, free: 5.227 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.0001863/0.2766, allocations: 295.6 kB / 0.5436 GB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.2769, allocations: 235.7 kB / 0.5438 GB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.2803, allocations: 3.128 MB / 0.5469 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.553e-05/0.2804, allocations: 8.922 kB / 0.5469 GB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.2805, allocations: 95.8 kB / 0.547 GB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-05/0.2806, allocations: 109.2 kB / 0.5471 GB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.2835, allocations: 2.381 MB / 0.5494 GB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.2937, allocations: 7.844 MB / 0.5571 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.2955, allocations: 1.36 MB / 0.5584 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.2966, allocations: 0.9107 MB / 0.5593 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.2968, allocations: 42.66 kB / 0.5593 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009267/0.2977, allocations: 0.882 MB / 0.5602 GB, free: 10.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=107): time 3.146e-06/0.2977, allocations: 4 kB / 0.5602 GB, free: 10.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=124): time 0.009342/0.307, allocations: 6.479 MB / 0.5665 GB, free: 5.434 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.3071, allocations: 244.3 kB / 0.5668 GB, free: 5.141 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.001289/0.3084, allocations: 1.203 MB / 0.5679 GB, free: 3.926 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.3086, allocations: 49.7 kB / 0.568 GB, free: 3.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000637/0.3092, allocations: 1.043 MB / 0.569 GB, free: 2.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.3095, allocations: 456.2 kB / 0.5694 GB, free: 2.367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.3098, allocations: 267.5 kB / 0.5697 GB, free: 2.098 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.3099, allocations: 305.1 kB / 0.57 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008244/0.3107, allocations: 0.7443 MB / 0.5707 GB, free: 1.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.3117, allocations: 1.313 MB / 0.572 GB, free: 15.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004728/0.3164, allocations: 3.58 MB / 0.5755 GB, free: 11.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3164, allocations: 4 kB / 0.5755 GB, free: 11.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.002911/0.3193, allocations: 2.514 MB / 0.5779 GB, free: 9.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.3194, allocations: 42.62 kB / 0.578 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.3194, allocations: 16 kB / 0.578 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007299/0.3201, allocations: 0.4995 MB / 0.5785 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.3208, allocations: 319.5 kB / 0.5788 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005591/0.3264, allocations: 8.337 MB / 0.5869 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.3275, allocations: 127.9 kB / 0.587 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/0.3276, allocations: 63.92 kB / 0.5871 GB, free: 15.36 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.001772/0.3294, allocations: 1.305 MB / 0.5884 GB, free: 14.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001021/0.3304, allocations: 1.28 MB / 0.5896 GB, free: 12.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00507/0.3355, allocations: 3.516 MB / 0.5931 GB, free: 8.879 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.799e-06/0.3355, allocations: 4 kB / 0.5931 GB, free: 8.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.002925/0.3384, allocations: 2.468 MB / 0.5955 GB, free: 6.367 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.3384, allocations: 41.7 kB / 0.5955 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.3384, allocations: 12 kB / 0.5955 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/0.3391, allocations: 0.5079 MB / 0.596 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.3397, allocations: 295.5 kB / 0.5963 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005365/0.3451, allocations: 8.342 MB / 0.6045 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.3463, allocations: 140 kB / 0.6046 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.3464, allocations: 59.98 kB / 0.6046 GB, free: 12.51 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.0003868/0.3468, allocations: 294.9 kB / 0.6049 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.3471, allocations: 151.1 kB / 0.6051 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/0.35, allocations: 2.144 MB / 0.6072 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.35, allocations: 12 kB / 0.6072 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.35, allocations: 4 kB / 0.6072 GB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.35, allocations: 7.969 kB / 0.6072 GB, free: 9.879 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00525/0.3552, allocations: 4.4 MB / 0.6115 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3552, allocations: 0 / 0.6115 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.3557, allocations: 208.1 kB / 0.6117 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007654/0.3565, allocations: 0.5171 MB / 0.6122 GB, free: 4.629 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.084e-05/0.3566, allocations: 43.91 kB / 0.6122 GB, free: 4.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005301/0.3619, allocations: 8.152 MB / 0.6202 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3619, allocations: 8.062 kB / 0.6202 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003773/0.3657, allocations: 3.212 MB / 0.6233 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007079/0.3664, allocations: 290.9 kB / 0.6236 GB, free: 8.395 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.3665, allocations: 35.98 kB / 0.6236 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.367, allocations: 103.9 kB / 0.6237 GB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.3673, allocations: 120.7 kB / 0.6239 GB, free: 8.141 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.3673, allocations: 35.98 kB / 0.6239 GB, free: 8.105 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000905/0.3682, allocations: 0.8108 MB / 0.6247 GB, free: 7.289 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3682, allocations: 0 / 0.6247 GB, free: 7.289 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001977/0.3702, allocations: 0.789 MB / 0.6255 GB, free: 6.5 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.003963/0.3742, allocations: 3.84 MB / 0.6292 GB, free: 2.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006214/0.3804, allocations: 6.424 MB / 0.6355 GB, free: 11.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.3804, allocations: 0 / 0.6355 GB, free: 11.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.3828, allocations: 2.707 MB / 0.6381 GB, free: 9.129 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.3842, allocations: 400.9 kB / 0.6385 GB, free: 8.75 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.0164/0.4006, allocations: 12.6 MB / 0.6508 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.4018, allocations: 1.271 MB / 0.6521 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009598/0.4028, allocations: 432.1 kB / 0.6525 GB, free: 9.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007178/0.4035, allocations: 0.8781 MB / 0.6533 GB, free: 9.051 MB / 490.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4035, allocations: 0 / 0.6533 GB, free: 9.051 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/0.5294, allocations: 52.48 MB / 0.7046 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.632, allocations: 4.062 kB / 0.7046 GB, free: 5.039 MB / 0.5261 GB " [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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTexamples_EHPTexamples_ElectricDrives_wFollowing.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-cvode.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-euler.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTexamples_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_EHPTexamples_ElectricDrives_wFollowing.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 11.667370051145554]