Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.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.StartASMA,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.StartASMA,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_StartASMA",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.0011/0.0011, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001137/0.001137, allocations: 191.2 kB / 16.25 MB, free: 6.617 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.219/1.219, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1411/0.1411, allocations: 8.032 MB / 298.1 MB, free: 2.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 63.89 kB / 360.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0824/0.08352, allocations: 51.2 MB / 411.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.1534/0.237, allocations: 14.8 MB / 426.2 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00514/0.2422, allocations: 3.658 MB / 429.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.2435, allocations: 78.53 kB / 430 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.2449, allocations: 0.601 MB / 430.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.2473, allocations: 1.075 MB / 431.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.2484, allocations: 0.6652 MB / 432.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003219/0.2516, allocations: 4.521 MB / 436.8 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/0.2543, allocations: 3.477 MB / 440.3 MB, free: 32.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.256, allocations: 2.014 MB / 442.3 MB, free: 31.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.258, allocations: 2.54 MB / 444.9 MB, free: 29.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005027/0.2586, allocations: 0.5373 MB / 445.4 MB, free: 29.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008202/0.2594, allocations: 0.6208 MB / 446 MB, free: 29.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008107/0.2602, allocations: 1.489 MB / 447.5 MB, free: 29.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.2618, allocations: 2.4 MB / 449.9 MB, free: 27.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.2656, allocations: 6.902 MB / 456.8 MB, free: 25.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2656, allocations: 4 kB / 456.8 MB, free: 25.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2656, allocations: 0 / 456.8 MB, free: 25.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.825e-05/0.2657, allocations: 0 / 456.8 MB, free: 25.13 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 978 * Number of variables: 978 Notification: Performance of Generate backend data structure: time 0.006918/0.2726, allocations: 4.609 MB / 461.4 MB, free: 22.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2727, allocations: 6.594 kB / 461.4 MB, free: 22.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005082/0.2732, allocations: 0.5246 MB / 462 MB, free: 22.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.2742, allocations: 486.8 kB / 462.4 MB, free: 22.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.2773, allocations: 2.283 MB / 464.7 MB, free: 20.86 MB / 350.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.0002981/0.2777, allocations: 347.8 kB / 465.1 MB, free: 20.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004764/0.2781, allocations: 380.7 kB / 465.4 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007547/0.2857, allocations: 4.929 MB / 470.4 MB, free: 18.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.565e-05/0.2858, allocations: 10.44 kB / 470.4 MB, free: 18.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/0.2861, allocations: 157.1 kB / 470.5 MB, free: 18.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/0.2863, allocations: 182.1 kB / 470.7 MB, free: 18.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006145/0.2924, allocations: 4.035 MB / 474.7 MB, free: 16.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01864/0.3111, allocations: 14.79 MB / 489.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.314, allocations: 2.642 MB / 492.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/0.3162, allocations: 1.697 MB / 493.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.3165, allocations: 135 kB / 494 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3165, allocations: 56.5 kB / 494 MB, free: 4.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.617e-06/0.3165, allocations: 0 / 494 MB, free: 4.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.0275/0.344, allocations: 13.28 MB / 0.4954 GB, free: 6.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.3441, allocations: 124.8 kB / 0.4956 GB, free: 6.602 MB / 366.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 aimc0.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 aimc0.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 aimc0.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 aimc0.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 aimc0.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc0.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 aimc0.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc0.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 aimc0.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 aimc0.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 aimc0.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 aimc0.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc0.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 aimc0.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 aimc0.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 aimc0.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 aimc0.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 aimc0.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 aimc0.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/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/0.3471, allocations: 2.303 MB / 0.4978 GB, free: 4.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.3472, allocations: 65.7 kB / 0.4979 GB, free: 4.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.3482, allocations: 1.667 MB / 0.4995 GB, free: 2.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004957/0.3487, allocations: 0.6971 MB / 0.5002 GB, free: 1.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006365/0.3494, allocations: 436.4 kB / 0.5006 GB, free: 1.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.3495, allocations: 301.1 kB / 0.5009 GB, free: 1.074 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.3513, allocations: 1.225 MB / 0.5021 GB, free: 15.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.3534, allocations: 1.88 MB / 0.5039 GB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/0.3665, allocations: 6.179 MB / 0.5099 GB, free: 7.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.3665, allocations: 4 kB / 0.51 GB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.006792/0.3733, allocations: 4.507 MB / 0.5144 GB, free: 2.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.3734, allocations: 16 kB / 0.5144 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.3734, allocations: 20 kB / 0.5144 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/0.3756, allocations: 0.9964 MB / 0.5154 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.3772, allocations: 0.4992 MB / 0.5158 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/0.3927, allocations: 17.6 MB / 0.533 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.3949, allocations: 171.7 kB / 0.5332 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.3952, allocations: 104 kB / 0.5333 GB, free: 14.09 MB / 414.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" 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] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.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.003394/0.3986, allocations: 2.19 MB / 0.5354 GB, free: 11.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002099/0.4007, allocations: 1.849 MB / 0.5372 GB, free: 9.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0131/0.4138, allocations: 6.121 MB / 0.5432 GB, free: 3.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-05/0.4138, allocations: 7.938 kB / 0.5432 GB, free: 3.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.007137/0.421, allocations: 4.449 MB / 0.5476 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.421, allocations: 12 kB / 0.5476 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.421, allocations: 24 kB / 0.5476 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/0.4232, allocations: 0.9919 MB / 0.5486 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.4249, allocations: 0.4991 MB / 0.5491 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/0.4409, allocations: 17.6 MB / 0.5663 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.4431, allocations: 159.8 kB / 0.5664 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.4433, allocations: 95.98 kB / 0.5665 GB, free: 10.32 MB / 446.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" 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] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.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: 87 * Number of states: 0 () * Number of discrete variables: 4 (logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,actuator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 8 systems {(2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%), (2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006068/0.4439, allocations: 372.7 kB / 0.5669 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/0.4443, allocations: 256.9 kB / 0.5671 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00629/0.4506, allocations: 3.954 MB / 0.571 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.4507, allocations: 23.94 kB / 0.571 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.4507, allocations: 8 kB / 0.571 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.4507, allocations: 7.969 kB / 0.571 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1503/0.601, allocations: 8.265 MB / 0.5791 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.6011, allocations: 10.19 kB / 0.5791 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.6022, allocations: 330.7 kB / 0.5794 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/0.6044, allocations: 1.044 MB / 0.5804 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.6046, allocations: 64.58 kB / 0.5805 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.6155, allocations: 17.23 MB / 0.5973 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.6155, allocations: 13.56 kB / 0.5973 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007279/0.6228, allocations: 5.737 MB / 0.6029 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.624, allocations: 0.5859 MB / 0.6035 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/0.6244, allocations: 57.25 kB / 0.6035 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.6258, allocations: 147.9 kB / 0.6037 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/0.6263, allocations: 188.1 kB / 0.6039 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.6264, allocations: 70.98 kB / 0.6039 GB, free: 106.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001865/0.6283, allocations: 1.509 MB / 0.6054 GB, free: 106 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6283, allocations: 0 / 0.6054 GB, free: 106 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004084/0.6324, allocations: 1.375 MB / 0.6068 GB, free: 105.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (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.007604/0.64, allocations: 6.42 MB / 0.613 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01589/0.6559, allocations: 11.32 MB / 0.6241 GB, free: 96.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.6559, allocations: 2.25 kB / 0.6241 GB, free: 96.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005567/0.6615, allocations: 4.262 MB / 0.6282 GB, free: 93.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/0.6647, allocations: 0.6866 MB / 0.6289 GB, free: 93.69 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1962:3-1962:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/0.6987, allocations: 26.76 MB / 0.655 GB, free: 74.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.7004, allocations: 2.689 MB / 0.6577 GB, free: 72.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002081/0.7025, allocations: 0.768 MB / 0.6584 GB, free: 71.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/0.7038, allocations: 1.455 MB / 0.6598 GB, free: 70.38 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.7038, allocations: 7.938 kB / 0.6599 GB, free: 70.38 MB / 446.1 MB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc0.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc0.fsNominal).