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.001393/0.001393, allocations: 113.4 kB / 19.73 MB, free: 2.227 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.001605/0.001605, allocations: 218 kB / 23.04 MB, free: 5.059 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.04253/0.04253, allocations: 8.549 MB / 321.8 MB, free: 10.64 MB / 254.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.002127/0.002127, allocations: 69 kB / 447.7 MB, free: 0 / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1148, allocations: 55.43 MB / 0.4913 GB, free: 8.473 MB / 366.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.01296/0.1278, allocations: 9.838 MB / 0.501 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006575/0.1344, allocations: 2.77 MB / 0.5037 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.1359, allocations: 63.62 kB / 0.5037 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.1376, allocations: 0.5041 MB / 0.5042 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.1402, allocations: 0.7142 MB / 0.5049 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.1417, allocations: 0.5495 MB / 0.5054 GB, free: 9.973 MB / 382.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.00396/0.1457, allocations: 2.67 MB / 0.5081 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/0.1482, allocations: 1.336 MB / 0.5094 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.1503, allocations: 1.234 MB / 0.5106 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.1528, allocations: 1.467 MB / 0.512 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008389/0.1537, allocations: 336 kB / 0.5123 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.155, allocations: 435.8 kB / 0.5127 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.1562, allocations: 0.8766 MB / 0.5136 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002215/0.1584, allocations: 1.427 MB / 0.515 GB, free: 116 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2209/0.3793, allocations: 4.152 MB / 0.519 GB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3793, allocations: 0 / 0.519 GB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3793, allocations: 0.6562 kB / 0.519 GB, free: 14.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001326/0.3794, allocations: 1.281 kB / 0.519 GB, free: 14.45 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.008046/0.3875, allocations: 2.9 MB / 0.5219 GB, free: 13.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3875, allocations: 11.97 kB / 0.5219 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.623e-05/0.3876, allocations: 60.45 kB / 0.5219 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005361/0.3881, allocations: 334.3 kB / 0.5223 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008478/0.389, allocations: 310.3 kB / 0.5226 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.3918, allocations: 1.427 MB / 0.5239 GB, free: 12.75 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.0002811/0.3921, allocations: 291.5 kB / 0.5242 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000393/0.3924, allocations: 233.2 kB / 0.5244 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005802/0.3983, allocations: 2.952 MB / 0.5273 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.662e-05/0.3983, allocations: 13.27 kB / 0.5273 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.3986, allocations: 99.61 kB / 0.5274 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.3987, allocations: 106.2 kB / 0.5275 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004294/0.403, allocations: 2.361 MB / 0.5298 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.4162, allocations: 8.507 MB / 0.5382 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.4187, allocations: 1.333 MB / 0.5395 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.4205, allocations: 0.8931 MB / 0.5403 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/0.4207, allocations: 53.62 kB / 0.5404 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001226/0.4219, allocations: 0.7785 MB / 0.5411 GB, free: 5.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.454e-06/0.4219, allocations: 1.125 kB / 0.5411 GB, free: 5.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.014/0.4359, allocations: 6.464 MB / 0.5475 GB, free: 2.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.436, allocations: 244.6 kB / 0.5477 GB, free: 2.246 MB / 382.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.001463/0.4375, allocations: 1.188 MB / 0.5488 GB, free: 1.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.4376, allocations: 47.2 kB / 0.5489 GB, free: 1.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006161/0.4382, allocations: 1.04 MB / 0.5499 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.4384, allocations: 443.3 kB / 0.5503 GB, free: 264 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/0.4388, allocations: 257.9 kB / 0.5506 GB, free: 116 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4389, allocations: 305.1 kB / 0.5509 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.4401, allocations: 0.7138 MB / 0.5516 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.4417, allocations: 1.12 MB / 0.5527 GB, free: 14.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008579/0.4502, allocations: 3.551 MB / 0.5561 GB, free: 11.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.4502, allocations: 8 kB / 0.5561 GB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004896/0.4551, allocations: 2.467 MB / 0.5585 GB, free: 9.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.4552, allocations: 37.73 kB / 0.5586 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.4552, allocations: 12 kB / 0.5586 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.4565, allocations: 0.4977 MB / 0.5591 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4576, allocations: 304.9 kB / 0.5594 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008891/0.4665, allocations: 8.392 MB / 0.5676 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.468, allocations: 131.8 kB / 0.5677 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.4681, allocations: 64.12 kB / 0.5677 GB, free: 15.71 MB / 414.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.002554/0.4707, allocations: 1.285 MB / 0.569 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001671/0.4724, allocations: 1.094 MB / 0.5701 GB, free: 13.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008768/0.4811, allocations: 3.474 MB / 0.5735 GB, free: 9.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.481e-05/0.4812, allocations: 4 kB / 0.5735 GB, free: 9.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004957/0.4861, allocations: 2.426 MB / 0.5758 GB, free: 7.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.4862, allocations: 43.09 kB / 0.5759 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.4862, allocations: 13.38 kB / 0.5759 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.4875, allocations: 0.4924 MB / 0.5764 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.4887, allocations: 301.5 kB / 0.5767 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009232/0.4979, allocations: 8.389 MB / 0.5849 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.4996, allocations: 135.8 kB / 0.585 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.4999, allocations: 64.05 kB / 0.585 GB, free: 13.38 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: 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.0006296/0.5005, allocations: 308.2 kB / 0.5853 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.501, allocations: 143.1 kB / 0.5855 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004735/0.5057, allocations: 2.123 MB / 0.5875 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.5057, allocations: 15.94 kB / 0.5876 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.5057, allocations: 4 kB / 0.5876 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.5057, allocations: 10.61 kB / 0.5876 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009701/0.5154, allocations: 4.589 MB / 0.5921 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.5155, allocations: 4 kB / 0.5921 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009023/0.5164, allocations: 204.3 kB / 0.5923 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.5178, allocations: 0.5149 MB / 0.5928 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.5179, allocations: 39.97 kB / 0.5928 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008798/0.5267, allocations: 8.217 MB / 0.6008 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.5267, allocations: 9.719 kB / 0.6008 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006158/0.5329, allocations: 3.169 MB / 0.6039 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008768/0.5337, allocations: 286.9 kB / 0.6042 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/0.5341, allocations: 39.98 kB / 0.6042 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.5352, allocations: 99.89 kB / 0.6043 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/0.5355, allocations: 122.4 kB / 0.6044 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.903e-05/0.5356, allocations: 43.97 kB / 0.6045 GB, free: 8.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001507/0.5371, allocations: 0.799 MB / 0.6053 GB, free: 8.164 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5371, allocations: 3.938 kB / 0.6053 GB, free: 8.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003833/0.5409, allocations: 0.7812 MB / 0.606 GB, free: 7.379 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.006414/0.5474, allocations: 3.804 MB / 0.6098 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01052/0.5579, allocations: 6.363 MB / 0.616 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.5579, allocations: 0 / 0.616 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004535/0.5624, allocations: 2.685 MB / 0.6186 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.5647, allocations: 398.2 kB / 0.619 GB, free: 9.914 MB / 462.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.02266/0.5874, allocations: 12.44 MB / 0.6311 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/0.5894, allocations: 1.833 MB / 0.6329 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001377/0.5908, allocations: 427.9 kB / 0.6333 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/0.592, allocations: 0.8547 MB / 0.6341 GB, free: 9.957 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.592, allocations: 0 / 0.6341 GB, free: 9.957 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/0.7317, allocations: 50.52 MB / 0.6835 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/15.82, allocations: 9.484 kB / 0.6835 GB, free: 7.953 MB / 0.5137 GB " [Timeout remaining time 644] (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: 19.110283234040253] Failed to read output from testmodel.py, exit status != 0: 16.012595613952726 16.028084885 15.645607757 Calling exit ...