Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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 main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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_main_EHPTlib.ElectricDrives.TestingModels.StartASMA") translateModel(EHPTlib.ElectricDrives.TestingModels.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_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.0008621/0.0008618, allocations: 100.1 kB / 15.71 MB, free: 448 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.0009491/0.0009491, allocations: 172.9 kB / 16.59 MB, free: 6.422 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.611/1.611, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1865/0.1865, allocations: 8.618 MB / 300.3 MB, free: 3.156 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 363.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1141, allocations: 52.31 MB / 415.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.241/0.3551, allocations: 13.24 MB / 428.7 MB, free: 35.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008065/0.3633, allocations: 3.555 MB / 432.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.3656, allocations: 76 kB / 432.3 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.367, allocations: 0.5436 MB / 432.9 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.3705, allocations: 1.032 MB / 433.9 MB, free: 34.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.3722, allocations: 484.7 kB / 434.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005491/0.3777, allocations: 4.675 MB / 439.1 MB, free: 33.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.3809, allocations: 2.453 MB / 441.5 MB, free: 32.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.3838, allocations: 1.492 MB / 443 MB, free: 31.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003876/0.3877, allocations: 2.03 MB / 445 MB, free: 30.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006683/0.3883, allocations: 236.7 kB / 445.3 MB, free: 30.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.3895, allocations: 295.4 kB / 445.6 MB, free: 30.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009922/0.3905, allocations: 1.106 MB / 446.7 MB, free: 30.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.3917, allocations: 0.8072 MB / 447.5 MB, free: 29.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004713/0.3965, allocations: 5.589 MB / 453.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3965, allocations: 0 / 453.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3965, allocations: 0.75 kB / 453.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001807/0.3967, allocations: 0 / 453.1 MB, free: 28.89 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.008234/0.4049, allocations: 3.931 MB / 457 MB, free: 26.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.405, allocations: 10.91 kB / 457 MB, free: 26.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.407, allocations: 493.4 kB / 457.5 MB, free: 26.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004513/0.4115, allocations: 2.222 MB / 459.7 MB, free: 25.52 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.0003318/0.4119, allocations: 346 kB / 460 MB, free: 25.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006316/0.4125, allocations: 377.5 kB / 460.4 MB, free: 25.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.4252, allocations: 4.918 MB / 465.3 MB, free: 23.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.4255, allocations: 13.7 kB / 465.3 MB, free: 23.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/0.4259, allocations: 155.4 kB / 465.5 MB, free: 23.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003717/0.4263, allocations: 183.7 kB / 465.7 MB, free: 23.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.4366, allocations: 4.046 MB / 469.7 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02444/0.4611, allocations: 14.86 MB / 484.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/0.4648, allocations: 2.669 MB / 487.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/0.4673, allocations: 1.723 MB / 489 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.4676, allocations: 132.2 kB / 489.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.4677, allocations: 50.22 kB / 489.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.847e-06/0.4677, allocations: 4 kB / 489.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.02672/0.4944, allocations: 13.57 MB / 0.4909 GB, free: 13.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.4945, allocations: 124.8 kB / 0.4911 GB, free: 12.95 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.00384/0.4984, allocations: 2.283 MB / 0.4933 GB, free: 10.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003021/0.4987, allocations: 61.7 kB / 0.4934 GB, free: 10.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.5002, allocations: 1.673 MB / 0.495 GB, free: 8.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009449/0.5012, allocations: 0.7 MB / 0.4957 GB, free: 8.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.5013, allocations: 44 kB / 0.4957 GB, free: 8.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002572/0.5016, allocations: 402.8 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/0.5038, allocations: 1.227 MB / 0.4973 GB, free: 6.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.5063, allocations: 1.876 MB / 0.4991 GB, free: 4.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.5086, allocations: 1.523 MB / 0.5006 GB, free: 2.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.5086, allocations: 8 kB / 0.5006 GB, free: 2.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.007582/0.5162, allocations: 4.51 MB / 0.505 GB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006757/0.5169, allocations: 0.6559 MB / 0.5057 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/0.517, allocations: 20 kB / 0.5057 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/0.5193, allocations: 1.006 MB / 0.5067 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.5211, allocations: 0.5031 MB / 0.5072 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/0.5366, allocations: 16.16 MB / 0.5229 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/0.5392, allocations: 183.8 kB / 0.5231 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005137/0.5397, allocations: 104 kB / 0.5232 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.5397, allocations: 4 kB / 0.5232 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007354/0.5471, allocations: 4.212 MB / 0.5273 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/0.5472, allocations: 22.16 kB / 0.5274 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/0.5493, allocations: 1.001 MB / 0.5283 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.5511, allocations: 0.4953 MB / 0.5288 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.5661, allocations: 16.13 MB / 0.5446 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/0.5685, allocations: 179.8 kB / 0.5447 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000438/0.569, allocations: 99.98 kB / 0.5448 GB, free: 2.98 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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 4 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,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 (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002792/0.5718, allocations: 1.215 MB / 0.546 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000703/0.5725, allocations: 248.9 kB / 0.5463 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006638/0.5792, allocations: 3.971 MB / 0.5501 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.5792, allocations: 20 kB / 0.5502 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.16e-05/0.5792, allocations: 8 kB / 0.5502 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.5793, allocations: 15.91 kB / 0.5502 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.5952, allocations: 8.284 MB / 0.5583 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.5953, allocations: 4.938 kB / 0.5583 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.5965, allocations: 331.5 kB / 0.5586 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/0.599, allocations: 1.046 MB / 0.5596 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/0.5992, allocations: 59.97 kB / 0.5597 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/0.6138, allocations: 15.82 MB / 0.5751 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.6139, allocations: 8 kB / 0.5751 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2287/0.8425, allocations: 5.766 MB / 0.5808 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.8439, allocations: 0.5843 MB / 0.5813 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000328/0.8442, allocations: 58.67 kB / 0.5814 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.8455, allocations: 166.2 kB / 0.5815 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/0.8458, allocations: 186.9 kB / 0.5817 GB, free: 115.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.846, allocations: 70.92 kB / 0.5818 GB, free: 115.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001992/0.848, allocations: 1.502 MB / 0.5833 GB, free: 115.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.848, allocations: 0 / 0.5833 GB, free: 115.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00376/0.8517, allocations: 1.366 MB / 0.5846 GB, free: 115.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003182/0.8521, allocations: 190.3 kB / 0.5848 GB, free: 115.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01456/0.8666, allocations: 10.6 MB / 0.5951 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.8667, allocations: 0 / 0.5951 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006455/0.8731, allocations: 4.511 MB / 0.5995 GB, free: 108.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/0.8763, allocations: 0.6666 MB / 0.6002 GB, free: 108.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.8875, allocations: 9.148 MB / 0.6091 GB, free: 103.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002582/0.8901, allocations: 2.603 MB / 0.6117 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000877/0.891, allocations: 180.2 kB / 0.6118 GB, free: 102.6 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.891, allocations: 0 / 0.6118 GB, free: 102.6 MB / 446.1 MB Notification: Performance of Templates: time 0.3714/1.262, allocations: 222.1 MB / 0.8287 GB, free: 100 MB / 478.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMA.makefile make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMA.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.o OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.o] Error 1