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.02968/0.02968, 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.001117/0.001117, 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.001277/0.001277, allocations: 158.4 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 1.012/1.012, 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 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.03377/0.03377, allocations: 2.511 MB / 279.5 MB, free: 0.5156 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 412 MB, free: 10.36 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.903e-05, allocations: 2.281 kB / 412 MB, free: 10.36 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.00739/0.007409, allocations: 8.63 MB / 420.6 MB, free: 1.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0043/0.01171, allocations: 2.645 MB / 423.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.01277, allocations: 67.62 kB / 423.4 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.01384, allocations: 496.2 kB / 423.8 MB, free: 14.47 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.01544, allocations: 0.7408 MB / 424.6 MB, free: 13.72 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008695/0.01631, allocations: 0.5478 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.002239/0.01855, allocations: 2.761 MB / 427.9 MB, free: 10.4 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.01997, allocations: 1.285 MB / 429.2 MB, free: 9.055 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.02218, allocations: 1.801 MB / 431 MB, free: 7.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.02377, allocations: 1.227 MB / 432.2 MB, free: 6.02 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003921/0.02416, allocations: 336 kB / 432.5 MB, free: 5.691 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006301/0.02479, allocations: 423.8 kB / 432.9 MB, free: 5.277 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000711/0.0255, allocations: 0.8998 MB / 433.8 MB, free: 4.375 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009518/0.02645, allocations: 0.9822 MB / 434.8 MB, free: 3.391 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.02987, allocations: 4.23 MB / 439.1 MB, free: 15.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.02988, allocations: 0 / 439.1 MB, free: 15.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.02988, allocations: 0 / 439.1 MB, free: 15.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.711e-05/0.02996, allocations: 3.984 kB / 439.1 MB, free: 15.14 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.004246/0.0342, allocations: 2.878 MB / 441.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.03425, allocations: 8.031 kB / 441.9 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003498/0.0346, allocations: 337.5 kB / 442.3 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005972/0.0352, allocations: 311.2 kB / 442.6 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.03741, allocations: 1.429 MB / 444 MB, free: 10.1 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.0002111/0.03762, allocations: 288 kB / 444.3 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.03787, allocations: 235.9 kB / 444.5 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/0.04156, allocations: 3.108 MB / 447.6 MB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.902e-05/0.04161, allocations: 7.938 kB / 447.6 MB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.04177, allocations: 96 kB / 447.7 MB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.813e-05/0.04186, allocations: 108.5 kB / 447.8 MB, free: 6.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/0.04493, allocations: 2.356 MB / 450.2 MB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1413/0.1862, allocations: 7.8 MB / 458 MB, free: 79.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.1878, allocations: 1.332 MB / 459.3 MB, free: 79.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.1888, allocations: 0.8955 MB / 460.2 MB, free: 79.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/0.189, allocations: 49.66 kB / 460.3 MB, free: 79.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007884/0.1898, allocations: 0.8759 MB / 461.1 MB, free: 78.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 3.046e-06/0.1898, allocations: 0 / 461.1 MB, free: 78.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.0084/0.1982, allocations: 6.456 MB / 467.6 MB, free: 76.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.1982, allocations: 249.1 kB / 467.8 MB, free: 76.33 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.001038/0.1993, allocations: 1.203 MB / 469 MB, free: 75.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.1993, allocations: 47.98 kB / 469.1 MB, free: 75.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/0.1998, allocations: 1.037 MB / 470.1 MB, free: 74.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.2, allocations: 440 kB / 470.6 MB, free: 74.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.2002, allocations: 262.3 kB / 470.8 MB, free: 74.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.032e-05/0.2002, allocations: 301.1 kB / 471.1 MB, free: 74.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007411/0.201, allocations: 0.7369 MB / 471.8 MB, free: 73.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008866/0.2019, allocations: 1.3 MB / 473.1 MB, free: 73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004904/0.2068, allocations: 3.556 MB / 476.7 MB, free: 71.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.2068, allocations: 2.719 kB / 476.7 MB, free: 71.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003039/0.2098, allocations: 2.505 MB / 479.2 MB, free: 70.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.2099, allocations: 49.17 kB / 479.3 MB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.2099, allocations: 9.844 kB / 479.3 MB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007213/0.2106, allocations: 0.4944 MB / 479.8 MB, free: 70.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007018/0.2113, allocations: 305.2 kB / 480.1 MB, free: 70.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.2158, allocations: 8.343 MB / 488.4 MB, free: 63.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.217, allocations: 129.4 kB / 488.5 MB, free: 63.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/0.217, allocations: 59.12 kB / 488.6 MB, free: 63.65 MB / 410.7 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001522/0.2186, allocations: 1.296 MB / 489.9 MB, free: 63.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008528/0.2194, allocations: 1.272 MB / 491.2 MB, free: 62.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004708/0.2241, allocations: 3.492 MB / 494.6 MB, free: 60.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.176e-05/0.2241, allocations: 1.812 kB / 494.6 MB, free: 60.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003012/0.2271, allocations: 2.463 MB / 497.1 MB, free: 59.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.2272, allocations: 44.7 kB / 497.2 MB, free: 59.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.2272, allocations: 10.88 kB / 497.2 MB, free: 59.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000741/0.2279, allocations: 0.5023 MB / 497.7 MB, free: 59.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.2286, allocations: 289.3 kB / 497.9 MB, free: 59.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004659/0.2333, allocations: 8.331 MB / 0.4944 GB, free: 52.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009525/0.2342, allocations: 132.8 kB / 0.4945 GB, free: 52.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.2343, allocations: 61.41 kB / 0.4946 GB, free: 52.8 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.0003228/0.2346, allocations: 297.4 kB / 0.4949 GB, free: 52.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.2348, allocations: 153.2 kB / 0.495 GB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.2373, allocations: 2.124 MB / 0.4971 GB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.2374, allocations: 12.38 kB / 0.4971 GB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2374, allocations: 4.438 kB / 0.4971 GB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.2374, allocations: 8.094 kB / 0.4971 GB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004898/0.2423, allocations: 4.363 MB / 0.5014 GB, free: 49.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.2423, allocations: 480 / 0.5014 GB, free: 49.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.2428, allocations: 202.5 kB / 0.5016 GB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008127/0.2436, allocations: 0.5171 MB / 0.5021 GB, free: 49.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/0.2436, allocations: 41.73 kB / 0.5021 GB, free: 49.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/0.2476, allocations: 8.155 MB / 0.5101 GB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2476, allocations: 16.42 kB / 0.5101 GB, free: 43.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/0.251, allocations: 3.153 MB / 0.5132 GB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004963/0.2515, allocations: 296.1 kB / 0.5135 GB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.2516, allocations: 34.45 kB / 0.5135 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.2521, allocations: 106 kB / 0.5136 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.2523, allocations: 118.7 kB / 0.5137 GB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.2524, allocations: 40.31 kB / 0.5138 GB, free: 40.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007946/0.2532, allocations: 0.8003 MB / 0.5145 GB, free: 39.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2532, allocations: 0 / 0.5145 GB, free: 39.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001763/0.2549, allocations: 0.782 MB / 0.5153 GB, free: 39.18 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.003455/0.2584, allocations: 3.806 MB / 0.519 GB, free: 35.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005374/0.2638, allocations: 6.408 MB / 0.5253 GB, free: 29.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.2638, allocations: 4 kB / 0.5253 GB, free: 29.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.2658, allocations: 2.678 MB / 0.5279 GB, free: 27.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.2671, allocations: 400 kB / 0.5283 GB, free: 26.71 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.01144/0.2785, allocations: 12.33 MB / 0.5403 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008316/0.2794, allocations: 1.271 MB / 0.5416 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008049/0.2802, allocations: 420 kB / 0.542 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/0.2808, allocations: 0.8596 MB / 0.5428 GB, free: 11.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.764e-06/0.2808, allocations: 3.938 kB / 0.5428 GB, free: 11.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1327/0.4134, allocations: 52.3 MB / 0.5939 GB, free: 7.539 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.905/9.318, allocations: 7.938 kB / 0.5939 GB, free: 7.531 MB / 458.7 MB " [Timeout remaining time 650] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-cvode.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-euler.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTexamples_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_EHPTexamples_ElectricDrives_tqFollowing.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 13.015830088406801]