Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 106.5 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 218.1 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04279/0.04279, allocations: 8.549 MB / 321.7 MB, free: 10.62 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.ElectricDrives.ASMArelated.ControlLogic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogic") translateModel(EHPTlib.ElectricDrives.ASMArelated.ControlLogic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogic") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 63.91 kB / 448.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1132, allocations: 55.41 MB / 0.4918 GB, free: 7.965 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/ElectricDrives/ASMArelated/ControlLogic.mo:4:3-5:23:writable] Warning: Parameter 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/EHPTlib 3.0.0/ElectricDrives/ASMArelated/ControlLogic.mo:6:3-7:24:writable] Warning: Parameter 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/EHPTlib 3.0.0/ElectricDrives/ASMArelated/ControlLogic.mo:8:3-9:38:writable] Warning: Parameter uBase has no value, and is fixed during initialization (fixed=true), using available start value (start=400) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/ElectricDrives/ASMArelated/ControlLogic.mo:12:3-13:32:writable] Warning: Parameter Lstray has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2036/weBase) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/ElectricDrives/ASMArelated/ControlLogic.mo:16:3-16:76:writable] Warning: Parameter pp has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.ASMArelated.ControlLogic): time 0.003761/0.1169, allocations: 1.878 MB / 0.4936 GB, free: 6.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007518/0.1177, allocations: 283.3 kB / 0.4939 GB, free: 5.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1178, allocations: 3.938 kB / 0.4939 GB, free: 5.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.843e-05/0.1179, allocations: 19.73 kB / 0.4939 GB, free: 5.773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.1182, allocations: 39.72 kB / 0.494 GB, free: 5.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.1185, allocations: 127.7 kB / 0.4941 GB, free: 5.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.1188, allocations: 191.6 kB / 0.4943 GB, free: 5.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1189, allocations: 41.95 kB / 0.4943 GB, free: 5.379 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1191, allocations: 83.64 kB / 0.4944 GB, free: 5.297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1192, allocations: 95.62 kB / 0.4945 GB, free: 5.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-05/0.1193, allocations: 16 kB / 0.4945 GB, free: 5.188 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.385e-05/0.1194, allocations: 19.94 kB / 0.4945 GB, free: 5.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.1194, allocations: 39.84 kB / 0.4945 GB, free: 5.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/0.1195, allocations: 79.58 kB / 0.4946 GB, free: 5.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.1198, allocations: 167.2 kB / 0.4948 GB, free: 4.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1198, allocations: 0 / 0.4948 GB, free: 4.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1198, allocations: 0 / 0.4948 GB, free: 4.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1198, allocations: 0 / 0.4948 GB, free: 4.887 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001068/0.1208, allocations: 449.5 kB / 0.4952 GB, free: 4.418 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1209, allocations: 8.031 kB / 0.4952 GB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.1209, allocations: 20.84 kB / 0.4952 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.1213, allocations: 182.7 kB / 0.4954 GB, free: 4.188 MB / 366.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.1215, allocations: 131.3 kB / 0.4955 GB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.1215, allocations: 15.94 kB / 0.4955 GB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.1219, allocations: 176.1 kB / 0.4957 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1219, allocations: 0 / 0.4957 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.1219, allocations: 8 kB / 0.4957 GB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1219, allocations: 0 / 0.4957 GB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.1223, allocations: 147.8 kB / 0.4959 GB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.1233, allocations: 459.4 kB / 0.4963 GB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/0.1238, allocations: 178.5 kB / 0.4965 GB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.124, allocations: 76.78 kB / 0.4965 GB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.124, allocations: 0 / 0.4965 GB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.1241, allocations: 38.5 kB / 0.4966 GB, free: 2.879 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1241, allocations: 0 / 0.4966 GB, free: 2.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007014/0.1248, allocations: 241.4 kB / 0.4968 GB, free: 2.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.1249, allocations: 106.8 kB / 0.4969 GB, free: 2.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1251, allocations: 174.3 kB / 0.4971 GB, free: 2.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1251, allocations: 25.7 kB / 0.4971 GB, free: 2.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1252, allocations: 128.2 kB / 0.4972 GB, free: 2.164 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.1252, allocations: 39.69 kB / 0.4973 GB, free: 2.125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/0.1253, allocations: 33.7 kB / 0.4973 GB, free: 2.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1255, allocations: 326.8 kB / 0.4976 GB, free: 1.758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.1257, allocations: 68.8 kB / 0.4977 GB, free: 1.688 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.1259, allocations: 82.53 kB / 0.4978 GB, free: 1.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.1262, allocations: 128.8 kB / 0.4979 GB, free: 1.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1262, allocations: 11.88 kB / 0.4979 GB, free: 1.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004258/0.1266, allocations: 181.4 kB / 0.4981 GB, free: 1.273 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1266, allocations: 4 kB / 0.4981 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1267, allocations: 0 / 0.4981 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1267, allocations: 11.98 kB / 0.4981 GB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.1268, allocations: 23.97 kB / 0.4981 GB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1268, allocations: 0 / 0.4981 GB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.1271, allocations: 27.97 kB / 0.4981 GB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.1271, allocations: 7.984 kB / 0.4981 GB, free: 1.199 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001611/0.1273, allocations: 124.1 kB / 0.4982 GB, free: 1.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001289/0.1274, allocations: 66.48 kB / 0.4983 GB, free: 1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001838/0.1276, allocations: 93.31 kB / 0.4984 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.81e-07/0.1276, allocations: 0 / 0.4984 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization_lambda0): time 0.0002855/0.1279, allocations: 149.4 kB / 0.4985 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.1279, allocations: 4 kB / 0.4985 GB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1279, allocations: 3.984 kB / 0.4986 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-06/0.1279, allocations: 0 / 0.4986 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.128, allocations: 15.98 kB / 0.4986 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.128, allocations: 0 / 0.4986 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.1282, allocations: 35.89 kB / 0.4986 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.1282, allocations: 4 kB / 0.4986 GB, free: 0.6914 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (toMaxSpeed.y,toWeakening.y,tauToDW.tauIsMax) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.1283, allocations: 184.3 kB / 0.4988 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.1284, allocations: 16.36 kB / 0.4988 GB, free: 500 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.1284, allocations: 21.39 kB / 0.4988 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1284, allocations: 4 kB / 0.4988 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1284, allocations: 0 / 0.4988 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1284, allocations: 4 kB / 0.4988 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.1287, allocations: 220.5 kB / 0.499 GB, free: 200 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1287, allocations: 3.984 kB / 0.499 GB, free: 196 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1289, allocations: 23.92 kB / 0.4991 GB, free: 172 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1289, allocations: 4 kB / 0.4991 GB, free: 168 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1289, allocations: 3.984 kB / 0.4991 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1289, allocations: 0 / 0.4991 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1289, allocations: 0 / 0.4991 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.1294, allocations: 283.4 kB / 0.4993 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.1294, allocations: 11.89 kB / 0.4994 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.1295, allocations: 4 kB / 0.4994 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.1297, allocations: 39.89 kB / 0.4994 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.1298, allocations: 7.984 kB / 0.4994 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1298, allocations: 11.98 kB / 0.4994 GB, free: 15.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1299, allocations: 136.2 kB / 0.4995 GB, free: 15.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1299, allocations: 0 / 0.4995 GB, free: 15.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003545/0.1302, allocations: 63.84 kB / 0.4996 GB, free: 15.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (tauToDW.tauIsMax,toWeakening.y,toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001009/0.1303, allocations: 95.23 kB / 0.4997 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00751/0.1379, allocations: 3.04 MB / 0.5027 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1379, allocations: 0 / 0.5027 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003701/0.1416, allocations: 1.506 MB / 0.5041 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.1419, allocations: 23.92 kB / 0.5042 GB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.1428, allocations: 358.9 kB / 0.5045 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1432, allocations: 0.7128 MB / 0.5052 GB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.1432, allocations: 19.42 kB / 0.5052 GB, free: 9.676 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1432, allocations: 0 / 0.5052 GB, free: 9.676 MB / 382.1 MB Notification: Performance of Templates: time 0.004332/0.1476, allocations: 1.983 MB / 0.5071 GB, free: 7.707 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogic.makefile [Timeout 660] make -j1 -f EHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogic.makefile clang++ -std=c++17 -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.ASMArelated.ControlLogicCalcHelperMain.o OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicCalcHelperMain.cpp In file included from OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicCalcHelperMain.cpp:29: ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:181:28: error: use of undeclared identifier '_algLoopLinearSolver3' double* algloop3Vars = _algLoopLinearSolver3->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:182:45: error: use of undeclared identifier '_algLoopLinearSolver3' bool* conditions03 = _algLoopLinearSolver3->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:183:44: error: use of undeclared identifier '_algLoopLinearSolver3' bool* conditions13 = _algLoopLinearSolver3->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:184:5: error: use of undeclared identifier '_algLoop3' _algLoop3->getReal(algloop3Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:188:10: error: use of undeclared identifier '_algLoop3' _algLoop3->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:196:16: error: use of undeclared identifier '_algLoopNonLinearSolver3' _algLoopNonLinearSolver3->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:204:40: error: use of undeclared identifier '_conditions13' restart3 = !std::equal (_conditions13, _conditions13+_dimZeroFunc,_conditions03); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:204:55: error: use of undeclared identifier '_conditions13' restart3 = !std::equal (_conditions13, _conditions13+_dimZeroFunc,_conditions03); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:204:82: error: use of undeclared identifier '_conditions03' restart3 = !std::equal (_conditions13, _conditions13+_dimZeroFunc,_conditions03); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:208:13: error: use of undeclared identifier '_algLoopNonLinearSolver3' _algLoopNonLinearSolver3->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:221:18: error: use of undeclared identifier '_algLoop3' _algLoop3->setReal(algloop3Vars ); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:222:18: error: use of undeclared identifier '_algLoopNonLinearSolver3' _algLoopNonLinearSolver3->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:238:28: error: use of undeclared identifier '_algLoopLinearSolver6' double* algloop6Vars = _algLoopLinearSolver6->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:239:45: error: use of undeclared identifier '_algLoopLinearSolver6' bool* conditions06 = _algLoopLinearSolver6->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:240:44: error: use of undeclared identifier '_algLoopLinearSolver6' bool* conditions16 = _algLoopLinearSolver6->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:241:5: error: use of undeclared identifier '_algLoop6' _algLoop6->getReal(algloop6Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:245:10: error: use of undeclared identifier '_algLoop6' _algLoop6->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:253:16: error: use of undeclared identifier '_algLoopNonLinearSolver6' _algLoopNonLinearSolver6->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:261:40: error: use of undeclared identifier '_conditions16' restart6 = !std::equal (_conditions16, _conditions16+_dimZeroFunc,_conditions06); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.112781206145883] Failed to read output from testmodel.py, exit status != 0: 0.15577571303583682 0.33583917399999996 0.21353904299999996 Calling exit ...