Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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.0007957/0.0007957, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001841, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.9883/0.9883, allocations: 177.2 MB / 188.4 MB, free: 4.391 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2456/1.234, allocations: 53.65 MB / 242 MB, free: 2.602 MB / 234.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.001262/0.001262, allocations: 159.9 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001905/0.003167, allocations: 474.8 kB / 243.4 MB, free: 1.273 MB / 234.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.02672/0.02672, allocations: 6.656 MB / 250.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00809/0.03481, allocations: 2.657 MB / 253.5 MB, free: 7.402 MB / 250.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_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") translateModel(HanserModelica.InductionMachines.IMC_Inverter1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 254.8 MB, free: 6.102 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/2.987e-05, allocations: 2.312 kB / 254.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01323/0.01326, allocations: 13.34 MB / 268.1 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.02496, allocations: 4.714 MB / 272.8 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/0.02874, allocations: 111.3 kB / 272.9 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.03224, allocations: 1.079 MB / 274 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005497/0.03773, allocations: 1.323 MB / 275.3 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003287/0.04102, allocations: 0.8941 MB / 276.2 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006528/0.04755, allocations: 4.305 MB / 280.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002936/0.05048, allocations: 1.957 MB / 282.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006563/0.05705, allocations: 3.182 MB / 285.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00386/0.06091, allocations: 2.011 MB / 287.7 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001446/0.06235, allocations: 0.5195 MB / 288.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.06473, allocations: 0.7495 MB / 288.9 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.06601, allocations: 0.9586 MB / 289.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003436/0.06945, allocations: 1.248 MB / 291.1 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006193/0.07564, allocations: 3.361 MB / 294.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.682e-05/0.07566, allocations: 0 / 294.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.07566, allocations: 0 / 294.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001421/0.0758, allocations: 0 / 294.5 MB, free: 14.11 MB / 298.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.01047/0.08627, allocations: 5.154 MB / 299.7 MB, free: 8.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.08632, allocations: 8.031 kB / 299.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004031/0.09035, allocations: 1.124 MB / 300.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.09414, allocations: 1.486 MB / 302.3 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.09434, allocations: 255.1 kB / 302.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005188/0.09486, allocations: 344.2 kB / 302.9 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004708/0.09956, allocations: 2.531 MB / 305.4 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-05/0.09964, allocations: 7.953 kB / 305.4 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/0.09991, allocations: 140 kB / 305.5 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001707/0.1001, allocations: 150.7 kB / 305.7 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.1025, allocations: 0.9846 MB / 306.7 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.1182, allocations: 9.058 MB / 315.7 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.1206, allocations: 1.552 MB / 317.3 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007023/0.1213, allocations: 0.5134 MB / 317.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.1215, allocations: 61.27 kB / 317.8 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.1215, allocations: 51.88 kB / 317.9 MB, free: 6.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 6.262e-06/0.1215, allocations: 0 / 317.9 MB, free: 6.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.006639/0.1282, allocations: 2.968 MB / 320.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.1282, allocations: 72.66 kB / 320.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.1294, allocations: 1.088 MB / 322 MB, free: 1.891 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/0.1295, allocations: 53.7 kB / 322.1 MB, free: 1.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006126/0.1301, allocations: 1.276 MB / 323.4 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/0.1304, allocations: 0.5693 MB / 323.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.1308, allocations: 323.2 kB / 324.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.1308, allocations: 301.1 kB / 324.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.1312, allocations: 206.7 kB / 324.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.1317, allocations: 0.7073 MB / 325.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.1329, allocations: 1.132 MB / 326.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.1329, allocations: 8 kB / 326.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=238) (initialization): time 0.002074/0.135, allocations: 1.085 MB / 327.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.135, allocations: 12.06 kB / 327.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.135, allocations: 16 kB / 327.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.1354, allocations: 102.4 kB / 327.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.137, allocations: 0.5188 MB / 328.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.1389, allocations: 2.818 MB / 331.1 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009354/0.1399, allocations: 64.11 kB / 331.2 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.14, allocations: 63.98 kB / 331.3 MB, free: 7.988 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (231): * Single equations (assignments): 228 * 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.0007882/0.1408, allocations: 228 kB / 331.5 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.141, allocations: 159.8 kB / 331.6 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.1424, allocations: 1.05 MB / 332.7 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.1424, allocations: 19.94 kB / 332.7 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.1424, allocations: 8 kB / 332.7 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.1424, allocations: 7.969 kB / 332.7 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003992/0.1464, allocations: 2.592 MB / 335.3 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.1464, allocations: 4 kB / 335.3 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.1471, allocations: 253.6 kB / 335.6 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/0.1476, allocations: 198.7 kB / 335.8 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007648/0.1484, allocations: 348.1 kB / 336.1 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/0.1484, allocations: 47.98 kB / 336.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1951/0.3435, allocations: 8.242 MB / 344.4 MB, free: 49.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/0.3435, allocations: 4.688 kB / 344.4 MB, free: 49.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.3462, allocations: 1.472 MB / 345.9 MB, free: 49.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.3465, allocations: 42.48 kB / 345.9 MB, free: 49.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/0.347, allocations: 55.58 kB / 346 MB, free: 49.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.3473, allocations: 127 kB / 346.1 MB, free: 49.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/0.3474, allocations: 36.09 kB / 346.1 MB, free: 49.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007896/0.3482, allocations: 0.5421 MB / 346.7 MB, free: 49.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3482, allocations: 0.7656 kB / 346.7 MB, free: 49.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001867/0.35, allocations: 0.5747 MB / 347.2 MB, free: 49.05 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (123): * Single equations (assignments): 118 * 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,8,100.0%), (1,13,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.0003384/0.3504, allocations: 153.6 kB / 347.4 MB, free: 48.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.352, allocations: 1.077 MB / 348.5 MB, free: 48.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.957e-05/0.3521, allocations: 28.72 kB / 348.5 MB, free: 48.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.3534, allocations: 1.277 MB / 349.8 MB, free: 48.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.3558, allocations: 4.681 MB / 354.4 MB, free: 43.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/0.3778, allocations: 5.207 MB / 359.7 MB, free: 41.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.3786, allocations: 0.6775 MB / 360.3 MB, free: 41.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001015/0.3796, allocations: 262.2 kB / 360.6 MB, free: 41.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007823/0.3804, allocations: 476.9 kB / 361.1 MB, free: 41.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3804, allocations: 0.875 kB / 361.1 MB, free: 41.04 MB / 330.7 MB Notification: Performance of Templates: time 0.04309/0.4235, allocations: 30.56 MB / 391.6 MB, free: 19.16 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.978750353679061]