Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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.02717/0.02717, allocations: 6.469 MB / 25.56 MB, free: 3.559 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006949/0.0006949, allocations: 83.72 kB / 30.8 MB, free: 4.941 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007526/0.0007526, allocations: 156.5 kB / 36.13 MB, free: 6.84 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.8723/0.8723, allocations: 177.2 MB / 218.5 MB, free: 13.57 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.008915/0.008915, allocations: 2.512 MB / 279.5 MB, free: 0.4961 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 408.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.647e-05, allocations: 6.219 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.007291/0.007307, allocations: 8.643 MB / 417.4 MB, free: 4.871 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003256/0.01056, allocations: 2.645 MB / 420.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005346/0.0111, allocations: 63.62 kB / 420.2 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007678/0.01187, allocations: 0.5001 MB / 420.7 MB, free: 1.648 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.01291, allocations: 0.7292 MB / 421.4 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.0138, allocations: 0.546 MB / 421.9 MB, free: 376 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.001725/0.01552, allocations: 2.773 MB / 424.7 MB, free: 13.58 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.01666, allocations: 1.274 MB / 426 MB, free: 12.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.01799, allocations: 1.809 MB / 427.8 MB, free: 10.43 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.01928, allocations: 1.216 MB / 429 MB, free: 9.215 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002746/0.01955, allocations: 336 kB / 429.3 MB, free: 8.887 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.02, allocations: 423.8 kB / 429.7 MB, free: 8.473 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000549/0.02055, allocations: 0.8959 MB / 430.6 MB, free: 7.574 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006723/0.02122, allocations: 0.9861 MB / 431.6 MB, free: 6.586 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.02367, allocations: 4.23 MB / 435.9 MB, free: 2.344 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.02367, allocations: 0 / 435.9 MB, free: 2.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.02368, allocations: 4 kB / 435.9 MB, free: 2.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.994e-05/0.02371, allocations: 0 / 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.003393/0.0271, allocations: 2.878 MB / 438.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.02714, allocations: 12.03 kB / 438.8 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000291/0.02743, allocations: 333.5 kB / 439.1 MB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.02793, allocations: 307.2 kB / 439.4 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.02957, allocations: 1.425 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.000191/0.02976, allocations: 295.3 kB / 441.1 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.02998, allocations: 239.9 kB / 441.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/0.03332, allocations: 3.108 MB / 444.4 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/0.03337, allocations: 11.98 kB / 444.4 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.03351, allocations: 92 kB / 444.5 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.49e-05/0.03359, allocations: 108.5 kB / 444.6 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.0362, allocations: 2.356 MB / 447 MB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1774/0.2135, allocations: 7.803 MB / 454.8 MB, free: 79.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.215, allocations: 1.332 MB / 456.1 MB, free: 79.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009128/0.216, allocations: 0.8979 MB / 457 MB, free: 79.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.2161, allocations: 43.61 kB / 457.1 MB, free: 79.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007198/0.2168, allocations: 0.8775 MB / 457.9 MB, free: 79.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 2.835e-06/0.2168, allocations: 0 / 457.9 MB, free: 79.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.007507/0.2243, allocations: 6.458 MB / 464.4 MB, free: 77.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2244, allocations: 247.8 kB / 464.6 MB, free: 77.32 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.0009201/0.2253, allocations: 1.205 MB / 465.9 MB, free: 76.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/0.2253, allocations: 48.14 kB / 465.9 MB, free: 76.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.2257, allocations: 1.045 MB / 466.9 MB, free: 76.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.2259, allocations: 429.3 kB / 467.4 MB, free: 75.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.2261, allocations: 260.2 kB / 467.6 MB, free: 75.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.457e-05/0.2261, allocations: 307.8 kB / 467.9 MB, free: 75.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/0.2268, allocations: 0.7416 MB / 468.7 MB, free: 75.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008331/0.2277, allocations: 1.299 MB / 470 MB, free: 74.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004095/0.2318, allocations: 3.555 MB / 473.5 MB, free: 72.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.2318, allocations: 3.031 kB / 473.5 MB, free: 72.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002352/0.2341, allocations: 2.503 MB / 476 MB, free: 71.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.2341, allocations: 38.28 kB / 476.1 MB, free: 71.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.2342, allocations: 16.53 kB / 476.1 MB, free: 71.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/0.2348, allocations: 0.4941 MB / 476.6 MB, free: 71.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.2353, allocations: 305.2 kB / 476.9 MB, free: 71.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004075/0.2394, allocations: 8.332 MB / 485.2 MB, free: 64.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.2401, allocations: 134.9 kB / 485.3 MB, free: 64.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-05/0.2401, allocations: 62.55 kB / 485.4 MB, free: 64.83 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.001416/0.2415, allocations: 1.296 MB / 486.7 MB, free: 64.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009017/0.2424, allocations: 1.277 MB / 488 MB, free: 63.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004747/0.2472, allocations: 3.482 MB / 491.4 MB, free: 61.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.068e-05/0.2472, allocations: 3.562 kB / 491.4 MB, free: 61.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003055/0.2503, allocations: 2.463 MB / 493.9 MB, free: 60.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.2503, allocations: 36.52 kB / 493.9 MB, free: 60.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.2503, allocations: 11.56 kB / 494 MB, free: 60.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006811/0.251, allocations: 0.5037 MB / 494.5 MB, free: 60.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.2516, allocations: 291.9 kB / 494.7 MB, free: 60.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004529/0.2561, allocations: 8.333 MB / 0.4913 GB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007323/0.2568, allocations: 137 kB / 0.4914 GB, free: 53.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.559e-05/0.2569, allocations: 65.39 kB / 0.4915 GB, free: 53.97 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.0003416/0.2573, allocations: 294 kB / 0.4918 GB, free: 53.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.2574, allocations: 149.5 kB / 0.4919 GB, free: 53.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.26, allocations: 2.124 MB / 0.494 GB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.26, allocations: 19.39 kB / 0.494 GB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2601, allocations: 3.781 kB / 0.494 GB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-06/0.2601, allocations: 8.016 kB / 0.494 GB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005071/0.2651, allocations: 4.351 MB / 0.4983 GB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.2651, allocations: 2.219 kB / 0.4983 GB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.2656, allocations: 207.7 kB / 0.4985 GB, free: 50.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008106/0.2664, allocations: 0.5221 MB / 0.499 GB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.2665, allocations: 39.8 kB / 0.499 GB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004325/0.2708, allocations: 8.158 MB / 0.507 GB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2708, allocations: 3.625 kB / 0.507 GB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00325/0.2741, allocations: 3.161 MB / 0.5101 GB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.2745, allocations: 303.6 kB / 0.5104 GB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.2746, allocations: 33.31 kB / 0.5104 GB, free: 42.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.2751, allocations: 102.1 kB / 0.5105 GB, free: 42.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.2753, allocations: 117.9 kB / 0.5106 GB, free: 42.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.2754, allocations: 40.88 kB / 0.5106 GB, free: 42.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008153/0.2762, allocations: 0.8051 MB / 0.5114 GB, free: 41.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2762, allocations: 0 / 0.5114 GB, free: 41.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001991/0.2782, allocations: 0.7812 MB / 0.5122 GB, free: 40.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.00344/0.2816, allocations: 3.801 MB / 0.5159 GB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004892/0.2865, allocations: 6.412 MB / 0.5222 GB, free: 31.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2865, allocations: 0 / 0.5222 GB, free: 31.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.2883, allocations: 2.679 MB / 0.5248 GB, free: 28.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2894, allocations: 403.1 kB / 0.5252 GB, free: 28.58 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.01027/0.2996, allocations: 12.33 MB / 0.5372 GB, free: 16.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.3004, allocations: 1.263 MB / 0.5384 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007039/0.3011, allocations: 423.9 kB / 0.5388 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000589/0.3016, allocations: 0.8557 MB / 0.5397 GB, free: 13.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3016, allocations: 0 / 0.5397 GB, free: 13.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0621/0.3638, allocations: 52.2 MB / 0.5906 GB, free: 9.805 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/8.771, allocations: 19.66 kB / 0.5907 GB, free: 9.789 MB / 458.7 MB " [Timeout remaining time 651] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_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_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.71068033669144] Failed to read output from testmodel.py, exit status != 0: 8.879611492156982 8.888007783 8.862524225 Calling exit ...