Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.06721/0.06721, allocations: 8.027 MB / 24.19 MB, free: 400 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 109.4 kB / 26.77 MB, free: 3.258 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002155/0.002154, allocations: 195.2 kB / 29.47 MB, free: 0.5781 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 254.9 MB, free: 4.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01358/0.01358, allocations: 3.137 MB / 310 MB, free: 2.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 95.84 kB / 374.4 MB, free: 1.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2409, allocations: 51.97 MB / 426.3 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.008086/0.249, allocations: 9.137 MB / 435.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004687/0.2538, allocations: 2.63 MB / 438.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.2551, allocations: 47.81 kB / 438.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.2563, allocations: 460.5 kB / 438.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.258, allocations: 0.6598 MB / 439.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009188/0.2589, allocations: 497.2 kB / 439.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.2607, allocations: 2.471 MB / 442.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.2624, allocations: 2.057 MB / 444.3 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.2636, allocations: 1.09 MB / 445.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.2647, allocations: 1.327 MB / 446.7 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003215/0.2651, allocations: 300 kB / 447 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005823/0.2656, allocations: 399.8 kB / 447.4 MB, free: 260 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007449/0.2664, allocations: 0.7871 MB / 448.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.2679, allocations: 1.287 MB / 449.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004096/0.272, allocations: 3.688 MB / 453.1 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2721, allocations: 4 kB / 453.1 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2721, allocations: 0 / 453.1 MB, free: 10.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.302e-05/0.2721, allocations: 4 kB / 453.1 MB, free: 10.46 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.006204/0.2784, allocations: 2.705 MB / 455.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.2784, allocations: 16.03 kB / 455.9 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007736/0.2792, allocations: 266 kB / 456.1 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.2815, allocations: 1.29 MB / 457.4 MB, free: 6.078 MB / 318.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.000296/0.2818, allocations: 231.4 kB / 457.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/0.2821, allocations: 207.9 kB / 457.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005124/0.2873, allocations: 2.715 MB / 460.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.411e-05/0.2873, allocations: 3.906 kB / 460.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/0.2876, allocations: 88 kB / 460.6 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.2877, allocations: 104 kB / 460.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004374/0.2921, allocations: 2.217 MB / 463 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.3066, allocations: 8.016 MB / 471 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/0.3097, allocations: 1.609 MB / 472.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.3117, allocations: 0.9556 MB / 473.5 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/0.312, allocations: 122.1 kB / 473.7 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/0.3134, allocations: 0.7812 MB / 474.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 4.659e-06/0.3134, allocations: 3.984 kB / 474.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01597/0.3294, allocations: 6.65 MB / 481.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/0.3296, allocations: 248.3 kB / 481.3 MB, free: 13.46 MB / 350.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 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.3315, allocations: 1.203 MB / 482.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.3317, allocations: 49.7 kB / 482.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008776/0.3325, allocations: 0.927 MB / 483.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004429/0.333, allocations: 414.2 kB / 483.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004394/0.3334, allocations: 255.4 kB / 484.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.3336, allocations: 361.9 kB / 484.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.335, allocations: 0.7153 MB / 485.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.3367, allocations: 1.103 MB / 486.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009301/0.346, allocations: 3.595 MB / 489.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.346, allocations: 4 kB / 489.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004929/0.3509, allocations: 2.525 MB / 492.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.351, allocations: 37.7 kB / 492.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.351, allocations: 12 kB / 492.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.3523, allocations: 0.5009 MB / 493 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.3536, allocations: 299.4 kB / 493.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00985/0.3635, allocations: 8.81 MB / 0.4903 GB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.365, allocations: 127.9 kB / 0.4905 GB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.3652, allocations: 55.98 kB / 0.4905 GB, free: 7.512 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" 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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002348/0.3676, allocations: 1.235 MB / 0.4917 GB, free: 6.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001641/0.3692, allocations: 1.076 MB / 0.4928 GB, free: 5.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009064/0.3783, allocations: 3.528 MB / 0.4962 GB, free: 1.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.45e-05/0.3783, allocations: 4 kB / 0.4962 GB, free: 1.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004759/0.3831, allocations: 2.478 MB / 0.4986 GB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.3832, allocations: 37.7 kB / 0.4987 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.3832, allocations: 8 kB / 0.4987 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.3844, allocations: 0.504 MB / 0.4992 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.3855, allocations: 291.5 kB / 0.4995 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009362/0.3949, allocations: 8.799 MB / 0.5081 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.3964, allocations: 139.8 kB / 0.5082 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.3966, allocations: 59.98 kB / 0.5082 GB, free: 4.418 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000502/0.3971, allocations: 295.4 kB / 0.5085 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.3974, allocations: 134.4 kB / 0.5087 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/0.4017, allocations: 2.199 MB / 0.5108 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.4017, allocations: 15.94 kB / 0.5108 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.4018, allocations: 4 kB / 0.5108 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.4018, allocations: 7.984 kB / 0.5108 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2055/0.6073, allocations: 4.626 MB / 0.5153 GB, free: 84.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.6074, allocations: 4.047 kB / 0.5153 GB, free: 84.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008961/0.6083, allocations: 203.9 kB / 0.5155 GB, free: 84.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.6097, allocations: 0.5296 MB / 0.5161 GB, free: 84.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.6098, allocations: 36.67 kB / 0.5161 GB, free: 84.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006323/0.6161, allocations: 8.618 MB / 0.5245 GB, free: 77.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6162, allocations: 7.875 kB / 0.5245 GB, free: 77.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005198/0.6214, allocations: 3.237 MB / 0.5277 GB, free: 76.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007425/0.6221, allocations: 362 kB / 0.528 GB, free: 76.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.6224, allocations: 33.27 kB / 0.5281 GB, free: 76.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009617/0.6233, allocations: 106.7 kB / 0.5282 GB, free: 76.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.6236, allocations: 117.7 kB / 0.5283 GB, free: 76.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/0.6237, allocations: 39.2 kB / 0.5283 GB, free: 76.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009545/0.6247, allocations: 0.7981 MB / 0.5291 GB, free: 76.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6247, allocations: 0 / 0.5291 GB, free: 76.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002126/0.6268, allocations: 0.7478 MB / 0.5298 GB, free: 75.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 4 systems {(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.0002897/0.6271, allocations: 196.6 kB / 0.53 GB, free: 75.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01295/0.6401, allocations: 7.579 MB / 0.5374 GB, free: 70.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.6401, allocations: 3.906 kB / 0.5374 GB, free: 70.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005405/0.6455, allocations: 3.063 MB / 0.5404 GB, free: 67.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/0.6475, allocations: 384.2 kB / 0.5408 GB, free: 67.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005793/0.6533, allocations: 4.209 MB / 0.5449 GB, free: 63.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009713/0.6543, allocations: 1.675 MB / 0.5465 GB, free: 61.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.6547, allocations: 111.4 kB / 0.5466 GB, free: 61.38 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6547, allocations: 0 / 0.5466 GB, free: 61.38 MB / 382.1 MB Notification: Performance of Templates: time 0.05718/0.7119, allocations: 72.77 MB / 0.6177 GB, free: 4.605 MB / 398.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.makefile make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.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 OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1166:30: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:47: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:46: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1169:5: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->getReal(algloop100Vars); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1173:10: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->evaluate(); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1181:16: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:59: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:88: error: use of undeclared identifier '_conditions0100'; did you mean 'conditions0100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions0100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:30: note: 'conditions0100' declared here bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1193:13: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1206:18: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->setReal(algloop100Vars ); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1207:18: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1223:30: error: use of undeclared identifier '_algLoopLinearSolver103' double* algloop103Vars = _algLoopLinearSolver103->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1224:47: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions0103 = _algLoopLinearSolver103->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1225:46: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1226:5: error: use of undeclared identifier '_algLoop103' _algLoop103->getReal(algloop103Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1230:10: error: use of undeclared identifier '_algLoop103' _algLoop103->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1238:16: error: use of undeclared identifier '_algLoopNonLinearSolver103' _algLoopNonLinearSolver103->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1246:42: error: use of undeclared identifier '_conditions1103'; did you mean 'conditions1103'? restart103 = !std::equal (_conditions1103, _conditions1103+_dimZeroFunc,_conditions0103); ^~~~~~~~~~~~~~~ conditions1103 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1225:29: note: 'conditions1103' declared here bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o] Error 1