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.02957/0.02957, allocations: 6.47 MB / 25.56 MB, free: 3.559 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.0007712/0.0007712, allocations: 79.72 kB / 30.8 MB, free: 4.941 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.0009172/0.0009172, allocations: 162.3 kB / 36.13 MB, free: 6.828 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8739/0.8739, 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.008662/0.008662, allocations: 2.511 MB / 279.5 MB, free: 0.4922 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 408.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.444e-05, allocations: 2.281 kB / 408.8 MB, free: 13.54 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start=\"Y\") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.006825/0.006839, allocations: 8.732 MB / 417.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.0107, allocations: 2.727 MB / 420.3 MB, free: 2.027 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007091/0.01141, allocations: 63.62 kB / 420.3 MB, free: 1.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008019/0.01221, allocations: 0.4962 MB / 420.8 MB, free: 1.465 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.01343, allocations: 0.7486 MB / 421.6 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000686/0.01411, allocations: 0.5571 MB / 422.1 MB, free: 160 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.001875/0.01599, allocations: 2.778 MB / 424.9 MB, free: 13.36 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.01718, allocations: 1.289 MB / 426.2 MB, free: 12.01 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.01893, allocations: 1.809 MB / 428 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.01996, allocations: 1.227 MB / 429.2 MB, free: 8.965 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002762/0.02023, allocations: 336 kB / 429.6 MB, free: 8.637 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.02066, allocations: 439.8 kB / 430 MB, free: 8.207 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004854/0.02115, allocations: 0.8959 MB / 430.9 MB, free: 7.309 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000671/0.02182, allocations: 0.99 MB / 431.9 MB, free: 6.316 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.02421, allocations: 4.253 MB / 436.1 MB, free: 2.051 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.02422, allocations: 4 kB / 436.1 MB, free: 2.047 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.02422, allocations: 4 kB / 436.1 MB, free: 2.043 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.201e-05/0.02425, allocations: 0 / 436.1 MB, free: 2.043 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 608 * Number of variables: 608 Notification: Performance of Generate backend data structure: time 0.003068/0.02732, allocations: 2.905 MB / 439 MB, free: 15.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.02736, allocations: 8.031 kB / 439.1 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002702/0.02763, allocations: 345.6 kB / 439.4 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004644/0.02809, allocations: 311.2 kB / 439.7 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.02963, allocations: 1.421 MB / 441.1 MB, free: 12.97 MB / 410.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.02983, allocations: 303 kB / 441.4 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.03004, allocations: 235.9 kB / 441.6 MB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.0329, allocations: 3.132 MB / 444.8 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/0.03294, allocations: 4 kB / 444.8 MB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.03308, allocations: 96 kB / 444.9 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.026e-05/0.03315, allocations: 108.6 kB / 445 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.03568, allocations: 2.372 MB / 447.4 MB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1438/0.1795, allocations: 7.85 MB / 455.2 MB, free: 80.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.181, allocations: 1.363 MB / 456.6 MB, free: 80.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00089/0.1818, allocations: 0.8989 MB / 457.5 MB, free: 80.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.182, allocations: 60.91 kB / 457.5 MB, free: 80.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006817/0.1827, allocations: 0.8818 MB / 458.4 MB, free: 79.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 2.174e-06/0.1827, allocations: 0 / 458.4 MB, free: 79.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.007042/0.1897, allocations: 6.476 MB / 464.9 MB, free: 77.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1898, allocations: 251.4 kB / 465.1 MB, free: 77.25 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.0008396/0.1906, allocations: 1.202 MB / 466.3 MB, free: 76.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.1906, allocations: 47.89 kB / 466.4 MB, free: 76.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.1909, allocations: 1.043 MB / 467.4 MB, free: 76.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.1911, allocations: 447.8 kB / 467.9 MB, free: 75.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.1913, allocations: 263.2 kB / 468.1 MB, free: 75.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.373e-05/0.1913, allocations: 307.5 kB / 468.4 MB, free: 75.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000653/0.192, allocations: 0.7458 MB / 469.2 MB, free: 75.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007599/0.1927, allocations: 1.305 MB / 470.5 MB, free: 74.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003973/0.1967, allocations: 3.585 MB / 474 MB, free: 72.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1967, allocations: 3.219 kB / 474.1 MB, free: 72.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.002208/0.1989, allocations: 2.508 MB / 476.6 MB, free: 71.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.199, allocations: 50.39 kB / 476.6 MB, free: 71.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.199, allocations: 12.88 kB / 476.6 MB, free: 71.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/0.1995, allocations: 0.4944 MB / 477.1 MB, free: 71.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.2001, allocations: 304.6 kB / 477.4 MB, free: 71.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.2037, allocations: 8.334 MB / 485.7 MB, free: 64.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/0.2043, allocations: 131.7 kB / 485.9 MB, free: 64.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.2044, allocations: 62.34 kB / 485.9 MB, free: 64.73 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.001149/0.2055, allocations: 1.303 MB / 487.2 MB, free: 64.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007335/0.2063, allocations: 1.283 MB / 488.5 MB, free: 63.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003942/0.2102, allocations: 3.518 MB / 492 MB, free: 61.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.921e-06/0.2102, allocations: 4.125 kB / 492 MB, free: 61.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.002423/0.2126, allocations: 2.466 MB / 494.5 MB, free: 60.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.2127, allocations: 44.64 kB / 494.6 MB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2127, allocations: 11 kB / 494.6 MB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.2133, allocations: 0.5003 MB / 495.1 MB, free: 60.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.2139, allocations: 299.2 kB / 495.4 MB, free: 60.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004024/0.2179, allocations: 8.333 MB / 0.4919 GB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/0.2186, allocations: 130.5 kB / 0.492 GB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/0.2186, allocations: 61.48 kB / 0.4921 GB, free: 53.86 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.0002977/0.2189, allocations: 303.6 kB / 0.4924 GB, free: 53.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.2191, allocations: 150.3 kB / 0.4925 GB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.2215, allocations: 2.143 MB / 0.4946 GB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2215, allocations: 17.36 kB / 0.4946 GB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2215, allocations: 3.75 kB / 0.4946 GB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2215, allocations: 10.62 kB / 0.4946 GB, free: 52.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004245/0.2257, allocations: 4.391 MB / 0.4989 GB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2257, allocations: 4.5 kB / 0.4989 GB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004548/0.2262, allocations: 209.9 kB / 0.4991 GB, free: 50.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007342/0.2269, allocations: 0.509 MB / 0.4996 GB, free: 50.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/0.227, allocations: 39.36 kB / 0.4997 GB, free: 50.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003626/0.2306, allocations: 8.162 MB / 0.5076 GB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2306, allocations: 3.594 kB / 0.5076 GB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/0.2334, allocations: 3.202 MB / 0.5108 GB, free: 42.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/0.2338, allocations: 299.8 kB / 0.511 GB, free: 42.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.2339, allocations: 30.81 kB / 0.5111 GB, free: 42.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.2343, allocations: 106.1 kB / 0.5112 GB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.2345, allocations: 118.6 kB / 0.5113 GB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.2346, allocations: 43.78 kB / 0.5113 GB, free: 42.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000622/0.2352, allocations: 0.8048 MB / 0.5121 GB, free: 41.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2352, allocations: 0 / 0.5121 GB, free: 41.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001463/0.2366, allocations: 0.7859 MB / 0.5129 GB, free: 40.56 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.003107/0.2397, allocations: 3.837 MB / 0.5166 GB, free: 37.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004293/0.244, allocations: 6.444 MB / 0.5229 GB, free: 31.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.244, allocations: 4 kB / 0.5229 GB, free: 31.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.2457, allocations: 2.684 MB / 0.5255 GB, free: 28.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.2466, allocations: 392.9 kB / 0.5259 GB, free: 28.16 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009265/0.2559, allocations: 12.4 MB / 0.538 GB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006502/0.2565, allocations: 1.279 MB / 0.5393 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006074/0.2571, allocations: 428.1 kB / 0.5397 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/0.2576, allocations: 0.8713 MB / 0.5405 GB, free: 12.98 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.2576, allocations: 0 / 0.5405 GB, free: 12.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0571/0.3148, allocations: 52.39 MB / 0.5917 GB, free: 9.094 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.371, allocations: 7.5 kB / 0.5917 GB, free: 9.09 MB / 458.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.291450803168118] Failed to read output from testmodel.py, exit status != 0: 8.476879741065204 8.484453273 8.458528605 Calling exit ...