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.0329/0.0329, allocations: 6.473 MB / 25.56 MB, free: 3.578 MB / 18.57 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.0008267/0.0008267, allocations: 87.22 kB / 30.8 MB, free: 4.961 MB / 24.77 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.0009678/0.0009678, allocations: 156.4 kB / 36.13 MB, free: 6.82 MB / 24.77 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 0.9177/0.9177, allocations: 177.1 MB / 218.5 MB, free: 13.59 MB / 202.7 MB " [Timeout remaining time 179] 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.01253/0.01253, allocations: 2.507 MB / 279.5 MB, free: 0.5117 MB / 250.7 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.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_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 3.136e-06/3.136e-06, allocations: 0 / 408.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.837e-05, allocations: 2.281 kB / 408.8 MB, free: 13.56 MB / 378.7 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.008266/0.008294, allocations: 8.645 MB / 417.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005528/0.01382, allocations: 2.649 MB / 420.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009356/0.01476, allocations: 67.56 kB / 420.2 MB, free: 2.148 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009901/0.01575, allocations: 0.4885 MB / 420.6 MB, free: 1.656 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.01723, allocations: 0.7369 MB / 421.4 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008425/0.01807, allocations: 0.546 MB / 421.9 MB, free: 376 kB / 378.7 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.002126/0.0202, allocations: 2.762 MB / 424.7 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.02149, allocations: 1.277 MB / 426 MB, free: 12.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.02347, allocations: 1.809 MB / 427.8 MB, free: 10.44 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.02468, allocations: 1.216 MB / 429 MB, free: 9.219 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.02496, allocations: 336 kB / 429.3 MB, free: 8.891 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.02544, allocations: 427.8 kB / 429.7 MB, free: 8.473 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005614/0.02601, allocations: 0.892 MB / 430.6 MB, free: 7.578 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007635/0.02677, allocations: 0.99 MB / 431.6 MB, free: 6.586 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002806/0.02958, allocations: 4.23 MB / 435.9 MB, free: 2.344 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.02958, allocations: 0 / 435.9 MB, free: 2.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.02958, allocations: 4 kB / 435.9 MB, free: 2.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.385e-05/0.02961, allocations: 0 / 435.9 MB, free: 2.34 MB / 394.7 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.0036/0.03321, allocations: 2.875 MB / 438.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.03327, allocations: 12.03 kB / 438.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002956/0.03356, allocations: 337.5 kB / 439.1 MB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005551/0.03412, allocations: 311.2 kB / 439.4 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.03588, allocations: 1.421 MB / 440.8 MB, free: 13.3 MB / 410.7 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.0002181/0.0361, allocations: 297.2 kB / 441.1 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.03633, allocations: 232 kB / 441.3 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/0.03971, allocations: 3.104 MB / 444.4 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.64e-05/0.03975, allocations: 7.953 kB / 444.4 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.03991, allocations: 103.9 kB / 444.5 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.607e-05/0.04001, allocations: 112.5 kB / 444.6 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00299/0.043, allocations: 2.352 MB / 447 MB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2437/0.2867, allocations: 7.803 MB / 454.8 MB, free: 81.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.2886, allocations: 1.328 MB / 456.1 MB, free: 81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.2897, allocations: 0.8938 MB / 457 MB, free: 80.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.2899, allocations: 48.08 kB / 457.1 MB, free: 80.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000843/0.2907, allocations: 0.8818 MB / 457.9 MB, free: 80.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 3.697e-06/0.2907, allocations: 2.312 kB / 457.9 MB, free: 80.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.009035/0.2998, allocations: 6.454 MB / 464.4 MB, free: 78.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/0.2998, allocations: 252.8 kB / 464.6 MB, free: 78.04 MB / 410.7 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.001325/0.3012, allocations: 1.194 MB / 465.8 MB, free: 77.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/0.3012, allocations: 51.58 kB / 465.9 MB, free: 77.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006865/0.3019, allocations: 1.046 MB / 466.9 MB, free: 76.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.3022, allocations: 428.1 kB / 467.4 MB, free: 76.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.3024, allocations: 264 kB / 467.6 MB, free: 76.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.698e-05/0.3025, allocations: 305.1 kB / 467.9 MB, free: 76.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007858/0.3033, allocations: 0.741 MB / 468.7 MB, free: 75.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009853/0.3043, allocations: 1.298 MB / 470 MB, free: 74.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004611/0.3089, allocations: 3.556 MB / 473.5 MB, free: 73.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.3089, allocations: 2.969 kB / 473.5 MB, free: 73.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002679/0.3116, allocations: 2.5 MB / 476 MB, free: 72.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.3116, allocations: 37.95 kB / 476 MB, free: 72.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.3116, allocations: 13.53 kB / 476.1 MB, free: 72.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006982/0.3123, allocations: 0.4994 MB / 476.6 MB, free: 72.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.3129, allocations: 304.4 kB / 476.9 MB, free: 72.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004702/0.3176, allocations: 8.339 MB / 485.2 MB, free: 65.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008377/0.3185, allocations: 139.4 kB / 485.3 MB, free: 65.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-05/0.3185, allocations: 61.25 kB / 485.4 MB, free: 65.54 MB / 410.7 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.001903/0.3205, allocations: 1.295 MB / 486.7 MB, free: 64.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009518/0.3214, allocations: 1.271 MB / 488 MB, free: 64.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004668/0.3261, allocations: 3.494 MB / 491.5 MB, free: 62.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.147e-06/0.3261, allocations: 2.719 kB / 491.5 MB, free: 62.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003219/0.3293, allocations: 2.454 MB / 493.9 MB, free: 61.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.3293, allocations: 36.02 kB / 493.9 MB, free: 61.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.3294, allocations: 11.5 kB / 494 MB, free: 61.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007595/0.3301, allocations: 0.499 MB / 494.5 MB, free: 61.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/0.3308, allocations: 296.1 kB / 494.7 MB, free: 61.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006098/0.3368, allocations: 8.333 MB / 0.4913 GB, free: 54.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.338, allocations: 140.1 kB / 0.4914 GB, free: 54.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.3381, allocations: 61.41 kB / 0.4915 GB, free: 54.68 MB / 410.7 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.0005433/0.3386, allocations: 301.7 kB / 0.4918 GB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.3389, allocations: 148.4 kB / 0.4919 GB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.3422, allocations: 2.127 MB / 0.494 GB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.3422, allocations: 15.59 kB / 0.494 GB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.3422, allocations: 5.188 kB / 0.494 GB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.3422, allocations: 6.562 kB / 0.494 GB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/0.3489, allocations: 4.352 MB / 0.4983 GB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.3489, allocations: 3.469 kB / 0.4983 GB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.3495, allocations: 199.6 kB / 0.4985 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.3506, allocations: 0.5261 MB / 0.499 GB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.874e-05/0.3507, allocations: 35.41 kB / 0.499 GB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.3563, allocations: 8.162 MB / 0.507 GB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.3563, allocations: 7.5 kB / 0.507 GB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003666/0.3599, allocations: 3.159 MB / 0.5101 GB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/0.3604, allocations: 292.4 kB / 0.5103 GB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.3605, allocations: 40.94 kB / 0.5104 GB, free: 43.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/0.361, allocations: 102 kB / 0.5105 GB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/0.3613, allocations: 117.8 kB / 0.5106 GB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.3614, allocations: 40.78 kB / 0.5106 GB, free: 43.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009244/0.3623, allocations: 0.8009 MB / 0.5114 GB, free: 42.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3623, allocations: 0 / 0.5114 GB, free: 42.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002151/0.3645, allocations: 0.7858 MB / 0.5122 GB, free: 41.58 MB / 410.7 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.003651/0.3681, allocations: 3.801 MB / 0.5159 GB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005604/0.3737, allocations: 6.411 MB / 0.5222 GB, free: 32.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3737, allocations: 3.938 kB / 0.5222 GB, free: 32.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.3757, allocations: 2.684 MB / 0.5248 GB, free: 29.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.3769, allocations: 402.4 kB / 0.5252 GB, free: 29.25 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.3898, allocations: 12.32 MB / 0.5372 GB, free: 16.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009377/0.3907, allocations: 1.271 MB / 0.5384 GB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008679/0.3916, allocations: 416 kB / 0.5388 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/0.3922, allocations: 0.8635 MB / 0.5397 GB, free: 14.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.304e-06/0.3922, allocations: 0 / 0.5397 GB, free: 14.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08316/0.4754, allocations: 52.2 MB / 0.5906 GB, free: 10.48 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.86/9.335, allocations: 8 kB / 0.5907 GB, free: 10.47 MB / 458.7 MB " [Timeout remaining time 651] (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: 11.452962276525795] Failed to read output from testmodel.py, exit status != 0: 9.440287224017084 9.449402148999999 9.417920043 Calling exit ...