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.00122/0.00122, allocations: 112.3 kB / 15.99 MB, free: 6.359 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.001176/0.001176, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.431/1.431, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04722/0.04722, allocations: 8.567 MB / 299.3 MB, free: 6.523 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002027, allocations: 67.84 kB / 361.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2841, allocations: 51.38 MB / 412.9 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.0119/0.2961, allocations: 14.81 MB / 427.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008349/0.3045, allocations: 3.659 MB / 431.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/0.3078, allocations: 87.56 kB / 431.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.3108, allocations: 0.6018 MB / 432.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.3167, allocations: 1.076 MB / 433.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.3187, allocations: 0.6672 MB / 433.8 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005493/0.3242, allocations: 4.519 MB / 438.3 MB, free: 56 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005239/0.3295, allocations: 3.479 MB / 441.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005029/0.3346, allocations: 2.013 MB / 443.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005178/0.3398, allocations: 2.538 MB / 446.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001527/0.3414, allocations: 0.5352 MB / 446.9 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.3433, allocations: 0.6248 MB / 447.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.3451, allocations: 1.488 MB / 449 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00484/0.35, allocations: 2.4 MB / 451.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0077/0.3577, allocations: 5.799 MB / 457.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3578, allocations: 0 / 457.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3578, allocations: 4 kB / 457.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002205/0.358, allocations: 3.984 kB / 457.2 MB, free: 13.05 MB / 334.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.0131/0.3711, allocations: 4.607 MB / 461.8 MB, free: 8.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/0.3712, allocations: 15.83 kB / 461.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.3727, allocations: 483.6 kB / 462.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004519/0.3772, allocations: 2.291 MB / 464.6 MB, free: 5.547 MB / 334.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.000405/0.3777, allocations: 356.6 kB / 464.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006187/0.3783, allocations: 375.8 kB / 465.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.3889, allocations: 4.922 MB / 470.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.3891, allocations: 15.89 kB / 470.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.3894, allocations: 159.9 kB / 470.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/0.3897, allocations: 179.3 kB / 470.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008332/0.398, allocations: 4.03 MB / 474.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.4291, allocations: 14.78 MB / 489.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004727/0.4339, allocations: 2.647 MB / 492 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003417/0.4373, allocations: 1.709 MB / 493.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004077/0.4378, allocations: 127.1 kB / 493.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.471e-05/0.4379, allocations: 56.5 kB / 493.9 MB, free: 7.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=171): time 5.3e-06/0.4379, allocations: 0 / 493.9 MB, free: 7.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=205): time 0.03508/0.473, allocations: 13.28 MB / 0.4953 GB, free: 10.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.4731, allocations: 128.8 kB / 0.4954 GB, free: 9.961 MB / 382.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.006648/0.4798, allocations: 2.296 MB / 0.4977 GB, free: 7.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008549/0.4807, allocations: 61.7 kB / 0.4977 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.4829, allocations: 1.675 MB / 0.4994 GB, free: 5.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001502/0.4845, allocations: 0.697 MB / 0.5 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/0.486, allocations: 428.5 kB / 0.5004 GB, free: 4.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4861, allocations: 305.1 kB / 0.5007 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.4885, allocations: 1.233 MB / 0.5019 GB, free: 3.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.4915, allocations: 1.868 MB / 0.5038 GB, free: 1.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2928/0.7843, allocations: 6.171 MB / 0.5098 GB, free: 84.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/0.7843, allocations: 7.906 kB / 0.5098 GB, free: 84.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.008039/0.7924, allocations: 4.509 MB / 0.5142 GB, free: 82.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.7924, allocations: 15.72 kB / 0.5142 GB, free: 82.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.7925, allocations: 19.75 kB / 0.5142 GB, free: 82.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002153/0.7946, allocations: 1.007 MB / 0.5152 GB, free: 82.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.7965, allocations: 0.4977 MB / 0.5157 GB, free: 82.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.8092, allocations: 17.59 MB / 0.5329 GB, free: 67.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/0.8123, allocations: 178.9 kB / 0.5331 GB, free: 67.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/0.8126, allocations: 99.98 kB / 0.5332 GB, free: 67.75 MB / 382.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.003466/0.8161, allocations: 2.207 MB / 0.5353 GB, free: 65.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001672/0.8178, allocations: 1.845 MB / 0.5371 GB, free: 63.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0114/0.8292, allocations: 6.109 MB / 0.5431 GB, free: 57.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.199e-05/0.8293, allocations: 4 kB / 0.5431 GB, free: 57.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.006403/0.8357, allocations: 4.461 MB / 0.5474 GB, free: 52.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.8357, allocations: 12.78 kB / 0.5474 GB, free: 52.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.8358, allocations: 23.98 kB / 0.5475 GB, free: 52.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.8377, allocations: 0.9952 MB / 0.5484 GB, free: 51.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.8393, allocations: 0.4914 MB / 0.5489 GB, free: 51.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.8512, allocations: 17.6 MB / 0.5661 GB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.8538, allocations: 161.7 kB / 0.5663 GB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.8541, allocations: 99.98 kB / 0.5664 GB, free: 32.27 MB / 382.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.0007126/0.8548, allocations: 359.5 kB / 0.5667 GB, free: 31.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/0.8552, allocations: 252.3 kB / 0.5669 GB, free: 31.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005449/0.8607, allocations: 3.959 MB / 0.5708 GB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.8607, allocations: 20 kB / 0.5708 GB, free: 27.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.8607, allocations: 12 kB / 0.5708 GB, free: 27.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.8607, allocations: 10.59 kB / 0.5709 GB, free: 27.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.872, allocations: 8.267 MB / 0.5789 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.872, allocations: 4 kB / 0.5789 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.8732, allocations: 324.2 kB / 0.5792 GB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/0.8754, allocations: 1.052 MB / 0.5803 GB, free: 17.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.8756, allocations: 63.95 kB / 0.5803 GB, free: 17.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.8871, allocations: 17.23 MB / 0.5972 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/0.8872, allocations: 11.94 kB / 0.5972 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/0.8981, allocations: 5.739 MB / 0.6028 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.8998, allocations: 0.5837 MB / 0.6033 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004235/0.9002, allocations: 59.98 kB / 0.6034 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.9017, allocations: 143.8 kB / 0.6035 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005118/0.9023, allocations: 189.5 kB / 0.6037 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/0.9024, allocations: 67.97 kB / 0.6038 GB, free: 8.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002499/0.9049, allocations: 1.52 MB / 0.6053 GB, free: 6.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9049, allocations: 0 / 0.6053 GB, free: 6.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005274/0.9102, allocations: 1.375 MB / 0.6066 GB, free: 5.598 MB / 398.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.0005436/0.9108, allocations: 234 kB / 0.6068 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.02538/0.9362, allocations: 11.78 MB / 0.6183 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/0.9362, allocations: 4 kB / 0.6183 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01022/0.9464, allocations: 4.49 MB / 0.6227 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004956/0.9515, allocations: 0.6951 MB / 0.6234 GB, free: 3.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/0.9691, allocations: 9.355 MB / 0.6325 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003127/0.9723, allocations: 2.607 MB / 0.6351 GB, free: 7.859 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009476/0.9733, allocations: 183.4 kB / 0.6353 GB, free: 7.684 MB / 430.1 MB Notification: Performance of SimCode: time 2.003e-06/0.9733, allocations: 0 / 0.6353 GB, free: 7.684 MB / 430.1 MB Notification: Performance of Templates: time 0.5222/1.495, allocations: 222.6 MB / 0.8526 GB, free: 159.8 MB / 478.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