Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0667/0.0667, allocations: 8.038 MB / 23.16 MB, free: 0.5312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.0009473, allocations: 107.7 kB / 25.72 MB, free: 3.586 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 197.9 kB / 28.4 MB, free: 0.9141 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 253.8 MB, free: 5.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01684/0.01684, allocations: 3.115 MB / 308.8 MB, free: 2.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 91.84 kB / 373 MB, free: 2.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2745, allocations: 51.98 MB / 425 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.008506/0.2831, allocations: 9.067 MB / 434.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005111/0.2883, allocations: 2.607 MB / 436.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.2895, allocations: 43.81 kB / 436.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.2906, allocations: 401.5 kB / 437.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.2921, allocations: 0.5827 MB / 437.7 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.2931, allocations: 449.3 kB / 438.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.2951, allocations: 2.753 MB / 440.9 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.2967, allocations: 1.764 MB / 442.7 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.2978, allocations: 0.9573 MB / 443.6 MB, free: 2.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.2989, allocations: 1.268 MB / 444.9 MB, free: 1.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002449/0.2992, allocations: 180 kB / 445.1 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/0.2998, allocations: 287.8 kB / 445.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005174/0.3003, allocations: 0.6698 MB / 446 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.3014, allocations: 1.17 MB / 447.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003486/0.3049, allocations: 3.587 MB / 450.8 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3049, allocations: 0 / 450.8 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.305, allocations: 0 / 450.8 MB, free: 11.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.911e-05/0.305, allocations: 7.938 kB / 450.8 MB, free: 11.77 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.005627/0.3107, allocations: 2.705 MB / 453.5 MB, free: 8.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.3107, allocations: 15.97 kB / 453.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003848/0.3111, allocations: 299.8 kB / 453.8 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007987/0.3119, allocations: 270 kB / 454 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.314, allocations: 1.294 MB / 455.3 MB, free: 7.07 MB / 318.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.000264/0.3142, allocations: 215.5 kB / 455.5 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.3146, allocations: 215.9 kB / 455.8 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004956/0.3195, allocations: 2.715 MB / 458.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.726e-05/0.3196, allocations: 7.906 kB / 458.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.3198, allocations: 84 kB / 458.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.32, allocations: 100 kB / 458.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004264/0.3242, allocations: 2.225 MB / 460.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/0.3382, allocations: 8.016 MB / 468.9 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.341, allocations: 1.605 MB / 470.5 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.3428, allocations: 0.9479 MB / 471.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/0.343, allocations: 130 kB / 471.6 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.3445, allocations: 0.7811 MB / 472.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 3.367e-06/0.3445, allocations: 0 / 472.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01502/0.3596, allocations: 6.646 MB / 479 MB, free: 14.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.3597, allocations: 248.3 kB / 479.3 MB, free: 14.47 MB / 350.1 MB [/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. [/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.0) 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: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:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.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=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) 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. [/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/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:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) 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.0) 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: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: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: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.0) 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/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.3616, allocations: 1.199 MB / 480.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.3617, allocations: 53.7 kB / 480.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008364/0.3625, allocations: 0.9231 MB / 481.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/0.3629, allocations: 422.1 kB / 481.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/0.3634, allocations: 247.4 kB / 482.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3635, allocations: 365.9 kB / 482.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.3648, allocations: 0.7113 MB / 483.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.3663, allocations: 1.1 MB / 484.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008853/0.3752, allocations: 3.595 MB / 487.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.3752, allocations: 7.938 kB / 487.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004569/0.3798, allocations: 2.517 MB / 490.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.3799, allocations: 41.69 kB / 490.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.3799, allocations: 8 kB / 490.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.3812, allocations: 0.5 MB / 490.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.3823, allocations: 291.5 kB / 491.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00833/0.3906, allocations: 8.077 MB / 499.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.3924, allocations: 139.6 kB / 499.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.3926, allocations: 60.05 kB / 499.5 MB, free: 9.277 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002386/0.395, allocations: 1.23 MB / 0.489 GB, free: 8.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001461/0.3965, allocations: 1.076 MB / 0.49 GB, free: 6.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008489/0.405, allocations: 3.513 MB / 0.4934 GB, free: 3.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.264e-05/0.405, allocations: 4 kB / 0.4935 GB, free: 3.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004705/0.4097, allocations: 2.486 MB / 0.4959 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.4098, allocations: 41.69 kB / 0.4959 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.4098, allocations: 8 kB / 0.4959 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.411, allocations: 0.4964 MB / 0.4964 GB, free: 36 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.412, allocations: 287.5 kB / 0.4967 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007768/0.4198, allocations: 8.079 MB / 0.5046 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.4215, allocations: 143.8 kB / 0.5047 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.4217, allocations: 59.98 kB / 0.5048 GB, free: 6.945 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 143 * 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.0006148/0.4223, allocations: 294.6 kB / 0.5051 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.4226, allocations: 130.4 kB / 0.5052 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/0.4268, allocations: 2.203 MB / 0.5073 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4268, allocations: 12 kB / 0.5073 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4268, allocations: 8 kB / 0.5073 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.4268, allocations: 3.984 kB / 0.5074 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.224/0.6508, allocations: 4.635 MB / 0.5119 GB, free: 84.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/0.6509, allocations: 8 kB / 0.5119 GB, free: 84.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.652, allocations: 199.5 kB / 0.5121 GB, free: 84.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.6538, allocations: 0.5243 MB / 0.5126 GB, free: 84.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.654, allocations: 33.64 kB / 0.5126 GB, free: 84.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007298/0.6613, allocations: 7.899 MB / 0.5203 GB, free: 79.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.6613, allocations: 11.97 kB / 0.5203 GB, free: 79.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005167/0.6665, allocations: 3.239 MB / 0.5235 GB, free: 77.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006363/0.6671, allocations: 366.2 kB / 0.5239 GB, free: 77.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.6673, allocations: 35.72 kB / 0.5239 GB, free: 77.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009163/0.6683, allocations: 105.7 kB / 0.524 GB, free: 77.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/0.6686, allocations: 114.2 kB / 0.5241 GB, free: 77.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/0.6687, allocations: 36.66 kB / 0.5241 GB, free: 77.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001544/0.6703, allocations: 0.7965 MB / 0.5249 GB, free: 77.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6703, allocations: 3.938 kB / 0.5249 GB, free: 77.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002819/0.6731, allocations: 0.7516 MB / 0.5257 GB, free: 77.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * 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.004787/0.6779, allocations: 3.879 MB / 0.5294 GB, free: 75.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008528/0.6864, allocations: 6.686 MB / 0.536 GB, free: 70.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.6865, allocations: 0 / 0.536 GB, free: 70.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003739/0.6902, allocations: 2.849 MB / 0.5388 GB, free: 68.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.6922, allocations: 357.2 kB / 0.5391 GB, free: 67.93 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1941:3-1941:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/0.711, allocations: 13.75 MB / 0.5525 GB, free: 53.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.7121, allocations: 1.746 MB / 0.5542 GB, free: 51.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001336/0.7134, allocations: 424 kB / 0.5546 GB, free: 51.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007799/0.7142, allocations: 0.7878 MB / 0.5554 GB, free: 50.71 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.7142, allocations: 0 / 0.5554 GB, free: 50.71 MB / 382.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal).