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.001563/0.001563, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 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.001672/0.001672, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.04107/0.04107, allocations: 8.548 MB / 318.1 MB, free: 16 kB / 238.1 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: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 75.5 kB / 442.4 MB, free: 40.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08828/0.09021, allocations: 55.38 MB / 497.8 MB, free: 7.16 MB / 350.1 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.01089/0.1011, allocations: 9.792 MB / 0.4957 GB, free: 13.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006717/0.1078, allocations: 2.758 MB / 0.4984 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002939/0.1108, allocations: 63.62 kB / 0.4985 GB, free: 10.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.113, allocations: 0.5042 MB / 0.499 GB, free: 9.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.1169, allocations: 0.7181 MB / 0.4997 GB, free: 9.262 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.1187, allocations: 0.5368 MB / 0.5002 GB, free: 8.727 MB / 366.1 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.004141/0.1228, allocations: 2.678 MB / 0.5028 GB, free: 6.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002855/0.1257, allocations: 1.672 MB / 0.5044 GB, free: 4.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.1278, allocations: 1.223 MB / 0.5056 GB, free: 3.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.1301, allocations: 1.467 MB / 0.5071 GB, free: 1.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007167/0.1308, allocations: 336 kB / 0.5074 GB, free: 1.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.1319, allocations: 439.8 kB / 0.5078 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.133, allocations: 0.8726 MB / 0.5087 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002125/0.1351, allocations: 1.42 MB / 0.51 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.1399, allocations: 4.165 MB / 0.5141 GB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.1399, allocations: 8 kB / 0.5141 GB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1399, allocations: 0 / 0.5141 GB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.863e-05/0.14, allocations: 0 / 0.5141 GB, free: 10.35 MB / 382.1 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.006675/0.1466, allocations: 2.976 MB / 0.517 GB, free: 7.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1467, allocations: 8.031 kB / 0.517 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.606e-05/0.1468, allocations: 60.8 kB / 0.5171 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004398/0.1472, allocations: 341.5 kB / 0.5174 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/0.1481, allocations: 303.2 kB / 0.5177 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.1509, allocations: 1.509 MB / 0.5192 GB, free: 5.031 MB / 382.1 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.0002834/0.1512, allocations: 232 kB / 0.5194 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003693/0.1516, allocations: 235.9 kB / 0.5196 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005353/0.1569, allocations: 2.95 MB / 0.5225 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.658e-05/0.157, allocations: 4 kB / 0.5225 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.1572, allocations: 99.98 kB / 0.5226 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/0.1573, allocations: 112.5 kB / 0.5227 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004513/0.1618, allocations: 2.36 MB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/0.1762, allocations: 8.67 MB / 0.5335 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.1791, allocations: 1.562 MB / 0.535 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.181, allocations: 0.9003 MB / 0.5359 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.1813, allocations: 122.1 kB / 0.536 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.1827, allocations: 0.7772 MB / 0.5368 GB, free: 2.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.645e-06/0.1827, allocations: 4 kB / 0.5368 GB, free: 2.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=121): time 0.01754/0.2002, allocations: 6.987 MB / 0.5436 GB, free: 11.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/0.2004, allocations: 248.3 kB / 0.5438 GB, free: 11.07 MB / 414.1 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.00186/0.2023, allocations: 1.175 MB / 0.545 GB, free: 9.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.2025, allocations: 49.7 kB / 0.545 GB, free: 9.824 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.2037, allocations: 1.051 MB / 0.546 GB, free: 8.762 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005584/0.2043, allocations: 440.3 kB / 0.5465 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005006/0.2048, allocations: 263.5 kB / 0.5467 GB, free: 8.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2049, allocations: 305.1 kB / 0.547 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.2063, allocations: 0.7113 MB / 0.5477 GB, free: 7.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.208, allocations: 1.119 MB / 0.5488 GB, free: 5.766 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008979/0.217, allocations: 3.547 MB / 0.5523 GB, free: 2.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.217, allocations: 4 kB / 0.5523 GB, free: 2.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005231/0.2223, allocations: 2.545 MB / 0.5548 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.2223, allocations: 40.83 kB / 0.5548 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.2223, allocations: 16 kB / 0.5548 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.2237, allocations: 0.4999 MB / 0.5553 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.2249, allocations: 307.5 kB / 0.5556 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009801/0.2347, allocations: 8.787 MB / 0.5642 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.2364, allocations: 139.8 kB / 0.5643 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/0.2366, allocations: 63.98 kB / 0.5644 GB, free: 5.031 MB / 430.1 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.002612/0.2392, allocations: 1.268 MB / 0.5656 GB, free: 3.766 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001781/0.241, allocations: 1.096 MB / 0.5667 GB, free: 2.508 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009166/0.2502, allocations: 3.489 MB / 0.5701 GB, free: 14.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.387e-05/0.2502, allocations: 4 kB / 0.5701 GB, free: 14.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004994/0.2552, allocations: 2.498 MB / 0.5725 GB, free: 12.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.2552, allocations: 41.69 kB / 0.5726 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.2552, allocations: 8 kB / 0.5726 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.2564, allocations: 0.508 MB / 0.5731 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.2576, allocations: 291.5 kB / 0.5733 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009388/0.2669, allocations: 8.816 MB / 0.582 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.2685, allocations: 135.8 kB / 0.5821 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.2686, allocations: 59.98 kB / 0.5821 GB, free: 1.871 MB / 446.1 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.0004798/0.2691, allocations: 295.3 kB / 0.5824 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.2694, allocations: 151 kB / 0.5826 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2208/0.4902, allocations: 2.195 MB / 0.5847 GB, free: 87.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.4902, allocations: 11.84 kB / 0.5847 GB, free: 87.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/0.4902, allocations: 4.531 kB / 0.5847 GB, free: 87.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.121e-05/0.4903, allocations: 8.469 kB / 0.5847 GB, free: 87.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009094/0.4994, allocations: 4.7 MB / 0.5893 GB, free: 86.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.4994, allocations: 6.188 kB / 0.5893 GB, free: 86.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000818/0.5002, allocations: 197.4 kB / 0.5895 GB, free: 86.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.5015, allocations: 0.5221 MB / 0.59 GB, free: 86.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.5016, allocations: 35.09 kB / 0.5901 GB, free: 86.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006695/0.5083, allocations: 8.613 MB / 0.5985 GB, free: 79.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5083, allocations: 7.938 kB / 0.5985 GB, free: 79.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/0.5133, allocations: 3.253 MB / 0.6017 GB, free: 78.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000666/0.514, allocations: 363.4 kB / 0.602 GB, free: 78.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.5142, allocations: 38.09 kB / 0.602 GB, free: 78.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5152, allocations: 104.4 kB / 0.6021 GB, free: 78.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/0.5156, allocations: 110.2 kB / 0.6022 GB, free: 78.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.5157, allocations: 42.23 kB / 0.6023 GB, free: 78.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001319/0.517, allocations: 0.8072 MB / 0.6031 GB, free: 77.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.517, allocations: 0.5312 kB / 0.6031 GB, free: 77.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002482/0.5195, allocations: 0.783 MB / 0.6038 GB, free: 77.87 MB / 446.1 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.004796/0.5243, allocations: 3.873 MB / 0.6076 GB, free: 75.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007868/0.5321, allocations: 6.511 MB / 0.614 GB, free: 71.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.5322, allocations: 0 / 0.614 GB, free: 71.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003344/0.5355, allocations: 2.762 MB / 0.6167 GB, free: 68.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.5374, allocations: 392.1 kB / 0.617 GB, free: 68.09 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.5527, allocations: 12.51 MB / 0.6293 GB, free: 55.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.5538, allocations: 1.837 MB / 0.6311 GB, free: 53.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001124/0.5549, allocations: 429.1 kB / 0.6315 GB, free: 52.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007889/0.5557, allocations: 0.8625 MB / 0.6323 GB, free: 52.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5557, allocations: 0 / 0.6323 GB, free: 52.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08913/0.6448, allocations: 48.94 MB / 0.6801 GB, free: 3.508 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.94, allocations: 4.062 kB / 0.6801 GB, free: 3.504 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.526178997009993] Failed to read output from testmodel.py, exit status != 0: 14.114650723990053 14.143309973 13.998019258 Calling exit ...