Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.08082/0.08082, allocations: 8.539 MB / 24.89 MB, free: 4.652 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 107.7 kB / 29.79 MB, free: 88 kB / 19.63 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.002181/0.002181, allocations: 208.5 kB / 34.82 MB, free: 1.605 MB / 26.18 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.535/1.535, allocations: 230.6 MB / 270.3 MB, free: 4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.01685/0.01685, allocations: 3.419 MB / 331.8 MB, free: 9.992 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",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: EHPTexamples 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.002793/0.002793, allocations: 105.2 kB / 459.3 MB, free: 50.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.09658, allocations: 56.27 MB / 0.5035 GB, free: 0.8594 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:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.01209/0.1087, allocations: 9.795 MB / 0.5131 GB, free: 7.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006697/0.1154, allocations: 2.758 MB / 0.5158 GB, free: 4.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.1171, allocations: 63.62 kB / 0.5158 GB, free: 4.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.1189, allocations: 0.512 MB / 0.5163 GB, free: 3.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.1217, allocations: 0.7103 MB / 0.517 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1231, allocations: 0.5455 MB / 0.5176 GB, free: 2.414 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.00391/0.127, allocations: 2.674 MB / 0.5202 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.1293, allocations: 1.66 MB / 0.5218 GB, free: 14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.1313, allocations: 1.238 MB / 0.523 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.1335, allocations: 1.471 MB / 0.5244 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005652/0.1341, allocations: 336 kB / 0.5248 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009374/0.135, allocations: 431.8 kB / 0.5252 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00093/0.136, allocations: 0.8687 MB / 0.526 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001771/0.1377, allocations: 1.427 MB / 0.5274 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005191/0.1429, allocations: 4.161 MB / 0.5315 GB, free: 4.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.1429, allocations: 3.984 kB / 0.5315 GB, free: 4.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1429, allocations: 0 / 0.5315 GB, free: 4.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001182/0.1431, allocations: 0 / 0.5315 GB, free: 4.043 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.00712/0.1502, allocations: 2.977 MB / 0.5344 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.1502, allocations: 12.03 kB / 0.5344 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004557/0.1507, allocations: 337.4 kB / 0.5347 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008579/0.1515, allocations: 299.2 kB / 0.535 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.1544, allocations: 1.506 MB / 0.5365 GB, free: 14.8 MB / 398.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.0002992/0.1547, allocations: 240 kB / 0.5367 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/0.1551, allocations: 235.9 kB / 0.5369 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005314/0.1604, allocations: 2.954 MB / 0.5398 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.848e-05/0.1605, allocations: 7.938 kB / 0.5398 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.1607, allocations: 92 kB / 0.5399 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.1608, allocations: 112.5 kB / 0.54 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004468/0.1653, allocations: 2.36 MB / 0.5423 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01462/0.1799, allocations: 8.674 MB / 0.5508 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.1828, allocations: 1.562 MB / 0.5523 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.1847, allocations: 0.9079 MB / 0.5532 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/0.1849, allocations: 126.1 kB / 0.5533 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/0.1863, allocations: 0.7734 MB / 0.5541 GB, free: 12.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 2.805e-06/0.1863, allocations: 4 kB / 0.5541 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.0162/0.2025, allocations: 6.972 MB / 0.5609 GB, free: 5.129 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/0.2027, allocations: 248.3 kB / 0.5611 GB, free: 4.832 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.001995/0.2047, allocations: 1.187 MB / 0.5623 GB, free: 3.633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.2048, allocations: 45.7 kB / 0.5623 GB, free: 3.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.2059, allocations: 1.039 MB / 0.5633 GB, free: 2.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004397/0.2063, allocations: 444.3 kB / 0.5638 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005029/0.2068, allocations: 259.5 kB / 0.564 GB, free: 1.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.207, allocations: 309 kB / 0.5643 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.2085, allocations: 0.7114 MB / 0.565 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.2104, allocations: 1.127 MB / 0.5661 GB, free: 15.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009129/0.2196, allocations: 3.546 MB / 0.5696 GB, free: 11.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.2196, allocations: 4 kB / 0.5696 GB, free: 11.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005011/0.2246, allocations: 2.541 MB / 0.5721 GB, free: 9.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.2246, allocations: 38 kB / 0.5721 GB, free: 9.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.2247, allocations: 16 kB / 0.5721 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.226, allocations: 0.5037 MB / 0.5726 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.2272, allocations: 299.5 kB / 0.5729 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009293/0.2365, allocations: 8.81 MB / 0.5815 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.2381, allocations: 135.9 kB / 0.5816 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.2383, allocations: 63.92 kB / 0.5817 GB, free: 14.78 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002496/0.2408, allocations: 1.274 MB / 0.5829 GB, free: 13.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001606/0.2424, allocations: 1.096 MB / 0.584 GB, free: 12.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008673/0.251, allocations: 3.491 MB / 0.5874 GB, free: 8.582 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-05/0.2511, allocations: 4 kB / 0.5874 GB, free: 8.578 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004805/0.2559, allocations: 2.495 MB / 0.5898 GB, free: 6.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.13e-05/0.2559, allocations: 41.64 kB / 0.5899 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.2559, allocations: 8 kB / 0.5899 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.2572, allocations: 0.504 MB / 0.5904 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.2583, allocations: 299.6 kB / 0.5907 GB, free: 5.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2476/0.5059, allocations: 8.797 MB / 0.5993 GB, free: 80 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.5077, allocations: 136.3 kB / 0.5994 GB, free: 80 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.5079, allocations: 62 kB / 0.5995 GB, free: 80 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004674/0.5083, allocations: 289.3 kB / 0.5997 GB, free: 79.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.5086, allocations: 148.5 kB / 0.5999 GB, free: 79.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.5127, allocations: 2.206 MB / 0.602 GB, free: 79.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.5127, allocations: 12.53 kB / 0.602 GB, free: 79.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.5127, allocations: 4.281 kB / 0.602 GB, free: 79.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.5127, allocations: 13.03 kB / 0.6021 GB, free: 79.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008523/0.5212, allocations: 4.7 MB / 0.6066 GB, free: 77.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.5213, allocations: 3.625 kB / 0.6066 GB, free: 77.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008904/0.5221, allocations: 199.3 kB / 0.6068 GB, free: 77.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.5236, allocations: 0.5174 MB / 0.6073 GB, free: 77.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.5237, allocations: 36.67 kB / 0.6074 GB, free: 77.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006479/0.5302, allocations: 8.631 MB / 0.6158 GB, free: 70.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5302, allocations: 4.656 kB / 0.6158 GB, free: 70.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005367/0.5355, allocations: 3.249 MB / 0.619 GB, free: 68.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007375/0.5363, allocations: 368 kB / 0.6193 GB, free: 68.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.5365, allocations: 35.42 kB / 0.6194 GB, free: 68.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/0.5374, allocations: 100.9 kB / 0.6195 GB, free: 68.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.5377, allocations: 110.5 kB / 0.6196 GB, free: 68.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.282e-05/0.5378, allocations: 39.58 kB / 0.6196 GB, free: 68.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.5388, allocations: 0.8028 MB / 0.6204 GB, free: 68.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5388, allocations: 5.281 kB / 0.6204 GB, free: 68.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002463/0.5412, allocations: 0.7802 MB / 0.6212 GB, free: 68.3 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.004904/0.5461, allocations: 3.876 MB / 0.6249 GB, free: 66.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008216/0.5544, allocations: 6.518 MB / 0.6313 GB, free: 60.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.5544, allocations: 0 / 0.6313 GB, free: 60.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003483/0.5579, allocations: 2.758 MB / 0.634 GB, free: 58.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.5598, allocations: 398.1 kB / 0.6344 GB, free: 57.77 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.0161/0.5759, allocations: 12.5 MB / 0.6466 GB, free: 44.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.577, allocations: 1.845 MB / 0.6484 GB, free: 42.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001118/0.5781, allocations: 412.5 kB / 0.6488 GB, free: 42.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008077/0.5789, allocations: 0.8586 MB / 0.6496 GB, free: 41.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5789, allocations: 0 / 0.6496 GB, free: 41.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0964/0.6753, allocations: 48.91 MB / 0.6974 GB, free: 9.16 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.81, allocations: 11.98 kB / 0.6974 GB, free: 9.148 MB / 462.1 MB " [Timeout remaining time 646] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.922546030997182] Failed to read output from testmodel.py, exit status != 0: 13.932711211993592 13.946908161 13.801005989 Calling exit ...