Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.conf.json 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.03095/0.03095, allocations: 6.475 MB / 25.57 MB, free: 3.57 MB / 18.57 MB " [Timeout remaining time 180] 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.0007179/0.0007179, allocations: 83.72 kB / 30.8 MB, free: 4.949 MB / 24.77 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.0008836/0.0008836, allocations: 157.2 kB / 36.13 MB, free: 6.848 MB / 24.77 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 0.8708/0.8708, allocations: 177.1 MB / 218.5 MB, free: 13.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.0111/0.0111, allocations: 2.508 MB / 279.5 MB, free: 0.5117 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 408.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.683e-05, allocations: 2.281 kB / 408.8 MB, free: 14.16 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.007342/0.007359, allocations: 8.653 MB / 417.5 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.01153, allocations: 2.641 MB / 420.1 MB, free: 2.816 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007654/0.0123, allocations: 67.56 kB / 420.2 MB, free: 2.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008562/0.01315, allocations: 492.3 kB / 420.7 MB, free: 2.266 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.01435, allocations: 0.737 MB / 421.4 MB, free: 1.523 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007223/0.01507, allocations: 0.5537 MB / 421.9 MB, free: 0.9688 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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. Notification: Performance of NFFlatten.flatten: time 0.14/0.1551, allocations: 2.751 MB / 424.7 MB, free: 17.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.1565, allocations: 1.28 MB / 426 MB, free: 17.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.1587, allocations: 1.805 MB / 427.8 MB, free: 17.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.1601, allocations: 1.218 MB / 429 MB, free: 17.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003997/0.1605, allocations: 334.3 kB / 429.3 MB, free: 17.14 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006318/0.1611, allocations: 433.2 kB / 429.8 MB, free: 17.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005586/0.1617, allocations: 0.8907 MB / 430.6 MB, free: 16.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008908/0.1626, allocations: 0.9833 MB / 431.6 MB, free: 16.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003488/0.1661, allocations: 4.239 MB / 435.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1661, allocations: 0.9062 kB / 435.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1661, allocations: 0 / 435.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.631e-05/0.1662, allocations: 1 kB / 435.9 MB, free: 14.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.004383/0.1706, allocations: 2.877 MB / 438.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.1706, allocations: 9.812 kB / 438.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003385/0.1709, allocations: 337.7 kB / 439.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006171/0.1716, allocations: 304.3 kB / 439.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.1734, allocations: 1.421 MB / 440.8 MB, free: 12.11 MB / 330.7 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.0001978/0.1736, allocations: 295.9 kB / 441.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.1738, allocations: 237.1 kB / 441.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/0.1771, allocations: 3.108 MB / 444.4 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/0.1771, allocations: 2.25 kB / 444.4 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.1773, allocations: 97.06 kB / 444.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.671e-05/0.1774, allocations: 110.2 kB / 444.6 MB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.18, allocations: 2.357 MB / 447 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007481/0.1875, allocations: 7.812 MB / 454.8 MB, free: 3.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.1889, allocations: 1.333 MB / 456.1 MB, free: 1.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008994/0.1898, allocations: 0.8889 MB / 457 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.19, allocations: 44.88 kB / 457.1 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007882/0.1907, allocations: 0.8914 MB / 458 MB, free: 15.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 3.186e-06/0.1907, allocations: 4 kB / 458 MB, free: 15.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=121): time 0.009365/0.2001, allocations: 6.451 MB / 464.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.2002, allocations: 244.3 kB / 464.7 MB, free: 9.07 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.2015, allocations: 1.21 MB / 465.9 MB, free: 7.852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/0.2015, allocations: 49.7 kB / 465.9 MB, free: 7.797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000685/0.2022, allocations: 1.038 MB / 466.9 MB, free: 6.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.2025, allocations: 433.7 kB / 467.4 MB, free: 6.336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.2027, allocations: 267.5 kB / 467.6 MB, free: 6.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.2028, allocations: 301.1 kB / 467.9 MB, free: 5.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007583/0.2036, allocations: 0.7325 MB / 468.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009561/0.2045, allocations: 1.306 MB / 470 MB, free: 3.516 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004538/0.2091, allocations: 3.556 MB / 473.5 MB, free: 15.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.2091, allocations: 0 / 473.5 MB, free: 15.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002769/0.2118, allocations: 2.502 MB / 476 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/0.2119, allocations: 41.69 kB / 476.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.2119, allocations: 12 kB / 476.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006753/0.2126, allocations: 0.4979 MB / 476.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.2131, allocations: 307.9 kB / 476.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004989/0.2181, allocations: 8.332 MB / 485.2 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009999/0.2191, allocations: 135.9 kB / 485.3 MB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/0.2192, allocations: 58.38 kB / 485.4 MB, free: 3.602 MB / 362.7 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.001688/0.2209, allocations: 1.302 MB / 486.7 MB, free: 2.297 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009478/0.2218, allocations: 1.274 MB / 488 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004342/0.2262, allocations: 3.497 MB / 491.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.506e-06/0.2262, allocations: 0 / 491.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002712/0.2289, allocations: 2.451 MB / 493.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.2289, allocations: 39.58 kB / 494 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2289, allocations: 8.312 kB / 494 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/0.2296, allocations: 0.51 MB / 494.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.2301, allocations: 296 kB / 494.8 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004959/0.2351, allocations: 8.333 MB / 0.4913 GB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.2361, allocations: 135.9 kB / 0.4914 GB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.2362, allocations: 63.98 kB / 0.4915 GB, free: 1.016 MB / 378.7 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: 49 * 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 (155): * Single equations (assignments): 148 * 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.0003355/0.2366, allocations: 303.1 kB / 0.4918 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.2367, allocations: 143.1 kB / 0.4919 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.2391, allocations: 2.123 MB / 0.494 GB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.2391, allocations: 12 kB / 0.494 GB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2391, allocations: 8 kB / 0.494 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.2391, allocations: 3.984 kB / 0.494 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005028/0.2442, allocations: 4.367 MB / 0.4983 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.2442, allocations: 7.984 kB / 0.4983 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.2446, allocations: 198.2 kB / 0.4985 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007487/0.2454, allocations: 0.5188 MB / 0.499 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/0.2454, allocations: 43.98 kB / 0.499 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004882/0.2503, allocations: 8.152 MB / 0.507 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.2503, allocations: 4 kB / 0.507 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004896/0.2552, allocations: 3.157 MB / 0.5101 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.2564, allocations: 294.9 kB / 0.5104 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.2566, allocations: 39.98 kB / 0.5104 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.2571, allocations: 103.9 kB / 0.5105 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.2574, allocations: 115.6 kB / 0.5106 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/0.2574, allocations: 39.98 kB / 0.5106 GB, free: 12.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009265/0.2583, allocations: 0.799 MB / 0.5114 GB, free: 12.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.2583, allocations: 4 kB / 0.5114 GB, free: 12.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001959/0.2603, allocations: 0.789 MB / 0.5122 GB, free: 11.3 MB / 410.7 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 (102): * Single equations (assignments): 94 * 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.003561/0.2639, allocations: 3.797 MB / 0.5159 GB, free: 7.449 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005672/0.2695, allocations: 6.401 MB / 0.5222 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/0.2695, allocations: 4 kB / 0.5222 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002267/0.2718, allocations: 2.696 MB / 0.5248 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.2732, allocations: 395.8 kB / 0.5252 GB, free: 13.68 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.2865, allocations: 12.31 MB / 0.5372 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009554/0.2875, allocations: 1.271 MB / 0.5384 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008244/0.2883, allocations: 420 kB / 0.5388 GB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007293/0.289, allocations: 0.8674 MB / 0.5397 GB, free: 14.28 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.289, allocations: 0 / 0.5397 GB, free: 14.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2126/0.5016, allocations: 52.18 MB / 0.5906 GB, free: 152 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.714, allocations: 7.844 kB / 0.5906 GB, free: 152 MB / 474.7 MB " [Timeout remaining time 651] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.621247347444296] Failed to read output from testmodel.py, exit status != 0: 8.82433229777962 8.833752556 8.665791083 Calling exit ...