Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json 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.0009311/0.0009311, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 13.93 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.0009722/0.0009722, allocations: 174.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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.8757/0.8757, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.03797/0.03797, allocations: 6.476 MB / 265.7 MB, free: 6.852 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 394.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.284e-05, allocations: 5.375 kB / 394.8 MB, free: 1.355 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start=\"Y\") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.009254/0.009276, allocations: 8.643 MB / 403.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00527/0.01455, allocations: 2.649 MB / 406.1 MB, free: 6.016 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.01584, allocations: 63.62 kB / 406.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.01701, allocations: 496.3 kB / 406.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.01877, allocations: 0.733 MB / 407.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.01978, allocations: 0.565 MB / 407.9 MB, free: 4.164 MB / 330.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.002786/0.02257, allocations: 2.758 MB / 410.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.02426, allocations: 1.277 MB / 412 MB, free: 56 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1439/0.1682, allocations: 1.796 MB / 413.8 MB, free: 19.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.1694, allocations: 1.218 MB / 415 MB, free: 19.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.1698, allocations: 334.8 kB / 415.3 MB, free: 19.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005973/0.1704, allocations: 433.5 kB / 415.7 MB, free: 19.9 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006043/0.171, allocations: 0.8939 MB / 416.6 MB, free: 19.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008343/0.1718, allocations: 0.9831 MB / 417.6 MB, free: 19.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004176/0.176, allocations: 4.237 MB / 421.9 MB, free: 19.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.176, allocations: 0 / 421.9 MB, free: 19.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.176, allocations: 0 / 421.9 MB, free: 19.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001244/0.1761, allocations: 0.5 kB / 421.9 MB, free: 19.44 MB / 330.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.004896/0.181, allocations: 2.881 MB / 424.7 MB, free: 17.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1811, allocations: 10.19 kB / 424.7 MB, free: 17.85 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003289/0.1814, allocations: 337.7 kB / 425.1 MB, free: 17.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006246/0.182, allocations: 305.4 kB / 425.4 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.1839, allocations: 1.421 MB / 426.8 MB, free: 16.79 MB / 330.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.0001779/0.184, allocations: 294.2 kB / 427.1 MB, free: 16.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.1843, allocations: 235 kB / 427.3 MB, free: 16.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/0.1876, allocations: 3.107 MB / 430.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-05/0.1877, allocations: 3.594 kB / 430.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.1878, allocations: 100.5 kB / 430.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.51e-05/0.1879, allocations: 108.2 kB / 430.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.1906, allocations: 2.359 MB / 433 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007849/0.1984, allocations: 7.792 MB / 440.8 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.2, allocations: 1.332 MB / 442.1 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009672/0.2009, allocations: 0.8907 MB / 443 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.2011, allocations: 50.27 kB / 443 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007767/0.2019, allocations: 0.8863 MB / 443.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 2.225e-06/0.2019, allocations: 0.6562 kB / 443.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.008947/0.2108, allocations: 6.457 MB / 450.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.2109, allocations: 252.3 kB / 450.6 MB, free: 14.96 MB / 346.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.001366/0.2123, allocations: 1.202 MB / 451.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.2124, allocations: 49.7 kB / 451.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006823/0.2131, allocations: 1.034 MB / 452.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.2133, allocations: 439.3 kB / 453.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.2136, allocations: 264.6 kB / 453.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.2137, allocations: 301.1 kB / 453.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008488/0.2146, allocations: 0.7325 MB / 454.6 MB, free: 10.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.2157, allocations: 1.302 MB / 455.9 MB, free: 9.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004896/0.2205, allocations: 3.549 MB / 459.5 MB, free: 5.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.2206, allocations: 4 kB / 459.5 MB, free: 5.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003175/0.2237, allocations: 2.5 MB / 462 MB, free: 3.273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.2238, allocations: 41.69 kB / 462 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.2238, allocations: 15.45 kB / 462 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007405/0.2245, allocations: 0.4981 MB / 462.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/0.2252, allocations: 301 kB / 462.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006254/0.2314, allocations: 8.334 MB / 471.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.2326, allocations: 130.6 kB / 471.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/0.2326, allocations: 68.05 kB / 471.4 MB, free: 9.492 MB / 362.7 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001931/0.2346, allocations: 1.3 MB / 472.7 MB, free: 8.184 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001025/0.2356, allocations: 1.271 MB / 473.9 MB, free: 6.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005103/0.2407, allocations: 3.488 MB / 477.4 MB, free: 3.102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.955e-06/0.2407, allocations: 0 / 477.4 MB, free: 3.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00294/0.2437, allocations: 2.458 MB / 479.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.2437, allocations: 37.7 kB / 479.9 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2437, allocations: 12.31 kB / 479.9 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006937/0.2444, allocations: 0.503 MB / 480.4 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.245, allocations: 295.6 kB / 480.7 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005316/0.2503, allocations: 8.325 MB / 489.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.2513, allocations: 139.8 kB / 489.2 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-05/0.2514, allocations: 67.36 kB / 489.3 MB, free: 6.914 MB / 378.7 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real 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.0003404/0.2518, allocations: 303.4 kB / 489.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.2519, allocations: 147.1 kB / 489.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.2547, allocations: 2.124 MB / 491.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.2547, allocations: 12 kB / 491.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2547, allocations: 4 kB / 491.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.2547, allocations: 7.969 kB / 491.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005168/0.2599, allocations: 4.362 MB / 496.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2599, allocations: 0 / 496.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.2604, allocations: 206.3 kB / 496.4 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008096/0.2612, allocations: 0.5182 MB / 496.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.547e-05/0.2613, allocations: 39.98 kB / 497 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005077/0.2663, allocations: 8.154 MB / 0.4933 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2663, allocations: 7.656 kB / 0.4933 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004008/0.2704, allocations: 3.161 MB / 0.4964 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005419/0.2709, allocations: 294.9 kB / 0.4967 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.271, allocations: 31.98 kB / 0.4967 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.2716, allocations: 107.9 kB / 0.4968 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.2718, allocations: 112 kB / 0.4969 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.2718, allocations: 39.98 kB / 0.4969 GB, free: 2.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008754/0.2727, allocations: 0.8068 MB / 0.4977 GB, free: 1.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2727, allocations: 0 / 0.4977 GB, free: 1.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001896/0.2746, allocations: 0.7812 MB / 0.4985 GB, free: 1.211 MB / 394.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.003776/0.2784, allocations: 3.806 MB / 0.5022 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00607/0.2844, allocations: 6.404 MB / 0.5085 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.2844, allocations: 0 / 0.5085 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.2867, allocations: 2.696 MB / 0.5111 GB, free: 3.945 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.288, allocations: 383.8 kB / 0.5115 GB, free: 3.582 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.01616/0.3042, allocations: 12.32 MB / 0.5235 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.3056, allocations: 1.271 MB / 0.5247 GB, free: 5.465 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001159/0.3067, allocations: 423.9 kB / 0.5251 GB, free: 5.043 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009754/0.3077, allocations: 0.8673 MB / 0.526 GB, free: 4.176 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/0.3077, allocations: 0 / 0.526 GB, free: 4.176 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.176/0.4837, allocations: 52.29 MB / 0.577 GB, free: 412 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.597/9.081, allocations: 8 kB / 0.577 GB, free: 404 kB / 474.7 MB " [Timeout remaining time 651] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-cvode.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_OMSimulator-cs-cvode.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-euler.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_OMSimulator-cs-euler.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy_res.csv --start-time 0 --stop-time 12 --timeout 240 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 12.328670050017536]