Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.conf.json 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.001489/0.001489, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.02/1.02, allocations: 177.1 MB / 200 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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.001217/0.001217, allocations: 156.6 kB / 256.6 MB, free: 12.98 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03362/0.03362, allocations: 6.663 MB / 319.8 MB, free: 11.75 MB / 298.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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) Running command: translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") translateModel(HanserModelica.InductionMachines.IMC_Inverter2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=35000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 391.7 MB, free: 3.773 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.732e-05, allocations: 5.688 kB / 391.7 MB, free: 3.77 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01113/0.01115, allocations: 13.55 MB / 405.2 MB, free: 6.152 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007385/0.01853, allocations: 4.544 MB / 409.8 MB, free: 1.594 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.01987, allocations: 111.3 kB / 409.9 MB, free: 1.484 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.02182, allocations: 1.048 MB / 410.9 MB, free: 440 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.0247, allocations: 1.327 MB / 412.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.02609, allocations: 0.9145 MB / 413.2 MB, free: 14.18 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003646/0.02974, allocations: 4.271 MB / 417.4 MB, free: 9.887 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.03173, allocations: 1.906 MB / 419.3 MB, free: 7.91 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.03481, allocations: 2.944 MB / 422.3 MB, free: 4.961 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.0367, allocations: 1.996 MB / 424.3 MB, free: 2.961 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004287/0.03712, allocations: 0.5195 MB / 424.8 MB, free: 2.441 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009284/0.03805, allocations: 0.7377 MB / 425.5 MB, free: 1.703 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006625/0.03872, allocations: 1.196 MB / 426.7 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.03987, allocations: 1.497 MB / 428.2 MB, free: 15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003029/0.0429, allocations: 3.559 MB / 431.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.0429, allocations: 0 / 431.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0429, allocations: 0 / 431.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.04293, allocations: 0 / 431.8 MB, free: 11.43 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.005798/0.04873, allocations: 4.715 MB / 436.5 MB, free: 6.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.04877, allocations: 12.02 kB / 436.5 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/0.05133, allocations: 1.255 MB / 437.8 MB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.05386, allocations: 2.367 MB / 440.1 MB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.05398, allocations: 251.1 kB / 440.4 MB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.05432, allocations: 336.3 kB / 440.7 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1513/0.2056, allocations: 2.692 MB / 443.4 MB, free: 138.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.2057, allocations: 4.906 kB / 443.4 MB, free: 138.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.2059, allocations: 134.1 kB / 443.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.2061, allocations: 157.4 kB / 443.7 MB, free: 138.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003366/0.2095, allocations: 1.261 MB / 445 MB, free: 138.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.2226, allocations: 11.34 MB / 456.3 MB, free: 134.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.2252, allocations: 1.829 MB / 458.1 MB, free: 134.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009125/0.2261, allocations: 0.6378 MB / 458.8 MB, free: 134 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002644/0.2288, allocations: 2.179 MB / 460.9 MB, free: 132.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.2288, allocations: 52.53 kB / 461 MB, free: 132.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 2.054e-06/0.2288, allocations: 0 / 461 MB, free: 132.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.004603/0.2334, allocations: 3.167 MB / 464.2 MB, free: 131.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.2334, allocations: 66.03 kB / 464.2 MB, free: 131.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.2346, allocations: 1.346 MB / 465.6 MB, free: 130.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.2346, allocations: 45.14 kB / 465.6 MB, free: 130.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000597/0.2352, allocations: 1.631 MB / 467.2 MB, free: 129.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.2354, allocations: 449.2 kB / 467.7 MB, free: 129.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.2357, allocations: 309.6 kB / 468 MB, free: 129.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.079e-05/0.2357, allocations: 483.8 kB / 468.5 MB, free: 128.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.2361, allocations: 226.1 kB / 468.7 MB, free: 128.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/0.2366, allocations: 0.9821 MB / 469.7 MB, free: 127.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009883/0.2376, allocations: 1.302 MB / 471 MB, free: 126.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.2376, allocations: 5.438 kB / 471 MB, free: 126.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001524/0.2391, allocations: 1.366 MB / 472.3 MB, free: 126.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2391, allocations: 12.94 kB / 472.3 MB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.2391, allocations: 19.64 kB / 472.4 MB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.2394, allocations: 111.2 kB / 472.5 MB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.2401, allocations: 388.2 kB / 472.9 MB, free: 126.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.2413, allocations: 3.922 MB / 476.8 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.2418, allocations: 73.61 kB / 476.8 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/0.2419, allocations: 67.88 kB / 476.9 MB, free: 122.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004293/0.2423, allocations: 265.6 kB / 477.2 MB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.2425, allocations: 201 kB / 477.4 MB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.2439, allocations: 1.181 MB / 478.6 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.2439, allocations: 16.64 kB / 478.6 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.2439, allocations: 10.16 kB / 478.6 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2439, allocations: 3.984 kB / 478.6 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003522/0.2474, allocations: 3.359 MB / 481.9 MB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.2475, allocations: 4 kB / 481.9 MB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.2478, allocations: 159.3 kB / 482.1 MB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007286/0.2485, allocations: 406.5 kB / 482.5 MB, free: 117.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.2486, allocations: 35.98 kB / 482.5 MB, free: 117.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004308/0.2529, allocations: 11.44 MB / 494 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2529, allocations: 4 kB / 494 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.2547, allocations: 1.599 MB / 495.6 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.255, allocations: 298.1 kB / 495.9 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2551, allocations: 31.98 kB / 495.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.2554, allocations: 51.97 kB / 495.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.2556, allocations: 108.7 kB / 496.1 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.2557, allocations: 35.98 kB / 496.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000656/0.2563, allocations: 0.7637 MB / 496.8 MB, free: 103 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2563, allocations: 0 / 496.8 MB, free: 103 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001324/0.2576, allocations: 0.5449 MB / 497.4 MB, free: 102.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002511/0.2579, allocations: 161.1 kB / 497.6 MB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.2592, allocations: 1.201 MB / 498.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2592, allocations: 4.062 kB / 498.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009977/0.2602, allocations: 1.47 MB / 0.4885 GB, free: 99.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.2612, allocations: 473.3 kB / 0.489 GB, free: 99.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005576/0.2668, allocations: 5.001 MB / 0.4938 GB, free: 94.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.2674, allocations: 0.8067 MB / 0.4946 GB, free: 93.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005711/0.2679, allocations: 322.6 kB / 0.4949 GB, free: 92.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.2681, allocations: 120.5 kB / 0.495 GB, free: 92.8 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2681, allocations: 4 kB / 0.4951 GB, free: 92.79 MB / 410.7 MB Notification: Performance of Templates: time 0.02822/0.2963, allocations: 25.55 MB / 0.52 GB, free: 67.71 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.780576268211007]