Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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.08047/0.08047, allocations: 8.54 MB / 24.89 MB, free: 4.668 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.001315/0.001315, allocations: 110.9 kB / 29.79 MB, free: 104 kB / 19.63 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.002037/0.002037, allocations: 200.1 kB / 34.81 MB, free: 1.637 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.438/1.438, allocations: 225.6 MB / 265.3 MB, free: 8.656 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.0181/0.0181, allocations: 3.42 MB / 325.6 MB, free: 15.39 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.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00364/0.00364, allocations: 95.23 kB / 450.8 MB, free: 49.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09588, allocations: 55.12 MB / 0.4941 GB, free: 8.715 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: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: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.008626/0.1045, allocations: 9.763 MB / 0.5036 GB, free: 14.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005645/0.1101, allocations: 2.719 MB / 0.5062 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.1112, allocations: 55.75 kB / 0.5063 GB, free: 12.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.1125, allocations: 0.5081 MB / 0.5068 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.1143, allocations: 0.7026 MB / 0.5075 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.1154, allocations: 0.5344 MB / 0.508 GB, free: 10.37 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.003201/0.1186, allocations: 2.666 MB / 0.5106 GB, free: 7.691 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.1209, allocations: 1.671 MB / 0.5122 GB, free: 5.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.1227, allocations: 1.192 MB / 0.5134 GB, free: 4.758 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.1246, allocations: 1.467 MB / 0.5148 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000454/0.1251, allocations: 332 kB / 0.5151 GB, free: 2.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007278/0.1258, allocations: 427.8 kB / 0.5156 GB, free: 2.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009146/0.1267, allocations: 0.8726 MB / 0.5164 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.1283, allocations: 1.416 MB / 0.5178 GB, free: 252 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004894/0.1332, allocations: 4.161 MB / 0.5219 GB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1332, allocations: 0 / 0.5219 GB, free: 12.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1332, allocations: 0 / 0.5219 GB, free: 12.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001011/0.1333, allocations: 4 kB / 0.5219 GB, free: 12.07 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.007075/0.1404, allocations: 2.969 MB / 0.5248 GB, free: 9.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1404, allocations: 12.03 kB / 0.5248 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004934/0.1409, allocations: 337.5 kB / 0.5251 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008075/0.1417, allocations: 299.2 kB / 0.5254 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/0.145, allocations: 1.439 MB / 0.5268 GB, free: 6.895 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.0002976/0.1453, allocations: 240 kB / 0.527 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003913/0.1457, allocations: 239.9 kB / 0.5272 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00614/0.1518, allocations: 2.958 MB / 0.5301 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.065e-05/0.1519, allocations: 4 kB / 0.5301 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.1521, allocations: 96 kB / 0.5302 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.1522, allocations: 108.5 kB / 0.5303 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004719/0.1569, allocations: 2.372 MB / 0.5326 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.1735, allocations: 8.72 MB / 0.5412 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/0.1769, allocations: 1.565 MB / 0.5427 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.1789, allocations: 0.9095 MB / 0.5436 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.1792, allocations: 126.1 kB / 0.5437 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.1809, allocations: 0.7811 MB / 0.5445 GB, free: 4.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 5.089e-06/0.1809, allocations: 0 / 0.5445 GB, free: 4.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=121): time 0.01852/0.1994, allocations: 7.005 MB / 0.5513 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002188/0.1996, allocations: 256.3 kB / 0.5515 GB, free: 12.82 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.002553/0.2022, allocations: 1.197 MB / 0.5527 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.2023, allocations: 45.7 kB / 0.5528 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.2036, allocations: 1.051 MB / 0.5538 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005192/0.2041, allocations: 428.3 kB / 0.5542 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005731/0.2047, allocations: 271.5 kB / 0.5544 GB, free: 9.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2048, allocations: 305.1 kB / 0.5547 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.2063, allocations: 0.7192 MB / 0.5554 GB, free: 8.777 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.2082, allocations: 1.131 MB / 0.5565 GB, free: 7.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009508/0.2177, allocations: 3.601 MB / 0.5601 GB, free: 3.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.2177, allocations: 4 kB / 0.5601 GB, free: 3.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005337/0.2231, allocations: 2.569 MB / 0.5626 GB, free: 1.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.2231, allocations: 33.7 kB / 0.5626 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.2231, allocations: 12 kB / 0.5626 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.2245, allocations: 0.5001 MB / 0.5631 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.2257, allocations: 299.5 kB / 0.5634 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.2357, allocations: 8.798 MB / 0.572 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.2374, allocations: 135.9 kB / 0.5721 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/0.2376, allocations: 63.92 kB / 0.5722 GB, free: 6.684 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.002949/0.2406, allocations: 1.282 MB / 0.5734 GB, free: 5.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001933/0.2425, allocations: 1.107 MB / 0.5745 GB, free: 4.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009577/0.2521, allocations: 3.538 MB / 0.578 GB, free: 428 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.1e-05/0.2521, allocations: 8 kB / 0.578 GB, free: 420 kB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.005296/0.2574, allocations: 2.51 MB / 0.5804 GB, free: 13.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.2575, allocations: 37.7 kB / 0.5805 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/0.2575, allocations: 12 kB / 0.5805 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.2587, allocations: 0.504 MB / 0.581 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.2599, allocations: 295.5 kB / 0.5812 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.2701, allocations: 8.815 MB / 0.5899 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.2717, allocations: 131.9 kB / 0.59 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/0.272, allocations: 67.92 kB / 0.59 GB, free: 3.422 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.0006941/0.2727, allocations: 289.3 kB / 0.5903 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.2731, allocations: 143.1 kB / 0.5905 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/0.2777, allocations: 2.215 MB / 0.5926 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.2777, allocations: 12 kB / 0.5926 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/0.2777, allocations: 4 kB / 0.5926 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.2778, allocations: 11.97 kB / 0.5926 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2467/0.5244, allocations: 4.714 MB / 0.5972 GB, free: 89.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.5244, allocations: 8.125 kB / 0.5973 GB, free: 89.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008019/0.5252, allocations: 197 kB / 0.5974 GB, free: 89.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.5265, allocations: 0.5217 MB / 0.598 GB, free: 89.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.677e-05/0.5266, allocations: 39.98 kB / 0.598 GB, free: 89.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006801/0.5334, allocations: 8.618 MB / 0.6064 GB, free: 82.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5334, allocations: 5.125 kB / 0.6064 GB, free: 82.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004969/0.5383, allocations: 3.255 MB / 0.6096 GB, free: 81.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.5394, allocations: 369.1 kB / 0.6099 GB, free: 81.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.5397, allocations: 33.06 kB / 0.61 GB, free: 81.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009897/0.5406, allocations: 110.7 kB / 0.6101 GB, free: 81.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/0.5409, allocations: 106.8 kB / 0.6102 GB, free: 81.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.7e-05/0.541, allocations: 43.81 kB / 0.6102 GB, free: 81.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.5422, allocations: 0.8178 MB / 0.611 GB, free: 80.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5422, allocations: 4.344 kB / 0.611 GB, free: 80.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003175/0.5454, allocations: 0.7896 MB / 0.6118 GB, free: 80.61 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.005041/0.5504, allocations: 3.899 MB / 0.6156 GB, free: 78.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008436/0.5589, allocations: 6.577 MB / 0.622 GB, free: 74.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.5589, allocations: 0 / 0.622 GB, free: 74.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003516/0.5624, allocations: 2.789 MB / 0.6248 GB, free: 71.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.5643, allocations: 392.6 kB / 0.6251 GB, free: 71.59 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.01622/0.5805, allocations: 12.56 MB / 0.6374 GB, free: 58.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/0.5821, allocations: 1.842 MB / 0.6392 GB, free: 56.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001309/0.5834, allocations: 423.5 kB / 0.6396 GB, free: 56.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009392/0.5843, allocations: 0.8586 MB / 0.6404 GB, free: 55.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5843, allocations: 0 / 0.6404 GB, free: 55.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/0.6879, allocations: 49.56 MB / 0.6888 GB, free: 6.422 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.74, allocations: 17.48 kB / 0.6889 GB, free: 6.406 MB / 446.1 MB " [Timeout remaining time 646] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.024030056316406] Failed to read output from testmodel.py, exit status != 0: 13.857844163198024 13.881427904 13.743402551 Calling exit ...