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: translateModel(EHPTlib.ElectricDrives.TestingModels.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA") translateModel(EHPTlib.ElectricDrives.TestingModels.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 195.6 kB / 16.79 MB, free: 6.809 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1563/0.1563, allocations: 8.021 MB / 298.6 MB, free: 2.453 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.89 kB / 360.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1013, allocations: 51.18 MB / 411.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.1918/0.2932, allocations: 14.81 MB / 426.6 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006877/0.3001, allocations: 3.668 MB / 430.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.3027, allocations: 84.06 kB / 430.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.3052, allocations: 0.5957 MB / 430.9 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.3093, allocations: 1.083 MB / 432 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.3114, allocations: 0.6698 MB / 432.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005372/0.3168, allocations: 5.196 MB / 437.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003336/0.3201, allocations: 2.884 MB / 440.8 MB, free: 32.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.3226, allocations: 1.741 MB / 442.5 MB, free: 31.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.3261, allocations: 2.387 MB / 444.9 MB, free: 30.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.3272, allocations: 334.2 kB / 445.2 MB, free: 30.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.329, allocations: 435.3 kB / 445.7 MB, free: 30.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.3302, allocations: 1.271 MB / 446.9 MB, free: 29.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.3328, allocations: 2.163 MB / 449.1 MB, free: 28.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00423/0.3371, allocations: 5.745 MB / 454.8 MB, free: 26.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3371, allocations: 6.969 kB / 454.8 MB, free: 26.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3371, allocations: 0 / 454.8 MB, free: 26.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001868/0.3373, allocations: 0 / 454.8 MB, free: 26.97 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.01346/0.3508, allocations: 4.603 MB / 459.4 MB, free: 24.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3508, allocations: 14.58 kB / 459.5 MB, free: 24.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.3531, allocations: 486.1 kB / 459.9 MB, free: 24.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005281/0.3584, allocations: 2.291 MB / 462.2 MB, free: 23.04 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.0004515/0.3589, allocations: 348.9 kB / 462.6 MB, free: 22.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.3603, allocations: 378.1 kB / 462.9 MB, free: 22.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.3728, allocations: 4.924 MB / 467.9 MB, free: 20.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/0.373, allocations: 14.61 kB / 467.9 MB, free: 20.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009377/0.374, allocations: 156.9 kB / 468 MB, free: 20.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.3742, allocations: 181.5 kB / 468.2 MB, free: 20.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009177/0.3834, allocations: 4.032 MB / 472.2 MB, free: 19.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02827/0.4117, allocations: 14.79 MB / 487 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/0.4153, allocations: 2.649 MB / 489.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003229/0.4185, allocations: 1.706 MB / 491.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.419, allocations: 128.4 kB / 491.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.723e-05/0.4191, allocations: 63.34 kB / 491.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 6.492e-06/0.4191, allocations: 0 / 491.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.03193/0.451, allocations: 13.28 MB / 0.493 GB, free: 9.844 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/0.4511, allocations: 124.8 kB / 0.4931 GB, free: 9.699 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.004458/0.4556, allocations: 2.303 MB / 0.4954 GB, free: 7.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004103/0.456, allocations: 61.7 kB / 0.4954 GB, free: 7.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.4574, allocations: 1.667 MB / 0.4971 GB, free: 5.613 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008866/0.4583, allocations: 0.697 MB / 0.4977 GB, free: 4.906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.4593, allocations: 428.5 kB / 0.4982 GB, free: 4.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4594, allocations: 309.1 kB / 0.4984 GB, free: 4.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.4616, allocations: 1.233 MB / 0.4997 GB, free: 2.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00262/0.4642, allocations: 1.872 MB / 0.5015 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01521/0.4795, allocations: 6.14 MB / 0.5075 GB, free: 10.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.322e-05/0.4795, allocations: 8 kB / 0.5075 GB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.008497/0.488, allocations: 4.507 MB / 0.5119 GB, free: 5.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.4881, allocations: 12 kB / 0.5119 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.648e-05/0.4881, allocations: 20 kB / 0.5119 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/0.4907, allocations: 0.993 MB / 0.5129 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.4927, allocations: 0.5031 MB / 0.5134 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.509, allocations: 16.15 MB / 0.5292 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/0.5116, allocations: 167.8 kB / 0.5293 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005232/0.5121, allocations: 104 kB / 0.5294 GB, free: 2.73 MB / 398.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.00445/0.5166, allocations: 2.2 MB / 0.5316 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002695/0.5193, allocations: 1.857 MB / 0.5334 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01483/0.5341, allocations: 6.078 MB / 0.5393 GB, free: 8.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.837e-05/0.5342, allocations: 4 kB / 0.5393 GB, free: 8.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.008699/0.5429, allocations: 4.464 MB / 0.5437 GB, free: 3.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.543, allocations: 12.62 kB / 0.5437 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/0.543, allocations: 20 kB / 0.5437 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/0.5455, allocations: 0.9936 MB / 0.5447 GB, free: 2.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.5476, allocations: 0.4952 MB / 0.5452 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.5641, allocations: 16.15 MB / 0.5609 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.5667, allocations: 167.7 kB / 0.5611 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004957/0.5673, allocations: 104 kB / 0.5612 GB, free: 468 kB / 430.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.001111/0.5684, allocations: 365 kB / 0.5615 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008754/0.5693, allocations: 253.1 kB / 0.5618 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007406/0.5767, allocations: 3.95 MB / 0.5656 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.5767, allocations: 23.94 kB / 0.5657 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.16e-05/0.5768, allocations: 12 kB / 0.5657 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.5768, allocations: 11.95 kB / 0.5657 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.5928, allocations: 8.258 MB / 0.5737 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/0.5929, allocations: 8.938 kB / 0.5738 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.5943, allocations: 327.5 kB / 0.5741 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002788/0.5971, allocations: 1.048 MB / 0.5751 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002285/0.5973, allocations: 67.95 kB / 0.5752 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1925/0.7899, allocations: 15.81 MB / 0.5906 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.7899, allocations: 9.812 kB / 0.5906 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00887/0.7988, allocations: 5.732 MB / 0.5962 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/0.8004, allocations: 0.5934 MB / 0.5968 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008146/0.8013, allocations: 57.42 kB / 0.5968 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/0.8032, allocations: 148.5 kB / 0.597 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005205/0.8038, allocations: 182.5 kB / 0.5971 GB, free: 111.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/0.804, allocations: 69.78 kB / 0.5972 GB, free: 111 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002768/0.8068, allocations: 1.512 MB / 0.5987 GB, free: 110.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.92e-07/0.8068, allocations: 2.906 kB / 0.5987 GB, free: 110.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006146/0.8129, allocations: 1.369 MB / 0.6 GB, free: 110.3 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.0005784/0.8135, allocations: 232.1 kB / 0.6003 GB, free: 110.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01756/0.8311, allocations: 10.55 MB / 0.6106 GB, free: 104.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.8312, allocations: 3.094 kB / 0.6106 GB, free: 104.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007728/0.8389, allocations: 4.495 MB / 0.615 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/0.8435, allocations: 0.6526 MB / 0.6156 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.8589, allocations: 9.328 MB / 0.6247 GB, free: 95.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/0.8616, allocations: 2.61 MB / 0.6272 GB, free: 94.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008947/0.8625, allocations: 178 kB / 0.6274 GB, free: 94.77 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.8625, allocations: 1.188 kB / 0.6274 GB, free: 94.77 MB / 446.1 MB Notification: Performance of Templates: time 0.3251/1.188, allocations: 222.6 MB / 0.8448 GB, free: 64.59 MB / 462.1 MB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.makefile make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMA.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.o OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.cpp In file included from OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.cpp:29: ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2081:30: error: use of undeclared identifier '_algLoopLinearSolver211' double* algloop211Vars = _algLoopLinearSolver211->getVariableWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2082:47: error: use of undeclared identifier '_algLoopLinearSolver211' bool* conditions0211 = _algLoopLinearSolver211->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:46: error: use of undeclared identifier '_algLoopLinearSolver211' bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2084:5: error: use of undeclared identifier '_algLoop211' _algLoop211->getReal(algloop211Vars); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2088:10: error: use of undeclared identifier '_algLoop211' _algLoop211->evaluate(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2096:16: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2104:42: error: use of undeclared identifier '_conditions1211'; did you mean 'conditions1211'? restart211 = !std::equal (_conditions1211, _conditions1211+_dimZeroFunc,_conditions0211); ^~~~~~~~~~~~~~~ conditions1211 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:29: note: 'conditions1211' declared here bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2104:59: error: use of undeclared identifier '_conditions1211'; did you mean 'conditions1211'? restart211 = !std::equal (_conditions1211, _conditions1211+_dimZeroFunc,_conditions0211); ^~~~~~~~~~~~~~~ conditions1211 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:29: note: 'conditions1211' declared here bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2104:88: error: use of undeclared identifier '_conditions0211'; did you mean 'conditions0211'? restart211 = !std::equal (_conditions1211, _conditions1211+_dimZeroFunc,_conditions0211); ^~~~~~~~~~~~~~~ conditions0211 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2082:30: note: 'conditions0211' declared here bool* conditions0211 = _algLoopLinearSolver211->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2108:13: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2121:18: error: use of undeclared identifier '_algLoop211' _algLoop211->setReal(algloop211Vars ); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2122:18: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2138:30: error: use of undeclared identifier '_algLoopLinearSolver214' double* algloop214Vars = _algLoopLinearSolver214->getVariableWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2139:47: error: use of undeclared identifier '_algLoopLinearSolver214' bool* conditions0214 = _algLoopLinearSolver214->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2140:46: error: use of undeclared identifier '_algLoopLinearSolver214' bool* conditions1214 = _algLoopLinearSolver214->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2141:5: error: use of undeclared identifier '_algLoop214' _algLoop214->getReal(algloop214Vars); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2145:10: error: use of undeclared identifier '_algLoop214' _algLoop214->evaluate(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2153:16: error: use of undeclared identifier '_algLoopNonLinearSolver214' _algLoopNonLinearSolver214->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2161:42: error: use of undeclared identifier '_conditions1214'; did you mean 'conditions1214'? restart214 = !std::equal (_conditions1214, _conditions1214+_dimZeroFunc,_conditions0214); ^~~~~~~~~~~~~~~ conditions1214 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2140:29: note: 'conditions1214' declared here bool* conditions1214 = _algLoopLinearSolver214->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.o] Error 1