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 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_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.001276/0.001276, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001184/0.001184, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.238/1.238, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1508/0.1508, allocations: 8.029 MB / 298.7 MB, free: 2.418 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001219, allocations: 59.91 kB / 360.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09383/0.09507, allocations: 51.19 MB / 412 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.StartASMA): time 0.1676/0.2628, allocations: 14.8 MB / 426.8 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006135/0.2689, allocations: 3.656 MB / 430.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.2708, allocations: 87.31 kB / 430.5 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.2723, allocations: 0.5955 MB / 431.1 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.2753, allocations: 1.072 MB / 432.2 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.2767, allocations: 0.6663 MB / 432.8 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003933/0.2806, allocations: 4.521 MB / 437.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.2838, allocations: 3.479 MB / 440.8 MB, free: 32.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/0.2864, allocations: 2.013 MB / 442.9 MB, free: 31.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.2892, allocations: 2.536 MB / 445.4 MB, free: 30.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008581/0.2901, allocations: 0.5363 MB / 445.9 MB, free: 30.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.2914, allocations: 0.6239 MB / 446.6 MB, free: 30 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.2924, allocations: 1.49 MB / 448 MB, free: 29.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002535/0.295, allocations: 2.396 MB / 450.4 MB, free: 27.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004102/0.2991, allocations: 5.809 MB / 456.3 MB, free: 25.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2991, allocations: 0 / 456.3 MB, free: 25.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2991, allocations: 0 / 456.3 MB, free: 25.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001733/0.2993, allocations: 0 / 456.3 MB, free: 25.98 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.008977/0.3083, allocations: 4.609 MB / 460.9 MB, free: 23.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3083, allocations: 8.969 kB / 460.9 MB, free: 23.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.3095, allocations: 488.3 kB / 461.3 MB, free: 23.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.313, allocations: 2.29 MB / 463.6 MB, free: 22.01 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.0002973/0.3133, allocations: 346.9 kB / 464 MB, free: 21.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005929/0.3139, allocations: 377.8 kB / 464.3 MB, free: 21.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008494/0.3224, allocations: 4.926 MB / 469.3 MB, free: 19.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.3226, allocations: 11.2 kB / 469.3 MB, free: 19.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003164/0.3229, allocations: 157.1 kB / 469.4 MB, free: 19.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/0.3231, allocations: 180.5 kB / 469.6 MB, free: 19.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007009/0.3301, allocations: 4.036 MB / 473.6 MB, free: 18.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02433/0.3545, allocations: 14.79 MB / 488.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.3576, allocations: 2.643 MB / 491.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.3599, allocations: 1.702 MB / 492.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.3602, allocations: 131 kB / 492.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3602, allocations: 56.69 kB / 493 MB, free: 5.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=171): time 3.497e-06/0.3602, allocations: 0 / 493 MB, free: 5.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=205): time 0.02752/0.3877, allocations: 13.28 MB / 0.4944 GB, free: 8.406 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.3878, allocations: 128.8 kB / 0.4945 GB, free: 8.258 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.003267/0.3911, allocations: 2.3 MB / 0.4967 GB, free: 5.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002861/0.3914, allocations: 61.7 kB / 0.4968 GB, free: 5.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.3925, allocations: 1.667 MB / 0.4984 GB, free: 4.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006034/0.3931, allocations: 0.7048 MB / 0.4991 GB, free: 3.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006307/0.3937, allocations: 424.5 kB / 0.4995 GB, free: 3.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.3939, allocations: 305.1 kB / 0.4998 GB, free: 2.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.3956, allocations: 1.233 MB / 0.501 GB, free: 1.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.3977, allocations: 1.872 MB / 0.5029 GB, free: 15.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/0.4107, allocations: 6.175 MB / 0.5089 GB, free: 8.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-05/0.4108, allocations: 4 kB / 0.5089 GB, free: 8.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.00722/0.418, allocations: 4.507 MB / 0.5133 GB, free: 4.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.4181, allocations: 12 kB / 0.5133 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.4181, allocations: 23.98 kB / 0.5133 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/0.4203, allocations: 1.009 MB / 0.5143 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.422, allocations: 0.503 MB / 0.5148 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.4368, allocations: 17.59 MB / 0.532 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.4392, allocations: 167.7 kB / 0.5321 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/0.4395, allocations: 96.3 kB / 0.5322 GB, free: 15.77 MB / 414.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003388/0.4429, allocations: 2.199 MB / 0.5344 GB, free: 13.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002029/0.4449, allocations: 1.849 MB / 0.5362 GB, free: 11.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01232/0.4572, allocations: 6.117 MB / 0.5422 GB, free: 5.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.494e-05/0.4573, allocations: 4 kB / 0.5422 GB, free: 5.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=307) (initialization_lambda0): time 0.006775/0.4641, allocations: 4.461 MB / 0.5465 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4641, allocations: 15.98 kB / 0.5465 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.4641, allocations: 24.06 kB / 0.5466 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.4662, allocations: 0.9919 MB / 0.5475 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.4679, allocations: 0.4953 MB / 0.548 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/0.4824, allocations: 17.6 MB / 0.5652 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.4847, allocations: 159.8 kB / 0.5654 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/0.4849, allocations: 99.98 kB / 0.5654 GB, free: 11.97 MB / 446.1 MB Warning: Assuming fixed start value for the following 10 variables: inertia.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] inertia0.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real aimc0.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc0.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 4 (logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,actuator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%), (2,12,100.0%), (1,6,100.0%), (2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006189/0.4855, allocations: 371 kB / 0.5658 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/0.486, allocations: 256.9 kB / 0.566 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006148/0.4921, allocations: 3.954 MB / 0.5699 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.4922, allocations: 20 kB / 0.5699 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.4922, allocations: 8 kB / 0.5699 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.4922, allocations: 7.969 kB / 0.5699 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2076/0.6998, allocations: 8.27 MB / 0.578 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/0.6999, allocations: 5.125 kB / 0.578 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/0.7014, allocations: 335.4 kB / 0.5783 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/0.7037, allocations: 1.035 MB / 0.5794 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003915/0.7042, allocations: 66.94 kB / 0.5794 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/0.7158, allocations: 17.24 MB / 0.5963 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.7159, allocations: 15.03 kB / 0.5963 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007989/0.7239, allocations: 5.733 MB / 0.6019 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/0.7254, allocations: 0.581 MB / 0.6024 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005402/0.7259, allocations: 61.42 kB / 0.6025 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.7275, allocations: 148.1 kB / 0.6026 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/0.7279, allocations: 188 kB / 0.6028 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.7281, allocations: 68.53 kB / 0.6029 GB, free: 106.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00193/0.73, allocations: 1.513 MB / 0.6044 GB, free: 106 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.7301, allocations: 0 / 0.6044 GB, free: 106 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005572/0.7356, allocations: 1.377 MB / 0.6057 GB, free: 105.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 13 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],aimc0.inertiaRotor.w,aimc0.idq_sr[1],aimc0.idq_sr[2],aimc0.idq_rr[1],aimc0.idq_rr[2],inertia.phi,inertia0.phi,actuator.integrator.y) * Number of discrete variables: 3 (logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%), (2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005742/0.7362, allocations: 225.7 kB / 0.6059 GB, free: 105.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02032/0.7566, allocations: 11.79 MB / 0.6174 GB, free: 99.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/0.7566, allocations: 1.469 kB / 0.6174 GB, free: 99.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007573/0.7642, allocations: 4.49 MB / 0.6218 GB, free: 96.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/0.7677, allocations: 0.6925 MB / 0.6225 GB, free: 96.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.7809, allocations: 9.342 MB / 0.6316 GB, free: 91.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/0.7836, allocations: 2.598 MB / 0.6342 GB, free: 90.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008915/0.7845, allocations: 183.9 kB / 0.6343 GB, free: 90.14 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7845, allocations: 1.219 kB / 0.6343 GB, free: 90.14 MB / 446.1 MB Notification: Performance of Templates: time 0.3162/1.101, allocations: 222.6 MB / 0.8517 GB, free: 57.45 MB / 462.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMA.makefile make -j1 -f EHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.o OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.cpp In file included from OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.cpp:29: ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2081:30: error: use of undeclared identifier '_algLoopLinearSolver211' double* algloop211Vars = _algLoopLinearSolver211->getVariableWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2082:47: error: use of undeclared identifier '_algLoopLinearSolver211' bool* conditions0211 = _algLoopLinearSolver211->getConditionsWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:46: error: use of undeclared identifier '_algLoopLinearSolver211' bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2084:5: error: use of undeclared identifier '_algLoop211' _algLoop211->getReal(algloop211Vars); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2088:10: error: use of undeclared identifier '_algLoop211' _algLoop211->evaluate(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2096:16: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:29: note: 'conditions1211' declared here bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2083:29: note: 'conditions1211' declared here bool* conditions1211 = _algLoopLinearSolver211->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2082:30: note: 'conditions0211' declared here bool* conditions0211 = _algLoopLinearSolver211->getConditionsWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2108:13: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2121:18: error: use of undeclared identifier '_algLoop211' _algLoop211->setReal(algloop211Vars ); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2122:18: error: use of undeclared identifier '_algLoopNonLinearSolver211' _algLoopNonLinearSolver211->solve(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2138:30: error: use of undeclared identifier '_algLoopLinearSolver214' double* algloop214Vars = _algLoopLinearSolver214->getVariableWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2139:47: error: use of undeclared identifier '_algLoopLinearSolver214' bool* conditions0214 = _algLoopLinearSolver214->getConditionsWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2140:46: error: use of undeclared identifier '_algLoopLinearSolver214' bool* conditions1214 = _algLoopLinearSolver214->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2141:5: error: use of undeclared identifier '_algLoop214' _algLoop214->getReal(algloop214Vars); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2145:10: error: use of undeclared identifier '_algLoop214' _algLoop214->evaluate(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.StartASMAInitialize.cpp:2153:16: error: use of undeclared identifier '_algLoopNonLinearSolver214' _algLoopNonLinearSolver214->solve(); ^ ./OMCppEHPTlib_main_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_main_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_main_EHPTlib.ElectricDrives.TestingModels.StartASMACalcHelperMain.o] Error 1