Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04186/0.04186, allocations: 9.13 MB / 28.99 MB, free: 332 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0009373/0.0009373, allocations: 98.36 kB / 35.33 MB, free: 0.9258 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.001227/0.001227, allocations: 168.1 kB / 38.73 MB, free: 2.375 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 1.016/1.016, allocations: 177.1 MB / 219.2 MB, free: 10.13 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003953/0.003953, allocations: 0.8186 MB / 276.5 MB, free: 0.7617 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.692/1.692, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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 Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Electrical.Machines.Examples.InductionMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Machines.Examples.InductionMotor") translateModel(AixLib.Electrical.Machines.Examples.InductionMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Machines.Examples.InductionMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.163e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.Machines.Examples.InductionMotor): time 0.002998/0.00302, allocations: 2.328 MB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.00428, allocations: 0.7441 MB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.004415, allocations: 4 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.004543, allocations: 35.53 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.004871, allocations: 123.8 kB / 0.641 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.00508, allocations: 103.6 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.005364, allocations: 354.8 kB / 0.6414 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.005492, allocations: 51.03 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.005772, allocations: 215.4 kB / 0.6416 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.005956, allocations: 139.6 kB / 0.6418 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.005997, allocations: 32 kB / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.188e-05/0.006029, allocations: 28 kB / 0.6418 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.006083, allocations: 71.73 kB / 0.6419 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.006165, allocations: 99.72 kB / 0.642 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.006429, allocations: 203.2 kB / 0.6422 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.006431, allocations: 0 / 0.6422 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.232e-06/0.006432, allocations: 4 kB / 0.6422 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.006438, allocations: 3.938 kB / 0.6422 GB, free: 9.633 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007887/0.007227, allocations: 475.6 kB / 0.6427 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.00726, allocations: 15.98 kB / 0.6427 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.007319, allocations: 32.91 kB / 0.6427 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.007573, allocations: 213.8 kB / 0.6429 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/0.007641, allocations: 76.45 kB / 0.643 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.007673, allocations: 20.38 kB / 0.643 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.007877, allocations: 179 kB / 0.6432 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.007889, allocations: 192 / 0.6432 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.007908, allocations: 20.11 kB / 0.6432 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.007915, allocations: 4 kB / 0.6432 GB, free: 8.547 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.00803, allocations: 72.81 kB / 0.6433 GB, free: 8.477 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.008689, allocations: 0.5424 MB / 0.6438 GB, free: 7.91 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.008844, allocations: 98.38 kB / 0.6439 GB, free: 7.805 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.008896, allocations: 36.84 kB / 0.6439 GB, free: 7.766 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.008913, allocations: 4 kB / 0.6439 GB, free: 7.762 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.009042, allocations: 111.6 kB / 0.644 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=20): time 1.122e-06/0.009044, allocations: 0 / 0.644 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of matching and sorting (n=21): time 0.0008432/0.009887, allocations: 412.7 kB / 0.6444 GB, free: 7.203 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.009921, allocations: 63.34 kB / 0.6445 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.01006, allocations: 198.3 kB / 0.6447 GB, free: 6.922 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.01008, allocations: 29.7 kB / 0.6447 GB, free: 6.887 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.01014, allocations: 140.4 kB / 0.6448 GB, free: 6.746 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.01018, allocations: 75.41 kB / 0.6449 GB, free: 6.672 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.01025, allocations: 45.91 kB / 0.6449 GB, free: 6.617 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.01034, allocations: 334.7 kB / 0.6453 GB, free: 6.281 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-05/0.01038, allocations: 28.45 kB / 0.6453 GB, free: 6.254 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.87e-05/0.01045, allocations: 78.03 kB / 0.6454 GB, free: 6.16 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.0106, allocations: 125 kB / 0.6455 GB, free: 6.02 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.0106, allocations: 0 / 0.6455 GB, free: 6.02 MB / 0.6043 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002405/0.01084, allocations: 170.3 kB / 0.6456 GB, free: 5.844 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.01085, allocations: 8 kB / 0.6457 GB, free: 5.836 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01086, allocations: 0 / 0.6457 GB, free: 5.836 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.01098, allocations: 40.94 kB / 0.6457 GB, free: 5.793 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.01111, allocations: 47.89 kB / 0.6457 GB, free: 5.746 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009308/0.01204, allocations: 1.166 MB / 0.6469 GB, free: 4.496 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01215, allocations: 15.98 kB / 0.6469 GB, free: 4.48 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.01216, allocations: 8.125 kB / 0.6469 GB, free: 4.473 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,inductionMachine.SwitchOnOff,inductionMachine.OpMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.662e-05/0.01225, allocations: 129.7 kB / 0.647 GB, free: 4.336 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.01228, allocations: 19.98 kB / 0.647 GB, free: 4.316 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.0123, allocations: 25.95 kB / 0.6471 GB, free: 4.289 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01231, allocations: 4 kB / 0.6471 GB, free: 4.285 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.01231, allocations: 3.938 kB / 0.6471 GB, free: 4.281 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01232, allocations: 0 / 0.6471 GB, free: 4.281 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.01274, allocations: 367.7 kB / 0.6474 GB, free: 3.891 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01274, allocations: 4 kB / 0.6474 GB, free: 3.887 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.01286, allocations: 31.97 kB / 0.6475 GB, free: 3.855 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.183e-05/0.01294, allocations: 28.84 kB / 0.6475 GB, free: 3.824 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01295, allocations: 7.984 kB / 0.6475 GB, free: 3.816 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005946/0.01355, allocations: 1.174 MB / 0.6486 GB, free: 2.551 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01355, allocations: 3.984 kB / 0.6486 GB, free: 2.547 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.01385, allocations: 284.8 kB / 0.6489 GB, free: 2.25 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.01387, allocations: 15.91 kB / 0.6489 GB, free: 2.234 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.01389, allocations: 4 kB / 0.6489 GB, free: 2.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.014, allocations: 11.92 kB / 0.649 GB, free: 2.219 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.01404, allocations: 28.05 kB / 0.649 GB, free: 2.191 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.01406, allocations: 4 kB / 0.649 GB, free: 2.188 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.759e-05/0.01412, allocations: 70.03 kB / 0.649 GB, free: 2.117 MB / 0.6043 GB Notification: Performance of sort global known variables: time 3e-08/0.01412, allocations: 0 / 0.649 GB, free: 2.117 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001884/0.01431, allocations: 56 kB / 0.6491 GB, free: 2.062 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductionMachine.inertia.phi,inductionMachine.inertia.w) * Number of discrete variables: 4 ($whenCondition1,inductionMachine.OpMode,inductionMachine.SwitchOnOff,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.39e-05/0.01441, allocations: 80.34 kB / 0.6492 GB, free: 1.977 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.0147, allocations: 239.9 kB / 0.6494 GB, free: 1.727 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.01471, allocations: 4 kB / 0.6494 GB, free: 1.723 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.01485, allocations: 179.4 kB / 0.6496 GB, free: 1.531 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.01504, allocations: 31.77 kB / 0.6496 GB, free: 1.5 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009731/0.01601, allocations: 0.5201 MB / 0.6501 GB, free: 0.9492 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.038e-05/0.01606, allocations: 76.33 kB / 0.6502 GB, free: 0.8555 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 9.293e-05/0.01615, allocations: 37.88 kB / 0.6502 GB, free: 0.8203 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.01628, allocations: 79.3 kB / 0.6503 GB, free: 0.7422 MB / 0.6043 GB Notification: Performance of SimCode: time 6.11e-07/0.01628, allocations: 0 / 0.6503 GB, free: 0.7422 MB / 0.6043 GB Notification: Performance of Templates: time 0.005956/0.02223, allocations: 3.434 MB / 0.6537 GB, free: 13.3 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.pipe ; mkfifo AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.pipe >> ../files/AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.sim & ./AixLib_AixLib.Electrical.Machines.Examples.InductionMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.663519857916981]