Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005574/0.005574, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.158/0.158, allocations: 8.027 MB / 298.6 MB, free: 2.418 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.89 kB / 412.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2325, allocations: 51.19 MB / 463.8 MB, free: 17.95 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.0101/0.2426, allocations: 9.718 MB / 473.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005672/0.2483, allocations: 2.711 MB / 476.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.25, allocations: 52.81 kB / 476.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.2515, allocations: 0.492 MB / 476.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.2543, allocations: 0.7118 MB / 477.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.2556, allocations: 0.5403 MB / 478 MB, free: 7.938 MB / 350.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.003155/0.2588, allocations: 2.664 MB / 480.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002414/0.2612, allocations: 2.304 MB / 483 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.263, allocations: 1.197 MB / 484.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.2649, allocations: 1.435 MB / 485.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005733/0.2655, allocations: 334 kB / 485.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009615/0.2665, allocations: 424.8 kB / 486.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006664/0.2671, allocations: 0.8683 MB / 487.2 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.2686, allocations: 1.414 MB / 488.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003474/0.272, allocations: 4.14 MB / 492.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2721, allocations: 0 / 492.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2721, allocations: 0 / 492.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.49e-05/0.2722, allocations: 1.344 kB / 492.7 MB, free: 15.09 MB / 366.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.006212/0.2784, allocations: 2.904 MB / 495.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2784, allocations: 9.938 kB / 495.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000435/0.2789, allocations: 338.2 kB / 496 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.2797, allocations: 285.6 kB / 496.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.2823, allocations: 1.428 MB / 497.7 MB, free: 11.46 MB / 366.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.0002611/0.2826, allocations: 244 kB / 497.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003476/0.283, allocations: 231.9 kB / 498.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004888/0.2879, allocations: 2.961 MB / 0.4894 GB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-05/0.2879, allocations: 8 kB / 0.4894 GB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.2881, allocations: 92 kB / 0.4895 GB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.896e-05/0.2883, allocations: 108.5 kB / 0.4896 GB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004271/0.2925, allocations: 2.376 MB / 0.4919 GB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.306, allocations: 8.698 MB / 0.5004 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.3087, allocations: 1.634 MB / 0.502 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.3104, allocations: 0.9628 MB / 0.5029 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.3106, allocations: 126 kB / 0.503 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.3119, allocations: 0.785 MB / 0.5038 GB, free: 8.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.695e-06/0.3119, allocations: 0 / 0.5038 GB, free: 8.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01511/0.327, allocations: 6.95 MB / 0.5106 GB, free: 1.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.3272, allocations: 248.3 kB / 0.5108 GB, free: 1.336 MB / 382.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.001632/0.3288, allocations: 1.195 MB / 0.512 GB, free: 132 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.618e-05/0.3289, allocations: 45.7 kB / 0.512 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008376/0.3297, allocations: 1.02 MB / 0.513 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.3301, allocations: 418 kB / 0.5134 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004258/0.3305, allocations: 259.4 kB / 0.5137 GB, free: 14.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.3306, allocations: 309.1 kB / 0.514 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.3318, allocations: 0.7153 MB / 0.5147 GB, free: 13.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.3333, allocations: 1.127 MB / 0.5158 GB, free: 12.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008648/0.342, allocations: 3.606 MB / 0.5193 GB, free: 8.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.342, allocations: 11.88 kB / 0.5193 GB, free: 8.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004375/0.3464, allocations: 2.564 MB / 0.5218 GB, free: 5.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.3464, allocations: 42.02 kB / 0.5219 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.3465, allocations: 16 kB / 0.5219 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.3477, allocations: 0.4959 MB / 0.5224 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.3488, allocations: 303.5 kB / 0.5226 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008116/0.357, allocations: 8.801 MB / 0.5312 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.3584, allocations: 131.8 kB / 0.5314 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.3586, allocations: 63.92 kB / 0.5314 GB, free: 11.23 MB / 414.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002323/0.3609, allocations: 1.277 MB / 0.5327 GB, free: 9.957 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001484/0.3624, allocations: 1.111 MB / 0.5338 GB, free: 8.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008431/0.3709, allocations: 3.528 MB / 0.5372 GB, free: 4.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.033e-05/0.3709, allocations: 3.984 kB / 0.5372 GB, free: 4.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004299/0.3752, allocations: 2.529 MB / 0.5397 GB, free: 2.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/0.3753, allocations: 33.7 kB / 0.5397 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3753, allocations: 15.98 kB / 0.5397 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.3765, allocations: 0.5033 MB / 0.5402 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.3776, allocations: 295.5 kB / 0.5405 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008261/0.3858, allocations: 8.791 MB / 0.5491 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.3874, allocations: 135.8 kB / 0.5492 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.3876, allocations: 67.98 kB / 0.5493 GB, free: 7.992 MB / 430.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real 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.0004594/0.3881, allocations: 280.2 kB / 0.5495 GB, free: 7.719 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003462/0.3885, allocations: 146.3 kB / 0.5497 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00403/0.3925, allocations: 2.219 MB / 0.5519 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.3925, allocations: 12 kB / 0.5519 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.3925, allocations: 4 kB / 0.5519 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.3926, allocations: 3.984 kB / 0.5519 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008142/0.4007, allocations: 4.74 MB / 0.5565 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.4007, allocations: 11.88 kB / 0.5565 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008567/0.4016, allocations: 195.7 kB / 0.5567 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.403, allocations: 0.5271 MB / 0.5572 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.4031, allocations: 43.97 kB / 0.5573 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00814/0.4112, allocations: 8.611 MB / 0.5657 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.4113, allocations: 7.938 kB / 0.5657 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005624/0.4169, allocations: 3.263 MB / 0.5689 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008329/0.4178, allocations: 359.3 kB / 0.5692 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003851/0.4182, allocations: 36 kB / 0.5692 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.4194, allocations: 103.9 kB / 0.5693 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.4196, allocations: 112.7 kB / 0.5694 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/0.4197, allocations: 43.97 kB / 0.5695 GB, free: 2.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001325/0.4211, allocations: 0.8146 MB / 0.5703 GB, free: 1.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4211, allocations: 0 / 0.5703 GB, free: 1.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00296/0.424, allocations: 0.7852 MB / 0.571 GB, free: 0.8047 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.005707/0.4298, allocations: 3.918 MB / 0.5749 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01028/0.4401, allocations: 6.729 MB / 0.5814 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.4401, allocations: 0 / 0.5814 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004273/0.4444, allocations: 2.845 MB / 0.5842 GB, free: 2.859 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.4465, allocations: 387.7 kB / 0.5846 GB, free: 2.484 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2044/0.6508, allocations: 12.5 MB / 0.5968 GB, free: 111.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/0.6524, allocations: 1.838 MB / 0.5986 GB, free: 110.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.6538, allocations: 424.3 kB / 0.599 GB, free: 110.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008807/0.6547, allocations: 0.8563 MB / 0.5998 GB, free: 109.6 MB / 462.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6547, allocations: 0 / 0.5998 GB, free: 109.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08586/0.7406, allocations: 49.21 MB / 0.6479 GB, free: 75.65 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.43, allocations: 11.75 kB / 0.6479 GB, free: 75.64 MB / 462.1 MB (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)