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.04066/0.04066, allocations: 6.472 MB / 25.56 MB, free: 3.562 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.001296/0.001296, allocations: 87.72 kB / 30.81 MB, free: 4.938 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.001639/0.001639, allocations: 159.8 kB / 36.13 MB, free: 6.816 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.9671/0.9671, allocations: 177.1 MB / 218.5 MB, free: 13.57 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.009167/0.009167, allocations: 2.523 MB / 279.5 MB, free: 500 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: 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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 412 MB, free: 10.36 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.392e-05, allocations: 2.281 kB / 412 MB, free: 10.36 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.008308/0.008322, allocations: 8.724 MB / 420.7 MB, free: 1.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004682/0.013, allocations: 2.731 MB / 423.5 MB, free: 14.85 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008218/0.01383, allocations: 67.56 kB / 423.5 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008674/0.01469, allocations: 496.2 kB / 424 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.016, allocations: 0.7486 MB / 424.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.01672, allocations: 0.5538 MB / 425.3 MB, free: 12.98 MB / 394.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.002128/0.01885, allocations: 2.785 MB / 428.1 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.02006, allocations: 1.286 MB / 429.4 MB, free: 8.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.02162, allocations: 1.813 MB / 431.2 MB, free: 7.023 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.02275, allocations: 1.223 MB / 432.4 MB, free: 5.797 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003023/0.02306, allocations: 339.9 kB / 432.8 MB, free: 5.465 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004976/0.02355, allocations: 435.8 kB / 433.2 MB, free: 5.039 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008592/0.02441, allocations: 0.9037 MB / 434.1 MB, free: 4.133 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007268/0.02514, allocations: 0.9861 MB / 435.1 MB, free: 3.145 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.02779, allocations: 4.265 MB / 439.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.0278, allocations: 0 / 439.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.0278, allocations: 0 / 439.3 MB, free: 14.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.077e-05/0.02783, allocations: 4 kB / 439.3 MB, free: 14.86 MB / 410.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.003705/0.03153, allocations: 2.897 MB / 442.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.03158, allocations: 16.03 kB / 442.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003063/0.03188, allocations: 337.7 kB / 442.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005368/0.03242, allocations: 311.2 kB / 442.9 MB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.0342, allocations: 1.425 MB / 444.3 MB, free: 9.793 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.0002295/0.03443, allocations: 296 kB / 444.6 MB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.03468, allocations: 247.9 kB / 444.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/0.03834, allocations: 3.121 MB / 448 MB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/0.03839, allocations: 8 kB / 448 MB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.03855, allocations: 92 kB / 448.1 MB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/0.03863, allocations: 108.6 kB / 448.2 MB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/0.04152, allocations: 2.372 MB / 450.5 MB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1828/0.2243, allocations: 7.847 MB / 458.4 MB, free: 79.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.2262, allocations: 1.369 MB / 459.8 MB, free: 79.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.2275, allocations: 0.9093 MB / 460.7 MB, free: 78.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.2276, allocations: 46 kB / 460.7 MB, free: 78.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009495/0.2286, allocations: 0.8863 MB / 461.6 MB, free: 78.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 4.007e-06/0.2286, allocations: 0 / 461.6 MB, free: 78.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.009918/0.2385, allocations: 6.475 MB / 468.1 MB, free: 76.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.2386, allocations: 247.2 kB / 468.3 MB, free: 75.93 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.001245/0.2398, allocations: 1.204 MB / 469.5 MB, free: 75.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.2399, allocations: 48.05 kB / 469.6 MB, free: 75.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.2403, allocations: 1.055 MB / 470.6 MB, free: 74.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.2405, allocations: 440 kB / 471 MB, free: 74.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/0.2409, allocations: 262 kB / 471.3 MB, free: 74.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.325e-05/0.2409, allocations: 305.1 kB / 471.6 MB, free: 74.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009095/0.2418, allocations: 0.7364 MB / 472.3 MB, free: 73.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.2429, allocations: 1.31 MB / 473.6 MB, free: 72.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005538/0.2484, allocations: 3.583 MB / 477.2 MB, free: 71.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.2485, allocations: 2.906 kB / 477.2 MB, free: 71.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003028/0.2515, allocations: 2.522 MB / 479.8 MB, free: 70.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.2515, allocations: 39.11 kB / 479.8 MB, free: 70.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.2515, allocations: 12.06 kB / 479.8 MB, free: 70.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007902/0.2523, allocations: 0.4963 MB / 480.3 MB, free: 69.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.2531, allocations: 309.8 kB / 480.6 MB, free: 69.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004908/0.258, allocations: 8.338 MB / 488.9 MB, free: 63.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/0.2588, allocations: 136.2 kB / 489.1 MB, free: 63.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-05/0.2589, allocations: 63.22 kB / 489.1 MB, free: 63.41 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.001543/0.2604, allocations: 1.302 MB / 490.4 MB, free: 62.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001018/0.2614, allocations: 1.281 MB / 491.7 MB, free: 61.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005636/0.267, allocations: 3.52 MB / 495.2 MB, free: 60.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.363e-06/0.2671, allocations: 4.219 kB / 495.2 MB, free: 60.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.003252/0.2703, allocations: 2.468 MB / 497.7 MB, free: 59.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.2703, allocations: 42.86 kB / 497.8 MB, free: 59.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.2704, allocations: 10.53 kB / 497.8 MB, free: 59.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008067/0.2712, allocations: 0.4997 MB / 498.3 MB, free: 59.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.2719, allocations: 299.6 kB / 498.6 MB, free: 59.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005244/0.2772, allocations: 8.329 MB / 0.495 GB, free: 52.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/0.278, allocations: 136.4 kB / 0.4951 GB, free: 52.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.2781, allocations: 63.59 kB / 0.4952 GB, free: 52.54 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.0003044/0.2784, allocations: 292.2 kB / 0.4955 GB, free: 52.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.2786, allocations: 149.1 kB / 0.4956 GB, free: 52.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.2816, allocations: 2.14 MB / 0.4977 GB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.2816, allocations: 14.78 kB / 0.4977 GB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2816, allocations: 5.375 kB / 0.4977 GB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.2816, allocations: 10.61 kB / 0.4977 GB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/0.2878, allocations: 4.395 MB / 0.502 GB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.2878, allocations: 6.031 kB / 0.502 GB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/0.2883, allocations: 203.3 kB / 0.5022 GB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009441/0.2892, allocations: 0.5198 MB / 0.5027 GB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.513e-05/0.2893, allocations: 41.56 kB / 0.5028 GB, free: 49.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005937/0.2953, allocations: 8.162 MB / 0.5107 GB, free: 42.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.2953, allocations: 11.19 kB / 0.5108 GB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/0.299, allocations: 3.201 MB / 0.5139 GB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.2994, allocations: 292.5 kB / 0.5142 GB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.2995, allocations: 34.28 kB / 0.5142 GB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/0.3, allocations: 101.8 kB / 0.5143 GB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.3002, allocations: 124.1 kB / 0.5144 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/0.3002, allocations: 47.89 kB / 0.5145 GB, free: 39.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000818/0.301, allocations: 0.801 MB / 0.5152 GB, free: 39.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.301, allocations: 0 / 0.5152 GB, free: 39.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001718/0.3028, allocations: 0.7857 MB / 0.516 GB, free: 38.37 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.003429/0.3062, allocations: 3.826 MB / 0.5197 GB, free: 34.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004896/0.3111, allocations: 6.438 MB / 0.526 GB, free: 28.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3111, allocations: 4 kB / 0.526 GB, free: 28.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.313, allocations: 2.693 MB / 0.5287 GB, free: 25.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009531/0.3139, allocations: 391.8 kB / 0.529 GB, free: 25.62 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1886:3-1886:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.3242, allocations: 12.4 MB / 0.5411 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.325, allocations: 1.271 MB / 0.5424 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006722/0.3256, allocations: 428.1 kB / 0.5428 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006095/0.3262, allocations: 0.8713 MB / 0.5436 GB, free: 10.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.3262, allocations: 0 / 0.5436 GB, free: 10.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/0.4566, allocations: 52.5 MB / 0.5949 GB, free: 6.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.945/9.402, allocations: 2.031 kB / 0.5949 GB, free: 6.16 MB / 458.7 MB " [Timeout remaining time 650] (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: 12.954106188379228]