Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001628/0.001628, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001743/0.001743, allocations: 212 kB / 20.13 MB, free: 2.949 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.07203/0.07203, allocations: 8.551 MB / 318.1 MB, free: 15.99 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_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.001948/0.001948, allocations: 69.42 kB / 442.4 MB, free: 40.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.1006, allocations: 55.39 MB / 497.8 MB, free: 7.133 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.009455/0.1101, allocations: 9.797 MB / 0.4957 GB, free: 13.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005999/0.1161, allocations: 2.75 MB / 0.4984 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.1176, allocations: 71.56 kB / 0.4985 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.119, allocations: 0.5081 MB / 0.499 GB, free: 9.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.1213, allocations: 0.7026 MB / 0.4997 GB, free: 9.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1225, allocations: 0.5453 MB / 0.5002 GB, free: 8.699 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.003412/0.1259, allocations: 2.674 MB / 0.5028 GB, free: 6.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.1281, allocations: 1.668 MB / 0.5044 GB, free: 4.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.13, allocations: 1.234 MB / 0.5056 GB, free: 3.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.1324, allocations: 1.471 MB / 0.5071 GB, free: 1.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005733/0.133, allocations: 336 kB / 0.5074 GB, free: 1.234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008955/0.1339, allocations: 431.8 kB / 0.5078 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008937/0.1348, allocations: 0.8766 MB / 0.5087 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.1363, allocations: 1.42 MB / 0.5101 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005325/0.1417, allocations: 4.157 MB / 0.5141 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1417, allocations: 0 / 0.5141 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1417, allocations: 4 kB / 0.5141 GB, free: 10.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001296/0.1418, allocations: 4 kB / 0.5141 GB, free: 10.33 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.007104/0.1489, allocations: 2.972 MB / 0.517 GB, free: 7.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1489, allocations: 12.03 kB / 0.517 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001131/0.1491, allocations: 64.73 kB / 0.5171 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004548/0.1495, allocations: 337.5 kB / 0.5174 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009007/0.1504, allocations: 311.2 kB / 0.5177 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.1532, allocations: 1.502 MB / 0.5192 GB, free: 5.008 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.0003128/0.1536, allocations: 236 kB / 0.5194 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003874/0.1539, allocations: 232 kB / 0.5196 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005176/0.1591, allocations: 2.95 MB / 0.5225 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.476e-05/0.1592, allocations: 7.938 kB / 0.5225 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002232/0.1594, allocations: 99.98 kB / 0.5226 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.1595, allocations: 108.5 kB / 0.5227 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004438/0.164, allocations: 2.36 MB / 0.525 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/0.1786, allocations: 8.674 MB / 0.5335 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.1815, allocations: 1.57 MB / 0.535 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.1834, allocations: 0.8964 MB / 0.5359 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.1836, allocations: 122.1 kB / 0.536 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/0.1851, allocations: 0.7811 MB / 0.5368 GB, free: 2.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.1851, allocations: 0 / 0.5368 GB, free: 2.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=121): time 0.01673/0.2018, allocations: 6.987 MB / 0.5436 GB, free: 11.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/0.202, allocations: 248.3 kB / 0.5438 GB, free: 11.04 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.002094/0.2041, allocations: 1.175 MB / 0.545 GB, free: 9.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002206/0.2043, allocations: 45.7 kB / 0.545 GB, free: 9.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.2053, allocations: 1.051 MB / 0.5461 GB, free: 8.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004715/0.2058, allocations: 440.3 kB / 0.5465 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/0.2063, allocations: 259.5 kB / 0.5467 GB, free: 8.043 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2064, allocations: 309.1 kB / 0.547 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.2078, allocations: 0.7074 MB / 0.5477 GB, free: 7.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.2095, allocations: 1.123 MB / 0.5488 GB, free: 5.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008963/0.2185, allocations: 3.547 MB / 0.5523 GB, free: 2.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.2185, allocations: 7.938 kB / 0.5523 GB, free: 2.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004861/0.2233, allocations: 2.541 MB / 0.5548 GB, free: 15.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.879e-05/0.2234, allocations: 40.2 kB / 0.5548 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.2234, allocations: 12 kB / 0.5548 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.2247, allocations: 0.5001 MB / 0.5553 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.2259, allocations: 307.5 kB / 0.5556 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009205/0.2351, allocations: 8.794 MB / 0.5642 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.2366, allocations: 135.8 kB / 0.5643 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.2367, allocations: 63.98 kB / 0.5644 GB, free: 5.004 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.002433/0.2391, allocations: 1.276 MB / 0.5656 GB, free: 3.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001597/0.2407, allocations: 1.092 MB / 0.5667 GB, free: 2.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008894/0.2496, allocations: 3.489 MB / 0.5701 GB, free: 14.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.618e-05/0.2496, allocations: 4 kB / 0.5701 GB, free: 14.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004811/0.2544, allocations: 2.502 MB / 0.5725 GB, free: 12.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.2545, allocations: 33.7 kB / 0.5726 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.2545, allocations: 12 kB / 0.5726 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.2558, allocations: 0.5 MB / 0.5731 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.2569, allocations: 299.4 kB / 0.5734 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009161/0.2661, allocations: 8.808 MB / 0.582 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.2678, allocations: 139.9 kB / 0.5821 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/0.268, allocations: 59.98 kB / 0.5821 GB, free: 1.844 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.0006184/0.2686, allocations: 299.5 kB / 0.5824 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.269, allocations: 147.1 kB / 0.5826 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2266/0.4956, allocations: 2.196 MB / 0.5847 GB, free: 87.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.4956, allocations: 12.09 kB / 0.5847 GB, free: 87.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.4957, allocations: 7.562 kB / 0.5847 GB, free: 87.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/0.4957, allocations: 6.266 kB / 0.5847 GB, free: 87.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007737/0.5034, allocations: 4.696 MB / 0.5893 GB, free: 86.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.5034, allocations: 7.594 kB / 0.5893 GB, free: 86.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/0.5043, allocations: 195.3 kB / 0.5895 GB, free: 86.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.5056, allocations: 0.5219 MB / 0.59 GB, free: 86.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.8e-05/0.5057, allocations: 40.97 kB / 0.5901 GB, free: 86.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006436/0.5121, allocations: 8.614 MB / 0.5985 GB, free: 79.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.5121, allocations: 3.438 kB / 0.5985 GB, free: 79.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/0.5172, allocations: 3.258 MB / 0.6017 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/0.5179, allocations: 365.3 kB / 0.602 GB, free: 78.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.5181, allocations: 33.19 kB / 0.602 GB, free: 78.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009926/0.5191, allocations: 104.2 kB / 0.6021 GB, free: 78.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/0.5194, allocations: 111 kB / 0.6023 GB, free: 78.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.5195, allocations: 39.17 kB / 0.6023 GB, free: 78.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001314/0.5208, allocations: 0.8052 MB / 0.6031 GB, free: 77.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5208, allocations: 0 / 0.6031 GB, free: 77.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002352/0.5231, allocations: 0.7831 MB / 0.6038 GB, free: 77.86 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.005024/0.5282, allocations: 3.882 MB / 0.6076 GB, free: 75.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008081/0.5363, allocations: 6.503 MB / 0.614 GB, free: 71.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.5363, allocations: 3.125 kB / 0.614 GB, free: 71.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003437/0.5397, allocations: 2.765 MB / 0.6167 GB, free: 68.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.5416, allocations: 394.1 kB / 0.6171 GB, free: 68.03 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.01736/0.5589, allocations: 12.5 MB / 0.6293 GB, free: 55.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.5602, allocations: 1.845 MB / 0.6311 GB, free: 53.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001316/0.5615, allocations: 424.1 kB / 0.6315 GB, free: 52.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009672/0.5625, allocations: 0.8625 MB / 0.6323 GB, free: 52.01 MB / 446.1 MB Notification: Performance of SimCode: time 1.703e-06/0.5625, allocations: 0 / 0.6323 GB, free: 52.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/0.6792, allocations: 48.97 MB / 0.6801 GB, free: 3.426 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.08, allocations: 4.703 kB / 0.6801 GB, free: 3.426 MB / 446.1 MB " [Timeout remaining time 646] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.58909305999987] Failed to read output from testmodel.py, exit status != 0: 14.245879915950354 14.260953439 14.116406869 Calling exit ...