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.04189/0.04189, allocations: 9.128 MB / 28.99 MB, free: 0.8086 MB / 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.0008047/0.0008047, allocations: 90.72 kB / 35.33 MB, free: 1.074 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.001038/0.001038, allocations: 164.5 kB / 38.73 MB, free: 2.508 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.01/1.01, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.004342/0.004342, allocations: 0.8262 MB / 276.5 MB, free: 0.7188 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.713/1.713, allocations: 274.9 MB / 0.5419 GB, free: 0.5977 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 3.827e-06/3.827e-06, allocations: 11.92 kB / 0.6378 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.388e-06/1.322e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.Machines.Examples.InductionMotor): time 0.002573/0.002586, allocations: 2.367 MB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.003534, allocations: 0.7363 MB / 0.6409 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.003649, allocations: 7.938 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.003753, allocations: 35.66 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.004035, allocations: 127.7 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.004198, allocations: 103.6 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.004437, allocations: 354.7 kB / 0.6415 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.00455, allocations: 55.03 kB / 0.6415 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.004769, allocations: 203.5 kB / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.004939, allocations: 139.6 kB / 0.6419 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.004974, allocations: 28 kB / 0.6419 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.01e-05/0.005004, allocations: 32 kB / 0.6419 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.00505, allocations: 75.72 kB / 0.642 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.119e-05/0.005122, allocations: 99.72 kB / 0.6421 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.005336, allocations: 211.2 kB / 0.6423 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.005338, allocations: 0 / 0.6423 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005339, allocations: 0 / 0.6423 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.005342, allocations: 8 kB / 0.6423 GB, free: 9.531 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.0006256/0.005968, allocations: 467.6 kB / 0.6427 GB, free: 9.051 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.005996, allocations: 15.98 kB / 0.6427 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.00605, allocations: 36.91 kB / 0.6428 GB, free: 9 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.006274, allocations: 209.8 kB / 0.643 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.006335, allocations: 84.39 kB / 0.6431 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.006363, allocations: 16.38 kB / 0.6431 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.006551, allocations: 183 kB / 0.6433 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.006562, allocations: 192 / 0.6433 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.006579, allocations: 12.12 kB / 0.6433 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.006587, allocations: 4 kB / 0.6433 GB, free: 8.453 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.006701, allocations: 84.75 kB / 0.6433 GB, free: 8.371 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.007284, allocations: 0.5377 MB / 0.6439 GB, free: 7.809 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.007414, allocations: 90.47 kB / 0.644 GB, free: 7.711 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.594e-05/0.007459, allocations: 36.84 kB / 0.644 GB, free: 7.672 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.007474, allocations: 7.938 kB / 0.644 GB, free: 7.664 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.007589, allocations: 107.6 kB / 0.6441 GB, free: 7.547 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.00759, allocations: 0 / 0.6441 GB, free: 7.547 MB / 0.6043 GB Notification: Performance of matching and sorting (n=21): time 0.0007341/0.008325, allocations: 425.1 kB / 0.6445 GB, free: 7.098 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.008351, allocations: 55.41 kB / 0.6446 GB, free: 7.031 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.008477, allocations: 202.3 kB / 0.6448 GB, free: 6.82 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.008493, allocations: 29.7 kB / 0.6448 GB, free: 6.785 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.008545, allocations: 144.4 kB / 0.6449 GB, free: 6.641 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.00858, allocations: 63.42 kB / 0.645 GB, free: 6.578 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.008636, allocations: 49.91 kB / 0.645 GB, free: 6.52 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.008705, allocations: 338.7 kB / 0.6454 GB, free: 6.18 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.008747, allocations: 28.45 kB / 0.6454 GB, free: 6.152 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-05/0.008807, allocations: 70.05 kB / 0.6454 GB, free: 6.066 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.008927, allocations: 137 kB / 0.6456 GB, free: 5.914 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.008928, allocations: 0 / 0.6456 GB, free: 5.914 MB / 0.6043 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004803/0.009409, allocations: 158.3 kB / 0.6457 GB, free: 5.75 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.009422, allocations: 8 kB / 0.6457 GB, free: 5.742 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.009426, allocations: 0 / 0.6457 GB, free: 5.742 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001032/0.009529, allocations: 40.97 kB / 0.6458 GB, free: 5.699 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.009683, allocations: 59.89 kB / 0.6458 GB, free: 5.641 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005704/0.01025, allocations: 1.162 MB / 0.647 GB, free: 4.395 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01036, allocations: 20.11 kB / 0.647 GB, free: 4.375 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01037, allocations: 4 kB / 0.647 GB, free: 4.371 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 7.768e-05/0.01045, allocations: 125.8 kB / 0.6471 GB, free: 4.238 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.01047, allocations: 15.98 kB / 0.6471 GB, free: 4.223 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.0105, allocations: 25.97 kB / 0.6472 GB, free: 4.195 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.0105, allocations: 7.938 kB / 0.6472 GB, free: 4.188 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.0105, allocations: 0 / 0.6472 GB, free: 4.188 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01051, allocations: 3.984 kB / 0.6472 GB, free: 4.184 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.01089, allocations: 367.6 kB / 0.6475 GB, free: 3.793 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01089, allocations: 0 / 0.6475 GB, free: 3.793 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.01101, allocations: 43.95 kB / 0.6476 GB, free: 3.75 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.807e-05/0.01108, allocations: 36.81 kB / 0.6476 GB, free: 3.711 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01109, allocations: 4 kB / 0.6476 GB, free: 3.707 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000515/0.01161, allocations: 1.174 MB / 0.6487 GB, free: 2.441 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01161, allocations: 4 kB / 0.6487 GB, free: 2.438 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.01188, allocations: 297 kB / 0.649 GB, free: 2.129 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.0119, allocations: 19.89 kB / 0.649 GB, free: 2.109 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.01192, allocations: 3.938 kB / 0.6491 GB, free: 2.105 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01203, allocations: 16.09 kB / 0.6491 GB, free: 2.09 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.01207, allocations: 19.95 kB / 0.6491 GB, free: 2.07 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.01208, allocations: 7.984 kB / 0.6491 GB, free: 2.062 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 5.645e-05/0.01213, allocations: 66.05 kB / 0.6492 GB, free: 1.996 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.01213, allocations: 0 / 0.6492 GB, free: 1.996 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001737/0.01231, allocations: 52 kB / 0.6492 GB, free: 1.945 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 6.675e-05/0.01237, allocations: 84.34 kB / 0.6493 GB, free: 1.855 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.01263, allocations: 227.5 kB / 0.6495 GB, free: 1.617 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.01264, allocations: 0 / 0.6495 GB, free: 1.617 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.01277, allocations: 183.3 kB / 0.6497 GB, free: 1.422 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.01294, allocations: 35.97 kB / 0.6497 GB, free: 1.387 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008742/0.01381, allocations: 0.5123 MB / 0.6502 GB, free: 0.8438 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.01385, allocations: 80.31 kB / 0.6503 GB, free: 0.7461 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 8.793e-05/0.01394, allocations: 29.95 kB / 0.6503 GB, free: 0.7188 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.01405, allocations: 83.34 kB / 0.6504 GB, free: 0.6367 MB / 0.6043 GB Notification: Performance of SimCode: time 6.81e-07/0.01405, allocations: 0 / 0.6504 GB, free: 0.6367 MB / 0.6043 GB Notification: Performance of Templates: time 0.005024/0.01908, allocations: 3.484 MB / 0.6538 GB, free: 13.15 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.Machines.Examples.InductionMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.580644826870412]