Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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-main/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_main_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_main_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 1.487/1.487, allocations: 8.018 MB / 23.49 MB, free: 0.6133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 111.7 kB / 26.06 MB, free: 3.527 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.001983/0.001983, allocations: 186.3 kB / 28.73 MB, free: 0.8633 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.471/1.471, allocations: 222.9 MB / 254.2 MB, free: 4.844 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.9559/0.9559, allocations: 3.123 MB / 309.2 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 91.86 kB / 373.6 MB, free: 1.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2203, allocations: 51.97 MB / 425.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008793/0.2291, allocations: 9.032 MB / 434.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004106/0.2333, allocations: 2.544 MB / 437.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.2341, allocations: 47.81 kB / 437.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009641/0.2351, allocations: 456.6 kB / 437.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.2365, allocations: 0.6482 MB / 438.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008132/0.2373, allocations: 0.4897 MB / 438.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.239, allocations: 2.444 MB / 441.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.2406, allocations: 2.057 MB / 443.3 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.2421, allocations: 1.082 MB / 444.4 MB, free: 2.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.2436, allocations: 1.311 MB / 445.7 MB, free: 1.094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003967/0.2441, allocations: 296 kB / 446 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007519/0.2448, allocations: 387.8 kB / 446.4 MB, free: 436 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007351/0.2456, allocations: 0.787 MB / 447.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.2473, allocations: 1.287 MB / 448.5 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00446/0.2517, allocations: 3.665 MB / 452.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2518, allocations: 0 / 452.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2518, allocations: 0 / 452.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.045e-05/0.2518, allocations: 4 kB / 452.1 MB, free: 10.66 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.00624/0.2581, allocations: 2.689 MB / 454.8 MB, free: 7.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2581, allocations: 8.031 kB / 454.8 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003359/0.2585, allocations: 303.6 kB / 455.1 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007996/0.2593, allocations: 262.1 kB / 455.4 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.2615, allocations: 1.29 MB / 456.7 MB, free: 5.992 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.0003305/0.2618, allocations: 219.4 kB / 456.9 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003022/0.2621, allocations: 203.9 kB / 457.1 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004468/0.2666, allocations: 2.698 MB / 459.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.057e-05/0.2667, allocations: 7.984 kB / 459.8 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.2669, allocations: 84 kB / 459.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.2671, allocations: 99.97 kB / 460 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004335/0.2715, allocations: 2.209 MB / 462.2 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01362/0.2851, allocations: 7.953 MB / 470.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.288, allocations: 1.585 MB / 471.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.2898, allocations: 0.945 MB / 472.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.2901, allocations: 122.1 kB / 472.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/0.2915, allocations: 0.7694 MB / 473.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.485e-06/0.2915, allocations: 0 / 473.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01515/0.3067, allocations: 6.605 MB / 480.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001833/0.3069, allocations: 248.3 kB / 480.4 MB, free: 13.62 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: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.10177640614116878 / (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.10177640614116878 / (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: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.00169/0.3086, allocations: 1.203 MB / 481.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.3089, allocations: 53.64 kB / 481.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007974/0.3097, allocations: 0.9153 MB / 482.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.31, allocations: 402.3 kB / 483 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.3104, allocations: 246.8 kB / 483.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002799/0.3107, allocations: 357.9 kB / 483.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.312, allocations: 0.7093 MB / 484.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.3135, allocations: 1.093 MB / 485.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009085/0.3226, allocations: 3.57 MB / 488.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.3227, allocations: 7.938 kB / 488.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004747/0.3274, allocations: 2.508 MB / 491.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.3275, allocations: 37.7 kB / 491.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.3275, allocations: 11.98 kB / 491.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.3288, allocations: 0.5035 MB / 492 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.33, allocations: 295.6 kB / 492.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008836/0.3389, allocations: 8.809 MB / 0.4893 GB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.3404, allocations: 127.9 kB / 0.4895 GB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.3405, allocations: 51.98 kB / 0.4895 GB, free: 7.766 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.002337/0.3429, allocations: 1.23 MB / 0.4907 GB, free: 6.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001488/0.3444, allocations: 1.066 MB / 0.4918 GB, free: 5.309 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009022/0.3534, allocations: 3.5 MB / 0.4952 GB, free: 1.648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.428e-06/0.3534, allocations: 7.938 kB / 0.4952 GB, free: 1.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004525/0.3579, allocations: 2.469 MB / 0.4976 GB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.358, allocations: 37.69 kB / 0.4976 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.358, allocations: 15.94 kB / 0.4976 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.3592, allocations: 0.5029 MB / 0.4981 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.3603, allocations: 287.5 kB / 0.4984 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008654/0.369, allocations: 8.786 MB / 0.507 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.3706, allocations: 131.9 kB / 0.5071 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.897e-05/0.3707, allocations: 56 kB / 0.5072 GB, free: 4.738 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.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.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 (147): * Single equations (assignments): 140 * 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.0005321/0.3712, allocations: 297.3 kB / 0.5075 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.3715, allocations: 134.4 kB / 0.5076 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.3756, allocations: 2.187 MB / 0.5097 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3757, allocations: 12 kB / 0.5097 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3757, allocations: 7.938 kB / 0.5097 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.3757, allocations: 7.969 kB / 0.5097 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1732/0.5489, allocations: 4.595 MB / 0.5142 GB, free: 84.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.5489, allocations: 5.516 kB / 0.5142 GB, free: 84.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009143/0.5499, allocations: 192.6 kB / 0.5144 GB, free: 84.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.5512, allocations: 0.5272 MB / 0.5149 GB, free: 84.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/0.5513, allocations: 33.25 kB / 0.515 GB, free: 84.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00692/0.5582, allocations: 8.616 MB / 0.5234 GB, free: 78.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5582, allocations: 7.906 kB / 0.5234 GB, free: 78.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004996/0.5632, allocations: 3.215 MB / 0.5265 GB, free: 76.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007487/0.564, allocations: 361 kB / 0.5269 GB, free: 76.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.5642, allocations: 36.97 kB / 0.5269 GB, free: 76.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.5652, allocations: 99.91 kB / 0.527 GB, free: 76.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.5655, allocations: 115 kB / 0.5271 GB, free: 76.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-05/0.5655, allocations: 38.36 kB / 0.5271 GB, free: 76.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001227/0.5668, allocations: 0.7949 MB / 0.5279 GB, free: 76.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.5668, allocations: 0 / 0.5279 GB, free: 76.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002331/0.5691, allocations: 0.7475 MB / 0.5287 GB, free: 76.18 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,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 90 * 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.004823/0.574, allocations: 3.854 MB / 0.5324 GB, free: 74.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009013/0.583, allocations: 6.673 MB / 0.5389 GB, free: 68.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.583, allocations: 3.062 kB / 0.5389 GB, free: 68.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00362/0.5866, allocations: 2.837 MB / 0.5417 GB, free: 65.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.5884, allocations: 396.5 kB / 0.5421 GB, free: 65.38 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1962:3-1962:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/0.6065, allocations: 12.96 MB / 0.5547 GB, free: 51.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.6076, allocations: 1.737 MB / 0.5564 GB, free: 50.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00119/0.6088, allocations: 415.6 kB / 0.5568 GB, free: 49.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007659/0.6096, allocations: 0.7766 MB / 0.5576 GB, free: 48.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.605e-06/0.6096, allocations: 0 / 0.5576 GB, free: 48.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.605/2.215, allocations: 46.95 MB / 0.6034 GB, free: 2.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/17.94, allocations: 0 / 0.6034 GB, free: 2.297 MB / 382.1 MB (rm -f EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_main_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTexamples_main_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)