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.02695/0.02695, allocations: 8.537 MB / 27.38 MB, free: 1.988 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.0008083/0.0008083, allocations: 113.4 kB / 32.64 MB, free: 5.492 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.0009551/0.0009551, allocations: 213.6 kB / 38.01 MB, free: 148 kB / 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.9448/0.9448, allocations: 230.6 MB / 273.8 MB, free: 8.652 MB / 202.7 MB " [Timeout remaining time 179] 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.01538/0.01538, allocations: 3.416 MB / 335.7 MB, free: 14.82 MB / 266.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: 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.002072/0.002072, allocations: 115.8 kB / 468.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07997/0.08204, allocations: 56.32 MB / 0.5122 GB, free: 6.922 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.1702/0.2522, allocations: 8.616 MB / 0.5206 GB, free: 15.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004402/0.2566, allocations: 2.648 MB / 0.5232 GB, free: 14.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.2578, allocations: 63.56 kB / 0.5233 GB, free: 14.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.2589, allocations: 491 kB / 0.5237 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.2607, allocations: 0.716 MB / 0.5244 GB, free: 14.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000976/0.2617, allocations: 0.546 MB / 0.525 GB, free: 13.91 MB / 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.002689/0.2643, allocations: 2.686 MB / 0.5276 GB, free: 12.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.2658, allocations: 1.273 MB / 0.5288 GB, free: 11.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.2674, allocations: 1.23 MB / 0.53 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.2694, allocations: 1.367 MB / 0.5314 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006877/0.2701, allocations: 334.7 kB / 0.5317 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.2711, allocations: 426.8 kB / 0.5321 GB, free: 10.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006759/0.2717, allocations: 0.8804 MB / 0.5329 GB, free: 10.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.2731, allocations: 1.152 MB / 0.5341 GB, free: 9.504 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004593/0.2777, allocations: 4.182 MB / 0.5381 GB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2777, allocations: 0 / 0.5381 GB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.2777, allocations: 0.7969 kB / 0.5381 GB, free: 7.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001425/0.2779, allocations: 1.062 kB / 0.5381 GB, free: 7.977 MB / 378.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.005924/0.2838, allocations: 2.911 MB / 0.541 GB, free: 6.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2838, allocations: 10.22 kB / 0.541 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004287/0.2843, allocations: 330.4 kB / 0.5413 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006768/0.2849, allocations: 309 kB / 0.5416 GB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.2871, allocations: 1.43 MB / 0.543 GB, free: 5.203 MB / 378.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.000203/0.2873, allocations: 291.1 kB / 0.5433 GB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.2877, allocations: 238.2 kB / 0.5435 GB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004003/0.2917, allocations: 3.102 MB / 0.5465 GB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-05/0.2917, allocations: 10.67 kB / 0.5466 GB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.2919, allocations: 96.25 kB / 0.5466 GB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.609e-05/0.2919, allocations: 104.7 kB / 0.5467 GB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/0.295, allocations: 2.358 MB / 0.549 GB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009886/0.3049, allocations: 7.8 MB / 0.5567 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.3066, allocations: 1.325 MB / 0.558 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.3077, allocations: 0.9074 MB / 0.5588 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.3079, allocations: 42.56 kB / 0.5589 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008857/0.3088, allocations: 0.8806 MB / 0.5597 GB, free: 10.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=104): time 2.816e-06/0.3088, allocations: 6.844 kB / 0.5598 GB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=121): time 0.009122/0.3179, allocations: 6.457 MB / 0.5661 GB, free: 5.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/0.318, allocations: 256.3 kB / 0.5663 GB, free: 5.613 MB / 394.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.001267/0.3193, allocations: 1.191 MB / 0.5675 GB, free: 4.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.726e-05/0.3194, allocations: 49.7 kB / 0.5675 GB, free: 4.355 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/0.32, allocations: 1.039 MB / 0.5685 GB, free: 3.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.3202, allocations: 444.3 kB / 0.569 GB, free: 2.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.3205, allocations: 259.5 kB / 0.5692 GB, free: 2.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.754e-05/0.3206, allocations: 305.1 kB / 0.5695 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007879/0.3213, allocations: 0.7443 MB / 0.5702 GB, free: 1.551 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000965/0.3223, allocations: 1.295 MB / 0.5715 GB, free: 40 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/0.3269, allocations: 3.555 MB / 0.575 GB, free: 12.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.327, allocations: 4 kB / 0.575 GB, free: 12.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002858/0.3298, allocations: 2.503 MB / 0.5774 GB, free: 9.773 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.3298, allocations: 37.7 kB / 0.5774 GB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.3299, allocations: 8.312 kB / 0.5774 GB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006887/0.3306, allocations: 0.4999 MB / 0.5779 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/0.3312, allocations: 307.5 kB / 0.5782 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/0.3363, allocations: 8.344 MB / 0.5864 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.3375, allocations: 131.9 kB / 0.5865 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.3376, allocations: 67.88 kB / 0.5866 GB, free: 15.93 MB / 426.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.001699/0.3393, allocations: 1.298 MB / 0.5878 GB, free: 14.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009519/0.3402, allocations: 1.271 MB / 0.5891 GB, free: 13.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004446/0.3447, allocations: 3.494 MB / 0.5925 GB, free: 9.477 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.626e-06/0.3447, allocations: 4 kB / 0.5925 GB, free: 9.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002719/0.3474, allocations: 2.452 MB / 0.5949 GB, free: 6.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.3474, allocations: 41.69 kB / 0.5949 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3474, allocations: 12.16 kB / 0.5949 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006479/0.3481, allocations: 0.5072 MB / 0.5954 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.3487, allocations: 295.5 kB / 0.5957 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004826/0.3535, allocations: 8.334 MB / 0.6039 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.3546, allocations: 135.9 kB / 0.604 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.3547, allocations: 56 kB / 0.604 GB, free: 13.15 MB / 442.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.0003433/0.355, allocations: 304 kB / 0.6043 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.3552, allocations: 151.1 kB / 0.6045 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.3576, allocations: 2.113 MB / 0.6065 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3576, allocations: 19.94 kB / 0.6066 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.3577, allocations: 4 kB / 0.6066 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3577, allocations: 11.97 kB / 0.6066 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/0.3628, allocations: 4.365 MB / 0.6108 GB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3628, allocations: 4 kB / 0.6108 GB, free: 6.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.3633, allocations: 204.2 kB / 0.611 GB, free: 5.844 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007376/0.364, allocations: 0.5192 MB / 0.6115 GB, free: 5.309 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.129e-05/0.3641, allocations: 43.97 kB / 0.6116 GB, free: 5.266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004664/0.3687, allocations: 8.155 MB / 0.6195 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3687, allocations: 7.938 kB / 0.6195 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/0.3723, allocations: 3.176 MB / 0.6227 GB, free: 9.391 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/0.373, allocations: 298.9 kB / 0.6229 GB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.3732, allocations: 28 kB / 0.623 GB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.3737, allocations: 107.9 kB / 0.6231 GB, free: 8.965 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.3739, allocations: 116.7 kB / 0.6232 GB, free: 8.852 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.3739, allocations: 35.98 kB / 0.6232 GB, free: 8.816 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008417/0.3748, allocations: 0.8107 MB / 0.624 GB, free: 8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3748, allocations: 0 / 0.624 GB, free: 8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0019/0.3767, allocations: 0.7773 MB / 0.6248 GB, free: 7.223 MB / 458.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.003469/0.3801, allocations: 3.813 MB / 0.6285 GB, free: 3.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005636/0.3858, allocations: 6.41 MB / 0.6347 GB, free: 12.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.3858, allocations: 0 / 0.6347 GB, free: 12.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.388, allocations: 2.688 MB / 0.6374 GB, free: 9.914 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.3893, allocations: 403.9 kB / 0.6378 GB, free: 9.535 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.4035, allocations: 12.52 MB / 0.65 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.4046, allocations: 1.267 MB / 0.6512 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009145/0.4055, allocations: 423.9 kB / 0.6516 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007255/0.4062, allocations: 0.8547 MB / 0.6525 GB, free: 9.941 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4062, allocations: 0 / 0.6525 GB, free: 9.941 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/0.5367, allocations: 52.3 MB / 0.7035 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.375, allocations: 8.047 kB / 0.7035 GB, free: 6.125 MB / 0.5261 GB " [Timeout remaining time 651] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-cvode.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-euler.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_fmpy_res.csv --start-time 0 --stop-time 12 --timeout 240 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ../EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu) > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 11.546936242841184]