Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.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.04673/0.04673, allocations: 6.474 MB / 25.57 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.001284/0.001284, allocations: 87.22 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.000985/0.000985, allocations: 160.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.9013/0.9013, allocations: 177.2 MB / 218.5 MB, free: 13.6 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.01237/0.01237, allocations: 2.508 MB / 279.5 MB, free: 0.5273 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 412 MB, free: 10.38 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.184e-05, allocations: 2.281 kB / 412 MB, free: 10.38 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: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: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.tqFollowing): time 0.01815/0.01818, allocations: 8.638 MB / 420.6 MB, free: 1.691 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.02928, allocations: 2.645 MB / 423.3 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.03068, allocations: 67.56 kB / 423.3 MB, free: 14.97 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.03215, allocations: 0.4963 MB / 423.8 MB, free: 14.47 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.03413, allocations: 0.7292 MB / 424.6 MB, free: 13.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.03508, allocations: 0.5565 MB / 425.1 MB, free: 13.18 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.002248/0.03733, allocations: 2.765 MB / 427.9 MB, free: 10.4 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.0387, allocations: 1.277 MB / 429.2 MB, free: 9.062 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.04063, allocations: 1.805 MB / 431 MB, free: 7.254 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.04203, allocations: 1.216 MB / 432.2 MB, free: 6.035 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004592/0.04249, allocations: 336 kB / 432.5 MB, free: 5.707 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.04305, allocations: 431.8 kB / 432.9 MB, free: 5.285 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005283/0.04357, allocations: 0.8959 MB / 433.8 MB, free: 4.387 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009079/0.04448, allocations: 0.9861 MB / 434.8 MB, free: 3.398 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.04763, allocations: 4.23 MB / 439.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.04764, allocations: 0 / 439.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.04764, allocations: 7.938 kB / 439.1 MB, free: 15.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.972e-05/0.04774, allocations: 0 / 439.1 MB, free: 15.15 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: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.004002/0.05174, allocations: 2.878 MB / 441.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.05178, allocations: 12.03 kB / 442 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002935/0.05208, allocations: 329.5 kB / 442.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005251/0.0526, allocations: 307.2 kB / 442.6 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.05435, allocations: 1.421 MB / 444 MB, free: 10.12 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.0001918/0.05455, allocations: 295.9 kB / 444.3 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.05477, allocations: 243.9 kB / 444.5 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/0.05821, allocations: 3.104 MB / 447.6 MB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/0.05826, allocations: 4 kB / 447.6 MB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.05841, allocations: 96 kB / 447.7 MB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.899e-05/0.05848, allocations: 104.5 kB / 447.8 MB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.06124, allocations: 2.352 MB / 450.2 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1527/0.214, allocations: 7.805 MB / 458 MB, free: 79.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.2156, allocations: 1.331 MB / 459.3 MB, free: 79.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000973/0.2166, allocations: 0.8974 MB / 460.2 MB, free: 78.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.2167, allocations: 48.36 kB / 460.3 MB, free: 78.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007706/0.2175, allocations: 0.8784 MB / 461.1 MB, free: 78.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 2.435e-06/0.2175, allocations: 0 / 461.1 MB, free: 78.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.008332/0.2258, allocations: 6.454 MB / 467.6 MB, free: 76.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.2259, allocations: 252.3 kB / 467.8 MB, free: 75.95 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.001142/0.227, allocations: 1.198 MB / 469 MB, free: 75.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.215e-05/0.2271, allocations: 47.98 kB / 469.1 MB, free: 75.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/0.2275, allocations: 1.039 MB / 470.1 MB, free: 74.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.2277, allocations: 438.5 kB / 470.6 MB, free: 74.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.228, allocations: 257.7 kB / 470.8 MB, free: 74.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.818e-05/0.228, allocations: 301.7 kB / 471.1 MB, free: 74.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007364/0.2287, allocations: 0.7398 MB / 471.8 MB, free: 73.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008322/0.2296, allocations: 1.301 MB / 473.1 MB, free: 72.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004437/0.234, allocations: 3.557 MB / 476.7 MB, free: 71.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.234, allocations: 6.062 kB / 476.7 MB, free: 71.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002549/0.2366, allocations: 2.496 MB / 479.2 MB, free: 70.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.2366, allocations: 45.11 kB / 479.2 MB, free: 70.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.2366, allocations: 10.22 kB / 479.3 MB, free: 70.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/0.2373, allocations: 0.5073 MB / 479.8 MB, free: 70.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.2379, allocations: 305.7 kB / 480.1 MB, free: 70.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/0.2419, allocations: 8.336 MB / 488.4 MB, free: 63.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/0.2426, allocations: 132.2 kB / 488.5 MB, free: 63.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.2427, allocations: 62.97 kB / 488.6 MB, free: 63.46 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.001386/0.2441, allocations: 1.297 MB / 489.9 MB, free: 62.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008089/0.2449, allocations: 1.271 MB / 491.2 MB, free: 61.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004443/0.2494, allocations: 3.492 MB / 494.6 MB, free: 60.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.676e-06/0.2494, allocations: 3.531 kB / 494.6 MB, free: 60.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002713/0.2521, allocations: 2.461 MB / 497.1 MB, free: 59.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.2521, allocations: 42.92 kB / 497.2 MB, free: 59.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.2521, allocations: 11.03 kB / 497.2 MB, free: 59.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000688/0.2528, allocations: 0.5018 MB / 497.7 MB, free: 59.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.2534, allocations: 291.9 kB / 497.9 MB, free: 59.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004363/0.2578, allocations: 8.323 MB / 0.4944 GB, free: 52.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008964/0.2587, allocations: 130.9 kB / 0.4945 GB, free: 52.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/0.2588, allocations: 60.88 kB / 0.4946 GB, free: 52.61 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.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.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 (155): * Single equations (assignments): 148 * 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.000344/0.2591, allocations: 299.1 kB / 0.4949 GB, free: 52.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.2593, allocations: 149.5 kB / 0.495 GB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/0.2618, allocations: 2.124 MB / 0.4971 GB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.2618, allocations: 15.09 kB / 0.4971 GB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.2619, allocations: 7.094 kB / 0.4971 GB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.2619, allocations: 11.89 kB / 0.4971 GB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/0.267, allocations: 4.356 MB / 0.5014 GB, free: 49.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.267, allocations: 3.594 kB / 0.5014 GB, free: 49.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.2675, allocations: 207.9 kB / 0.5016 GB, free: 49.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008458/0.2683, allocations: 0.5111 MB / 0.5021 GB, free: 49.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.185e-05/0.2684, allocations: 39.27 kB / 0.5021 GB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004047/0.2725, allocations: 8.161 MB / 0.5101 GB, free: 42.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2725, allocations: 7.531 kB / 0.5101 GB, free: 42.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003315/0.2758, allocations: 3.16 MB / 0.5132 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/0.2763, allocations: 295.5 kB / 0.5135 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.2764, allocations: 30.72 kB / 0.5135 GB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/0.2769, allocations: 102 kB / 0.5136 GB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.2771, allocations: 122.2 kB / 0.5137 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.2772, allocations: 41.11 kB / 0.5137 GB, free: 40.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008338/0.278, allocations: 0.8001 MB / 0.5145 GB, free: 39.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.278, allocations: 0 / 0.5145 GB, free: 39.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001802/0.2798, allocations: 0.7856 MB / 0.5153 GB, free: 38.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,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * 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.003332/0.2832, allocations: 3.802 MB / 0.519 GB, free: 35.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004798/0.288, allocations: 6.411 MB / 0.5253 GB, free: 29.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.288, allocations: 4.75 kB / 0.5253 GB, free: 29.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.2898, allocations: 2.683 MB / 0.5279 GB, free: 26.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.2909, allocations: 398 kB / 0.5283 GB, free: 26.42 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.01142/0.3023, allocations: 12.33 MB / 0.5403 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008194/0.3031, allocations: 1.267 MB / 0.5415 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008118/0.3039, allocations: 427.9 kB / 0.542 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005937/0.3045, allocations: 0.8557 MB / 0.5428 GB, free: 11.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3045, allocations: 0 / 0.5428 GB, free: 11.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/0.4331, allocations: 52.3 MB / 0.5939 GB, free: 7.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/8.831, allocations: 12.05 kB / 0.5939 GB, free: 7.238 MB / 458.7 MB " [Timeout remaining time 651] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-cvode.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-euler.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_fmpy_res.csv --start-time 0 --stop-time 12 --timeout 240 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 12.002219622023404]