Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.03343/0.03343, allocations: 6.471 MB / 25.56 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007508/0.0007508, allocations: 83.72 kB / 30.8 MB, free: 4.961 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 160.9 kB / 36.13 MB, free: 6.809 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.9551/0.9551, allocations: 177.2 MB / 218.5 MB, free: 13.58 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.009225/0.009225, allocations: 2.5 MB / 279.5 MB, free: 0.5156 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 408.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.811e-05, allocations: 2.281 kB / 408.8 MB, free: 13.56 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.008515/0.008543, allocations: 8.732 MB / 417.5 MB, free: 4.785 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005425/0.01397, allocations: 2.723 MB / 420.3 MB, free: 2.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.01502, allocations: 67.62 kB / 420.3 MB, free: 1.984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.01603, allocations: 0.4962 MB / 420.8 MB, free: 1.484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.01774, allocations: 0.7485 MB / 421.6 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008912/0.01863, allocations: 0.561 MB / 422.1 MB, free: 176 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.002099/0.02073, allocations: 2.778 MB / 424.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.02202, allocations: 1.293 MB / 426.2 MB, free: 12.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.02374, allocations: 1.809 MB / 428 MB, free: 10.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.02501, allocations: 1.231 MB / 429.2 MB, free: 8.977 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003219/0.02533, allocations: 336 kB / 429.6 MB, free: 8.648 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000531/0.02586, allocations: 431.8 kB / 430 MB, free: 8.227 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005933/0.02645, allocations: 0.8959 MB / 430.9 MB, free: 7.328 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007771/0.02723, allocations: 0.9939 MB / 431.9 MB, free: 6.332 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00331/0.03054, allocations: 4.253 MB / 436.1 MB, free: 2.066 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.03055, allocations: 0 / 436.1 MB, free: 2.066 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.03055, allocations: 0 / 436.1 MB, free: 2.066 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.372e-05/0.03061, allocations: 0 / 436.1 MB, free: 2.066 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.003999/0.0346, allocations: 2.909 MB / 439.1 MB, free: 15.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.03467, allocations: 8.031 kB / 439.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003306/0.035, allocations: 341.7 kB / 439.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/0.0356, allocations: 311.2 kB / 439.7 MB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.03742, allocations: 1.421 MB / 441.1 MB, free: 12.99 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.000234/0.03765, allocations: 296 kB / 441.4 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.0379, allocations: 239.9 kB / 441.6 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/0.04147, allocations: 3.133 MB / 444.8 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.898e-05/0.04152, allocations: 4 kB / 444.8 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.04167, allocations: 96 kB / 444.9 MB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.496e-05/0.04177, allocations: 104.6 kB / 445 MB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.04485, allocations: 2.376 MB / 447.3 MB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.278/0.3228, allocations: 7.843 MB / 455.2 MB, free: 80.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.3248, allocations: 1.364 MB / 456.6 MB, free: 80.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.3258, allocations: 0.9096 MB / 457.5 MB, free: 80.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.326, allocations: 43.03 kB / 457.5 MB, free: 80.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009071/0.3269, allocations: 0.891 MB / 458.4 MB, free: 80.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 4.809e-06/0.327, allocations: 0 / 458.4 MB, free: 80.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.008663/0.3356, allocations: 6.475 MB / 464.9 MB, free: 78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.3357, allocations: 251.2 kB / 465.1 MB, free: 77.71 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.001186/0.3369, allocations: 1.207 MB / 466.3 MB, free: 77.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.3369, allocations: 48.23 kB / 466.4 MB, free: 77.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/0.3375, allocations: 1.048 MB / 467.4 MB, free: 76.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.3377, allocations: 445.7 kB / 467.9 MB, free: 76.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.3379, allocations: 258.8 kB / 468.1 MB, free: 75.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.338, allocations: 312.3 kB / 468.4 MB, free: 75.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007507/0.3387, allocations: 0.7369 MB / 469.2 MB, free: 75.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009266/0.3397, allocations: 1.31 MB / 470.5 MB, free: 74.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00449/0.3441, allocations: 3.578 MB / 474 MB, free: 72.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3441, allocations: 3.188 kB / 474 MB, free: 72.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.002742/0.3469, allocations: 2.515 MB / 476.6 MB, free: 71.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.3469, allocations: 41.58 kB / 476.6 MB, free: 71.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.3469, allocations: 15.05 kB / 476.6 MB, free: 71.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006887/0.3476, allocations: 0.5015 MB / 477.1 MB, free: 71.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.3482, allocations: 314.4 kB / 477.4 MB, free: 71.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004662/0.3529, allocations: 8.327 MB / 485.7 MB, free: 65.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009062/0.3538, allocations: 130 kB / 485.9 MB, free: 65.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/0.3539, allocations: 62.88 kB / 485.9 MB, free: 65 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.001697/0.3556, allocations: 1.306 MB / 487.2 MB, free: 64.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009348/0.3565, allocations: 1.278 MB / 488.5 MB, free: 63.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004653/0.3612, allocations: 3.521 MB / 492 MB, free: 61.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.385e-06/0.3612, allocations: 3.781 kB / 492 MB, free: 61.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.003067/0.3642, allocations: 2.469 MB / 494.5 MB, free: 60.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.3643, allocations: 40.27 kB / 494.6 MB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3643, allocations: 10.5 kB / 494.6 MB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007244/0.365, allocations: 0.4987 MB / 495.1 MB, free: 60.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.3656, allocations: 301.6 kB / 495.4 MB, free: 60.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005238/0.3709, allocations: 8.335 MB / 0.4919 GB, free: 54.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008534/0.3717, allocations: 130.1 kB / 0.492 GB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/0.3718, allocations: 65.03 kB / 0.4921 GB, free: 54.12 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.0004586/0.3723, allocations: 298.2 kB / 0.4924 GB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.3725, allocations: 149.6 kB / 0.4925 GB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/0.3754, allocations: 2.145 MB / 0.4946 GB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.3754, allocations: 16.08 kB / 0.4946 GB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.3755, allocations: 5.656 kB / 0.4946 GB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3755, allocations: 6.188 kB / 0.4946 GB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005772/0.3812, allocations: 4.391 MB / 0.4989 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3812, allocations: 6.844 kB / 0.4989 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.3818, allocations: 207.4 kB / 0.4991 GB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009983/0.3828, allocations: 0.5086 MB / 0.4996 GB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/0.3829, allocations: 40.28 kB / 0.4996 GB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/0.388, allocations: 8.165 MB / 0.5076 GB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.388, allocations: 3.625 kB / 0.5076 GB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/0.3917, allocations: 3.201 MB / 0.5108 GB, free: 42.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.3921, allocations: 292 kB / 0.511 GB, free: 42.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.3922, allocations: 35.19 kB / 0.5111 GB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.3928, allocations: 105.7 kB / 0.5112 GB, free: 42.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.3931, allocations: 118.6 kB / 0.5113 GB, free: 42.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/0.3931, allocations: 44.45 kB / 0.5113 GB, free: 42.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001016/0.3941, allocations: 0.8013 MB / 0.5121 GB, free: 41.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3941, allocations: 0 / 0.5121 GB, free: 41.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002309/0.3965, allocations: 0.7938 MB / 0.5129 GB, free: 40.9 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.003985/0.4004, allocations: 3.829 MB / 0.5166 GB, free: 37.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005851/0.4063, allocations: 6.444 MB / 0.5229 GB, free: 31.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4063, allocations: 4.312 kB / 0.5229 GB, free: 31.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.4083, allocations: 2.683 MB / 0.5255 GB, free: 28.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.4094, allocations: 407.2 kB / 0.5259 GB, free: 28.5 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.01129/0.4207, allocations: 12.39 MB / 0.538 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008771/0.4216, allocations: 1.279 MB / 0.5393 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007766/0.4224, allocations: 424.1 kB / 0.5397 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/0.423, allocations: 0.8785 MB / 0.5405 GB, free: 13.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/0.423, allocations: 0 / 0.5405 GB, free: 13.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07798/0.5009, allocations: 52.4 MB / 0.5917 GB, free: 9.441 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.723/9.224, allocations: 7.5 kB / 0.5917 GB, free: 9.438 MB / 458.7 MB " [Timeout remaining time 651] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.457101467065513] Failed to read output from testmodel.py, exit status != 0: 9.331135137937963 9.342295392 9.30977812 Calling exit ...