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.0312/0.0312, allocations: 6.474 MB / 25.57 MB, free: 3.586 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.0008837/0.0008837, allocations: 83.72 kB / 30.8 MB, free: 4.965 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.00122/0.00122, allocations: 155.3 kB / 36.13 MB, free: 6.848 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.9088/0.9088, 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.008751/0.008751, allocations: 2.512 MB / 279.5 MB, free: 0.5039 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.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 408.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.414e-05, allocations: 8.75 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: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.007331/0.007355, allocations: 8.636 MB / 417.4 MB, free: 4.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00473/0.01209, allocations: 2.657 MB / 420.1 MB, free: 2.211 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.01336, allocations: 63.62 kB / 420.2 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.01441, allocations: 492.2 kB / 420.6 MB, free: 1.664 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.01607, allocations: 0.737 MB / 421.4 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009652/0.01703, allocations: 0.5498 MB / 421.9 MB, free: 380 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.002563/0.0196, allocations: 2.766 MB / 424.7 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.02104, allocations: 1.281 MB / 426 MB, free: 12.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.02317, allocations: 1.805 MB / 427.8 MB, free: 10.44 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.02467, allocations: 1.216 MB / 429 MB, free: 9.219 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005985/0.02527, allocations: 336 kB / 429.3 MB, free: 8.891 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007453/0.02601, allocations: 419.9 kB / 429.7 MB, free: 8.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005557/0.02657, allocations: 0.8998 MB / 430.6 MB, free: 7.578 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.02778, allocations: 0.9861 MB / 431.6 MB, free: 6.59 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003356/0.03113, allocations: 4.234 MB / 435.9 MB, free: 2.344 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.03114, allocations: 0 / 435.9 MB, free: 2.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.03114, allocations: 0 / 435.9 MB, free: 2.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001424/0.03128, allocations: 4 kB / 435.9 MB, free: 2.34 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: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.00481/0.03609, allocations: 2.881 MB / 438.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.03613, allocations: 8.031 kB / 438.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003073/0.03644, allocations: 341.5 kB / 439.1 MB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005616/0.037, allocations: 303.2 kB / 439.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.03892, allocations: 1.417 MB / 440.8 MB, free: 13.3 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.0001988/0.03912, allocations: 297.3 kB / 441.1 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.03936, allocations: 232 kB / 441.3 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/0.04301, allocations: 3.108 MB / 444.4 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.153e-05/0.04306, allocations: 3.953 kB / 444.4 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.04321, allocations: 111.9 kB / 444.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.462e-05/0.04328, allocations: 104.5 kB / 444.6 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/0.04625, allocations: 2.356 MB / 447 MB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1801/0.2264, allocations: 7.8 MB / 454.8 MB, free: 81.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.2281, allocations: 1.336 MB / 456.1 MB, free: 81.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.2292, allocations: 0.8893 MB / 457 MB, free: 81.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.2293, allocations: 49.66 kB / 457.1 MB, free: 81.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008124/0.2301, allocations: 0.8811 MB / 457.9 MB, free: 80.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 2.385e-06/0.2301, allocations: 0 / 457.9 MB, free: 80.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.008466/0.2386, allocations: 6.456 MB / 464.4 MB, free: 78.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.2387, allocations: 248.8 kB / 464.6 MB, free: 78.43 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.001132/0.2398, allocations: 1.197 MB / 465.8 MB, free: 77.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.2399, allocations: 52.39 kB / 465.9 MB, free: 77.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.2403, allocations: 1.037 MB / 466.9 MB, free: 77.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.2405, allocations: 434.2 kB / 467.4 MB, free: 76.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.2408, allocations: 261.2 kB / 467.6 MB, free: 76.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.244e-05/0.2408, allocations: 308.1 kB / 467.9 MB, free: 76.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007435/0.2416, allocations: 0.747 MB / 468.7 MB, free: 76.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000832/0.2424, allocations: 1.295 MB / 470 MB, free: 75.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004417/0.2468, allocations: 3.56 MB / 473.5 MB, free: 73.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.2468, allocations: 2.844 kB / 473.5 MB, free: 73.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002755/0.2496, allocations: 2.492 MB / 476 MB, free: 72.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.2496, allocations: 38.72 kB / 476 MB, free: 72.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.2496, allocations: 16.44 kB / 476.1 MB, free: 72.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006889/0.2503, allocations: 0.497 MB / 476.6 MB, free: 72.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/0.2509, allocations: 307 kB / 476.9 MB, free: 72.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/0.2553, allocations: 8.339 MB / 485.2 MB, free: 65.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.2564, allocations: 135 kB / 485.3 MB, free: 65.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.508e-05/0.2564, allocations: 59.62 kB / 485.4 MB, free: 65.75 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.001569/0.258, allocations: 1.301 MB / 486.7 MB, free: 65.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008887/0.2589, allocations: 1.27 MB / 488 MB, free: 64.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004588/0.2635, allocations: 3.493 MB / 491.5 MB, free: 62.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.137e-05/0.2635, allocations: 2.75 kB / 491.5 MB, free: 62.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002922/0.2664, allocations: 2.46 MB / 493.9 MB, free: 61.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.2665, allocations: 36.7 kB / 494 MB, free: 61.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.2665, allocations: 11.88 kB / 494 MB, free: 61.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006995/0.2672, allocations: 0.4994 MB / 494.5 MB, free: 61.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.2678, allocations: 295.1 kB / 494.8 MB, free: 61.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004749/0.2726, allocations: 8.325 MB / 0.4913 GB, free: 54.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.2736, allocations: 139.9 kB / 0.4914 GB, free: 54.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-05/0.2737, allocations: 62.67 kB / 0.4915 GB, free: 54.89 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.0003972/0.2741, allocations: 297.8 kB / 0.4918 GB, free: 54.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.2743, allocations: 149.4 kB / 0.4919 GB, free: 54.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/0.2772, allocations: 2.122 MB / 0.494 GB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.2772, allocations: 15.38 kB / 0.494 GB, free: 53.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2772, allocations: 4.906 kB / 0.494 GB, free: 53.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.2772, allocations: 8.25 kB / 0.494 GB, free: 53.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005698/0.2829, allocations: 4.359 MB / 0.4983 GB, free: 51.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.283, allocations: 3.5 kB / 0.4983 GB, free: 51.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.2835, allocations: 206.8 kB / 0.4985 GB, free: 51.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009013/0.2844, allocations: 0.5151 MB / 0.499 GB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.2845, allocations: 38.61 kB / 0.499 GB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004664/0.2891, allocations: 8.161 MB / 0.507 GB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2891, allocations: 3.625 kB / 0.507 GB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.2924, allocations: 3.16 MB / 0.5101 GB, free: 43.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005642/0.293, allocations: 294.7 kB / 0.5103 GB, free: 43.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.2931, allocations: 36.75 kB / 0.5104 GB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.2936, allocations: 106.4 kB / 0.5105 GB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.2938, allocations: 118.4 kB / 0.5106 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/0.2939, allocations: 40.41 kB / 0.5106 GB, free: 43.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007812/0.2946, allocations: 0.8006 MB / 0.5114 GB, free: 42.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2946, allocations: 0 / 0.5114 GB, free: 42.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00174/0.2964, allocations: 0.7818 MB / 0.5122 GB, free: 41.89 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.003319/0.2997, allocations: 3.807 MB / 0.5159 GB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005424/0.3051, allocations: 6.41 MB / 0.5222 GB, free: 32.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.3051, allocations: 7.938 kB / 0.5222 GB, free: 32.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.3072, allocations: 2.679 MB / 0.5248 GB, free: 29.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.3085, allocations: 400.1 kB / 0.5252 GB, free: 29.56 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.01172/0.3202, allocations: 12.32 MB / 0.5372 GB, free: 17.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008001/0.321, allocations: 1.259 MB / 0.5384 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007944/0.3218, allocations: 427.9 kB / 0.5388 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/0.3224, allocations: 0.8596 MB / 0.5397 GB, free: 14.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.3224, allocations: 0 / 0.5397 GB, free: 14.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06967/0.3921, allocations: 52.2 MB / 0.5906 GB, free: 10.78 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.922, allocations: 7.719 kB / 0.5907 GB, free: 10.77 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 & python3 -m fmpy simulate --output-file EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.970539658330381] Failed to read output from testmodel.py, exit status != 0: 9.027505261823535 9.035872856 9.002912 Calling exit ...