Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.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.04656/0.04656, allocations: 8.544 MB / 24.89 MB, free: 4.234 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 111.6 kB / 29.79 MB, free: 6.465 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 192.2 kB / 34.8 MB, free: 1.465 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 265.3 MB, free: 8.629 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01386/0.01386, allocations: 3.411 MB / 325.6 MB, free: 15.36 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 109.3 kB / 450.8 MB, free: 49.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1157, allocations: 55.1 MB / 0.4941 GB, free: 8.695 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.wFollowing): time 0.009868/0.1256, allocations: 9.872 MB / 0.5037 GB, free: 14.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006806/0.1324, allocations: 2.813 MB / 0.5064 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.1344, allocations: 51.81 kB / 0.5065 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.1361, allocations: 0.5002 MB / 0.507 GB, free: 11.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.1386, allocations: 0.7103 MB / 0.5077 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.14, allocations: 0.55 MB / 0.5082 GB, free: 10.14 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.003911/0.1439, allocations: 2.694 MB / 0.5108 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.1465, allocations: 1.664 MB / 0.5125 GB, free: 5.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.149, allocations: 1.211 MB / 0.5136 GB, free: 4.484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.1514, allocations: 1.471 MB / 0.5151 GB, free: 3.008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005332/0.1519, allocations: 336 kB / 0.5154 GB, free: 2.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.153, allocations: 439.8 kB / 0.5158 GB, free: 2.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009484/0.154, allocations: 0.8687 MB / 0.5167 GB, free: 1.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.1559, allocations: 1.435 MB / 0.5181 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005481/0.1614, allocations: 4.173 MB / 0.5221 GB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.1614, allocations: 4 kB / 0.5222 GB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1614, allocations: 4 kB / 0.5222 GB, free: 11.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001168/0.1615, allocations: 0 / 0.5222 GB, free: 11.74 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: 608 * Number of variables: 608 Notification: Performance of Generate backend data structure: time 0.008234/0.1697, allocations: 2.989 MB / 0.5251 GB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.1698, allocations: 8.031 kB / 0.5251 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006383/0.1704, allocations: 341.6 kB / 0.5254 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.1715, allocations: 307.2 kB / 0.5257 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/0.1748, allocations: 1.439 MB / 0.5271 GB, free: 6.543 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.0003288/0.1751, allocations: 232.1 kB / 0.5273 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004691/0.1756, allocations: 247.9 kB / 0.5276 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006347/0.182, allocations: 2.982 MB / 0.5305 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.897e-05/0.182, allocations: 12 kB / 0.5305 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/0.1823, allocations: 95.98 kB / 0.5306 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.1824, allocations: 104.6 kB / 0.5307 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004893/0.1873, allocations: 2.395 MB / 0.533 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.204, allocations: 8.764 MB / 0.5416 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.2071, allocations: 1.591 MB / 0.5431 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.2089, allocations: 0.9166 MB / 0.544 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/0.2092, allocations: 118.1 kB / 0.5441 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.2107, allocations: 0.7967 MB / 0.5449 GB, free: 3.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 2.806e-06/0.2107, allocations: 0 / 0.5449 GB, free: 3.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=124): time 0.01579/0.2265, allocations: 6.946 MB / 0.5517 GB, free: 12.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001874/0.2267, allocations: 252.3 kB / 0.5519 GB, free: 12.41 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.001935/0.2286, allocations: 1.202 MB / 0.5531 GB, free: 11.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.2287, allocations: 45.7 kB / 0.5532 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.2298, allocations: 1.047 MB / 0.5542 GB, free: 10.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004514/0.2303, allocations: 444.2 kB / 0.5546 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000471/0.2308, allocations: 271.5 kB / 0.5549 GB, free: 9.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.2309, allocations: 301.1 kB / 0.5552 GB, free: 9.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.2323, allocations: 0.727 MB / 0.5559 GB, free: 8.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.234, allocations: 1.139 MB / 0.557 GB, free: 7.039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009417/0.2434, allocations: 3.633 MB / 0.5605 GB, free: 3.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.2434, allocations: 4 kB / 0.5605 GB, free: 3.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.00679/0.2502, allocations: 2.588 MB / 0.5631 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.712e-05/0.2503, allocations: 35.58 kB / 0.5631 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/0.2504, allocations: 12 kB / 0.5631 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/0.2522, allocations: 0.5027 MB / 0.5636 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.254, allocations: 307.5 kB / 0.5639 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.2675, allocations: 8.811 MB / 0.5725 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.2699, allocations: 135.8 kB / 0.5726 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/0.2701, allocations: 55.98 kB / 0.5727 GB, free: 6.176 MB / 430.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.003834/0.274, allocations: 1.289 MB / 0.5739 GB, free: 4.883 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002631/0.2766, allocations: 1.112 MB / 0.575 GB, free: 3.605 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01155/0.2881, allocations: 3.567 MB / 0.5785 GB, free: 15.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.359e-05/0.2882, allocations: 4 kB / 0.5785 GB, free: 15.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004679/0.2928, allocations: 2.526 MB / 0.581 GB, free: 13.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.2929, allocations: 45.69 kB / 0.581 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.2929, allocations: 12.31 kB / 0.581 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.2941, allocations: 0.5037 MB / 0.5815 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.2952, allocations: 303.4 kB / 0.5818 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.3052, allocations: 8.795 MB / 0.5904 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.3068, allocations: 135.9 kB / 0.5905 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.307, allocations: 56 kB / 0.5906 GB, free: 2.863 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.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (158): * Single equations (assignments): 151 * 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.000523/0.3075, allocations: 296.7 kB / 0.5909 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/0.3078, allocations: 147.1 kB / 0.591 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004592/0.3124, allocations: 2.235 MB / 0.5932 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.3124, allocations: 12 kB / 0.5932 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.3124, allocations: 8 kB / 0.5932 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/0.3124, allocations: 7.969 kB / 0.5932 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2577/0.5702, allocations: 4.749 MB / 0.5978 GB, free: 88.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5702, allocations: 3.938 kB / 0.5978 GB, free: 88.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/0.571, allocations: 205.1 kB / 0.598 GB, free: 88.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.5722, allocations: 0.5185 MB / 0.5986 GB, free: 88.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.365e-05/0.5723, allocations: 33.75 kB / 0.5986 GB, free: 88.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006571/0.5789, allocations: 8.622 MB / 0.607 GB, free: 82.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.5789, allocations: 9.219 kB / 0.607 GB, free: 82.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005048/0.5839, allocations: 3.292 MB / 0.6102 GB, free: 80.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.5851, allocations: 371.7 kB / 0.6106 GB, free: 80.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.5854, allocations: 37.69 kB / 0.6106 GB, free: 80.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/0.5863, allocations: 108 kB / 0.6107 GB, free: 80.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/0.5867, allocations: 108.5 kB / 0.6108 GB, free: 80.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.613e-05/0.5867, allocations: 47.39 kB / 0.6109 GB, free: 80.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.588, allocations: 0.8136 MB / 0.6117 GB, free: 80.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.588, allocations: 1.562 kB / 0.6117 GB, free: 80.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003199/0.5912, allocations: 0.7971 MB / 0.6124 GB, free: 79.96 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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 97 * 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.005121/0.5963, allocations: 3.927 MB / 0.6163 GB, free: 77.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009225/0.6055, allocations: 6.607 MB / 0.6227 GB, free: 73.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.6055, allocations: 0 / 0.6227 GB, free: 73.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00378/0.6093, allocations: 2.798 MB / 0.6255 GB, free: 70.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.6113, allocations: 394.9 kB / 0.6258 GB, free: 70.41 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.01666/0.628, allocations: 12.64 MB / 0.6382 GB, free: 57.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.6291, allocations: 1.842 MB / 0.64 GB, free: 55.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001206/0.6303, allocations: 438.8 kB / 0.6404 GB, free: 55.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007848/0.6311, allocations: 0.8664 MB / 0.6412 GB, free: 54.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6311, allocations: 0 / 0.6412 GB, free: 54.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09303/0.7241, allocations: 49.76 MB / 0.6898 GB, free: 4.934 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.6, allocations: 9.969 kB / 0.6899 GB, free: 4.926 MB / 446.1 MB " [Timeout remaining time 646] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.853780013043433] Failed to read output from testmodel.py, exit status != 0: 13.706460542976856 13.71888511 13.55459997 Calling exit ...