Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_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_EHPTlib.ElectricDrives.TestingModels.StartASMA") translateModel(EHPTlib.ElectricDrives.TestingModels.StartASMA,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_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.001078/0.001078, allocations: 104.3 kB / 15.98 MB, free: 6.355 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.001035/0.001035, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.304/1.304, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03912/0.03912, allocations: 8.041 MB / 298.8 MB, free: 7.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 360.8 MB, free: 9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2222, allocations: 51.19 MB / 412 MB, free: 26.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.01163/0.2339, allocations: 14.8 MB / 426.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007798/0.2417, allocations: 3.659 MB / 430.5 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/0.2445, allocations: 79.69 kB / 430.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.2466, allocations: 0.5979 MB / 431.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.2502, allocations: 1.076 MB / 432.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.2518, allocations: 0.679 MB / 432.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004378/0.2562, allocations: 4.521 MB / 437.4 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004156/0.2604, allocations: 3.475 MB / 440.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/0.2639, allocations: 2.017 MB / 442.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004046/0.268, allocations: 2.538 MB / 445.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001473/0.2695, allocations: 0.5391 MB / 446 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.2714, allocations: 0.6209 MB / 446.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.273, allocations: 1.488 MB / 448.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00358/0.2766, allocations: 2.396 MB / 450.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006298/0.2829, allocations: 5.803 MB / 456.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.283, allocations: 4 kB / 456.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.283, allocations: 0 / 456.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002357/0.2832, allocations: 0 / 456.3 MB, free: 13.88 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.01088/0.2941, allocations: 4.606 MB / 460.9 MB, free: 9.203 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2942, allocations: 12.03 kB / 460.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.2956, allocations: 487.6 kB / 461.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/0.2995, allocations: 2.283 MB / 463.7 MB, free: 6.375 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.0003441/0.2998, allocations: 346.8 kB / 464 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006246/0.3005, allocations: 383.8 kB / 464.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009338/0.3098, allocations: 4.922 MB / 469.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/0.31, allocations: 19.83 kB / 469.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004442/0.3105, allocations: 148 kB / 469.5 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/0.3107, allocations: 187.3 kB / 469.6 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008037/0.3187, allocations: 4.03 MB / 473.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02717/0.3459, allocations: 14.79 MB / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/0.35, allocations: 2.631 MB / 491.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/0.3529, allocations: 1.705 MB / 492.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.3532, allocations: 139 kB / 492.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.3532, allocations: 56.44 kB / 493 MB, free: 8.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=171): time 3.827e-06/0.3533, allocations: 4 kB / 493 MB, free: 8.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=205): time 0.03054/0.3838, allocations: 13.27 MB / 0.4944 GB, free: 10.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/0.3839, allocations: 124.8 kB / 0.4945 GB, free: 10.79 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.003557/0.3875, allocations: 2.303 MB / 0.4968 GB, free: 8.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003661/0.3879, allocations: 61.7 kB / 0.4968 GB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.3891, allocations: 1.675 MB / 0.4985 GB, free: 6.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006695/0.3897, allocations: 0.7009 MB / 0.4991 GB, free: 5.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006691/0.3904, allocations: 424.5 kB / 0.4995 GB, free: 5.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.3905, allocations: 309.1 kB / 0.4998 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.3924, allocations: 1.225 MB / 0.501 GB, free: 4.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.3947, allocations: 1.876 MB / 0.5029 GB, free: 1.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1978/0.5925, allocations: 6.168 MB / 0.5089 GB, free: 85.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/0.5926, allocations: 3.969 kB / 0.5089 GB, free: 85.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.008174/0.6007, allocations: 4.498 MB / 0.5133 GB, free: 83.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.6008, allocations: 21.31 kB / 0.5133 GB, free: 83.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/0.6009, allocations: 17.56 kB / 0.5133 GB, free: 83.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.6033, allocations: 1.007 MB / 0.5143 GB, free: 83.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/0.6053, allocations: 0.5003 MB / 0.5148 GB, free: 83.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.6182, allocations: 17.61 MB / 0.532 GB, free: 68.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.6206, allocations: 166.8 kB / 0.5322 GB, free: 68.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003461/0.621, allocations: 100.5 kB / 0.5323 GB, free: 68.77 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.003432/0.6244, allocations: 2.197 MB / 0.5344 GB, free: 67.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001707/0.6261, allocations: 1.841 MB / 0.5362 GB, free: 64.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01167/0.6378, allocations: 6.117 MB / 0.5422 GB, free: 58.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.055e-05/0.6379, allocations: 8 kB / 0.5422 GB, free: 58.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.006386/0.6443, allocations: 4.462 MB / 0.5465 GB, free: 54.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.6443, allocations: 15.56 kB / 0.5466 GB, free: 54.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.6444, allocations: 20 kB / 0.5466 GB, free: 54.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.6463, allocations: 1.01 MB / 0.5476 GB, free: 53.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.6479, allocations: 495.2 kB / 0.548 GB, free: 52.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/0.66, allocations: 17.6 MB / 0.5652 GB, free: 34.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.6624, allocations: 165.9 kB / 0.5654 GB, free: 33.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003511/0.6628, allocations: 104 kB / 0.5655 GB, free: 33.78 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.0008819/0.6637, allocations: 363.9 kB / 0.5658 GB, free: 33.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007365/0.6644, allocations: 249.2 kB / 0.5661 GB, free: 33.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005843/0.6703, allocations: 3.952 MB / 0.5699 GB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.6704, allocations: 20 kB / 0.5699 GB, free: 29.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/0.6704, allocations: 12 kB / 0.5699 GB, free: 29.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/0.6704, allocations: 7.969 kB / 0.57 GB, free: 29.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.6833, allocations: 8.272 MB / 0.578 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.6833, allocations: 8 kB / 0.578 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.6846, allocations: 327.5 kB / 0.5784 GB, free: 20.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002324/0.687, allocations: 1.045 MB / 0.5794 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003191/0.6873, allocations: 67.95 kB / 0.5794 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/0.7022, allocations: 17.24 MB / 0.5963 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/0.7023, allocations: 11.94 kB / 0.5963 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/0.7203, allocations: 5.732 MB / 0.6019 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002712/0.7231, allocations: 0.5886 MB / 0.6025 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/0.7244, allocations: 55.98 kB / 0.6025 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003717/0.7282, allocations: 143.8 kB / 0.6026 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001016/0.7292, allocations: 193.5 kB / 0.6028 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004528/0.7297, allocations: 67.97 kB / 0.6029 GB, free: 10 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0049/0.7346, allocations: 1.512 MB / 0.6044 GB, free: 8.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.7347, allocations: 0 / 0.6044 GB, free: 8.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.009931/0.7446, allocations: 1.37 MB / 0.6057 GB, free: 7.109 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.001143/0.7458, allocations: 237.3 kB / 0.6059 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.04298/0.7888, allocations: 11.79 MB / 0.6175 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/0.7889, allocations: 0 / 0.6175 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0162/0.8051, allocations: 4.484 MB / 0.6218 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008118/0.8133, allocations: 0.688 MB / 0.6225 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/0.8419, allocations: 9.355 MB / 0.6316 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005673/0.8476, allocations: 2.603 MB / 0.6342 GB, free: 9.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/0.849, allocations: 187.4 kB / 0.6344 GB, free: 9.195 MB / 430.1 MB Notification: Performance of SimCode: time 2.544e-06/0.8491, allocations: 0 / 0.6344 GB, free: 9.195 MB / 430.1 MB Notification: Performance of Templates: time 0.5595/1.409, allocations: 222.6 MB / 0.8517 GB, free: 161.2 MB / 478.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMA.makefile make -j1 -f EHPTlib_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_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.o OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.cpp In file included from OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.cpp:29: ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2081:30: error: use of undeclared identifier '_algLoopLinearSolver211' double* algloop211Vars = _algLoopLinearSolver211->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2082:47: error: use of undeclared identifier '_algLoopLinearSolver211' bool* conditions0211 = _algLoopLinearSolver211->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:46: error: use of undeclared identifier '_algLoopLinearSolver211' bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2084:5: error: use of undeclared identifier '_algLoop211' _algLoop211->getReal(algloop211Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2088:10: error: use of undeclared identifier '_algLoop211' _algLoop211->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2096:16: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_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_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:29: note: 'conditions1211' declared here bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_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_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:29: note: 'conditions1211' declared here bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_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_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2082:30: note: 'conditions0211' declared here bool* conditions0211 = _algLoopLinearSolver211->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2108:13: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2121:18: error: use of undeclared identifier '_algLoop211' _algLoop211->setReal(algloop211Vars ); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2122:18: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2138:30: error: use of undeclared identifier '_algLoopLinearSolver214' double* algloop214Vars = _algLoopLinearSolver214->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2139:47: error: use of undeclared identifier '_algLoopLinearSolver214' bool* conditions0214 = _algLoopLinearSolver214->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2140:46: error: use of undeclared identifier '_algLoopLinearSolver214' bool* conditions1214 = _algLoopLinearSolver214->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2141:5: error: use of undeclared identifier '_algLoop214' _algLoop214->getReal(algloop214Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2145:10: error: use of undeclared identifier '_algLoop214' _algLoop214->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2153:16: error: use of undeclared identifier '_algLoopNonLinearSolver214' _algLoopNonLinearSolver214->solve(); ^ ./OMCppEHPTlib_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_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_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.o] Error 1