Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008306/0.0008306, allocations: 102.8 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 172.2 kB / 16.58 MB, free: 6.402 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.537/1.537, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.2052/0.2052, allocations: 8.612 MB / 300.3 MB, free: 3.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 363.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1021, allocations: 52.32 MB / 415.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.00922/0.1113, allocations: 8.729 MB / 424.2 MB, free: 400 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1993/0.3107, allocations: 2.699 MB / 426.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009696/0.3117, allocations: 43.41 kB / 426.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008561/0.3126, allocations: 411 kB / 427.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.3141, allocations: 0.615 MB / 427.9 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009307/0.3151, allocations: 335.2 kB / 428.3 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002849/0.3179, allocations: 2.568 MB / 430.8 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.3194, allocations: 1.183 MB / 432 MB, free: 34.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.3206, allocations: 0.815 MB / 432.8 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.3217, allocations: 1.126 MB / 434 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.3219, allocations: 115.6 kB / 434.1 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/0.3223, allocations: 188.6 kB / 434.3 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.3228, allocations: 0.6152 MB / 434.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.3232, allocations: 449.1 kB / 435.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.325, allocations: 2.92 MB / 438.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.325, allocations: 0.9375 kB / 438.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.325, allocations: 0 / 438.2 MB, free: 33.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.892e-05/0.325, allocations: 3.25 kB / 438.2 MB, free: 33.39 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.00387/0.3289, allocations: 2.38 MB / 440.6 MB, free: 32.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3289, allocations: 11.58 kB / 440.6 MB, free: 32.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.3296, allocations: 268.5 kB / 440.9 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.3313, allocations: 1.289 MB / 442.2 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.3315, allocations: 180.8 kB / 442.4 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/0.3317, allocations: 203.9 kB / 442.6 MB, free: 31.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/0.3358, allocations: 2.616 MB / 445.2 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.637e-05/0.3359, allocations: 10.55 kB / 445.2 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.3361, allocations: 83.59 kB / 445.3 MB, free: 31.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.3362, allocations: 101.7 kB / 445.4 MB, free: 31.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003296/0.3395, allocations: 2.225 MB / 447.6 MB, free: 30.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009292/0.3488, allocations: 8.351 MB / 455.9 MB, free: 26.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.3512, allocations: 1.703 MB / 457.6 MB, free: 25.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.3524, allocations: 0.8599 MB / 458.5 MB, free: 25.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.3526, allocations: 122 kB / 458.6 MB, free: 24.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.3538, allocations: 0.824 MB / 459.4 MB, free: 24.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.996e-06/0.3538, allocations: 0 / 459.4 MB, free: 24.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.0149/0.3687, allocations: 6.959 MB / 466.4 MB, free: 22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.3688, allocations: 169.8 kB / 466.6 MB, free: 21.81 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Sources.mo:165:5-166:102:writable] Warning: Parameter fromPark.const.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:15:3-17:53:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.p)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:11:3-12:55:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.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/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:86:3-91:29:writable] Warning: Parameter smpm1.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/SynchronousMachines/SM_PermanentMagnet.mo:80:3-85:29:writable] Warning: Parameter smpm1.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/SynchronousMachines/SM_PermanentMagnet.mo:70:3-74:29:writable] Warning: Parameter smpm1.Rrd 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/SynchronousMachines/SM_PermanentMagnet.mo:59:3-64:29:writable] Warning: Parameter smpm1.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (6.283185307179586 * smpm1.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:48:3-49:53:writable] Warning: Parameter smpm1.VsOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=112.3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:44:3-47:31:writable] Warning: Parameter smpm1.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/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter smpm1.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 smpm1.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 smpm1.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 smpm1.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (6.283185307179586 * smpm1.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 smpm1.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 smpm1.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 smpm1.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 smpm1.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 smpm1.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 smpm1.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.002159/0.371, allocations: 1.382 MB / 468 MB, free: 21.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/0.3711, allocations: 48.11 kB / 468 MB, free: 21.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007172/0.3718, allocations: 0.9676 MB / 469 MB, free: 20.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.3721, allocations: 425.7 kB / 469.4 MB, free: 20.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/0.3722, allocations: 25.75 kB / 469.4 MB, free: 20.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.3723, allocations: 367.4 kB / 469.8 MB, free: 19.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.3736, allocations: 0.7714 MB / 470.5 MB, free: 19.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.375, allocations: 1.208 MB / 471.8 MB, free: 18.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.3765, allocations: 0.9624 MB / 472.7 MB, free: 18.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/0.3765, allocations: 3.938 kB / 472.7 MB, free: 18.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005639/0.3822, allocations: 2.848 MB / 475.6 MB, free: 17.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.3824, allocations: 496.3 kB / 476 MB, free: 16.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.3824, allocations: 12.09 kB / 476.1 MB, free: 16.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/0.3847, allocations: 0.6464 MB / 476.7 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.3862, allocations: 445.9 kB / 477.1 MB, free: 16.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008727/0.3949, allocations: 8.996 MB / 486.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.3967, allocations: 166.5 kB / 486.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.3969, allocations: 64.67 kB / 486.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.3969, allocations: 3.469 kB / 486.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005211/0.4022, allocations: 2.663 MB / 489 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/0.4022, allocations: 14.66 kB / 489 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/0.4042, allocations: 0.6625 MB / 489.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.4057, allocations: 440.6 kB / 490.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008216/0.4139, allocations: 9.004 MB / 499.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.4154, allocations: 143.9 kB / 499.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.4157, allocations: 63.98 kB / 499.3 MB, free: 13.29 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real smpm1.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] smpm1.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] smpm1.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,myMTPA.limiting.y,$PRE.tqRef.T_start,tqRef.T_start,$PRE.tqRef.count,tqRef.count,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 2 {6 2,2 1} Notification: Performance of prepare postOptimizeDAE: time 0.001546/0.4172, allocations: 0.7131 MB / 0.4883 GB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/0.4177, allocations: 160.2 kB / 0.4885 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005413/0.4231, allocations: 2.526 MB / 0.491 GB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.4231, allocations: 12 kB / 0.491 GB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4231, allocations: 0 / 0.491 GB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.4231, allocations: 11.97 kB / 0.491 GB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009373/0.4325, allocations: 4.824 MB / 0.4957 GB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.4326, allocations: 4 kB / 0.4957 GB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.4338, allocations: 319.9 kB / 0.496 GB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/0.4359, allocations: 0.6676 MB / 0.4967 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.436, allocations: 35.98 kB / 0.4967 GB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009416/0.4454, allocations: 9.141 MB / 0.5056 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4455, allocations: 3.953 kB / 0.5056 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006647/0.4521, allocations: 3.583 MB / 0.5091 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009512/0.4531, allocations: 383 kB / 0.5095 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.4533, allocations: 32 kB / 0.5095 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/0.4542, allocations: 123.9 kB / 0.5096 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.4545, allocations: 124.7 kB / 0.5097 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/0.4545, allocations: 35.98 kB / 0.5098 GB, free: 5.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001367/0.4559, allocations: 0.9087 MB / 0.5107 GB, free: 4.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4559, allocations: 1.312 kB / 0.5107 GB, free: 4.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002522/0.4585, allocations: 0.793 MB / 0.5114 GB, free: 4.031 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (inertia.w,smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder.y,myMTPA.firstOrder1.y,tRes.phi) * Number of discrete variables: 4 ($whenCondition1,myMTPA.limiting.y,tqRef.T_start,tqRef.count) * Number of discrete states: 1 (tqRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 2 {6 4,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002701/0.4587, allocations: 152.2 kB / 0.5116 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007811/0.4665, allocations: 4.952 MB / 0.5164 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4666, allocations: 0 / 0.5164 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002799/0.4694, allocations: 1.877 MB / 0.5183 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.4712, allocations: 405.8 kB / 0.5186 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006872/0.4781, allocations: 5.036 MB / 0.5236 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.4794, allocations: 1.661 MB / 0.5252 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.4799, allocations: 115.4 kB / 0.5253 GB, free: 5.492 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4799, allocations: 0 / 0.5253 GB, free: 5.492 MB / 398.1 MB Notification: Performance of Templates: time 0.2565/0.7364, allocations: 84.04 MB / 0.6074 GB, free: 118.2 MB / 446.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLimCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLimCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLimCalcHelperMain.o] Error 1