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.0007378/0.0007378, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.8744/0.8744, allocations: 177.2 MB / 200.2 MB, free: 5.938 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.001633/0.001633, allocations: 168.6 kB / 256.7 MB, free: 13.34 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.0231/0.0231, allocations: 6.667 MB / 319.8 MB, free: 26.75 MB / 266.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 2.074e-06/2.074e-06, allocations: 0 / 446.7 MB, free: 37.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.786e-05, allocations: 2.281 kB / 446.7 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01144/0.01146, allocations: 12.05 MB / 458.7 MB, free: 25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008046/0.01951, allocations: 4.369 MB / 463.1 MB, free: 20.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.02166, allocations: 111.3 kB / 463.2 MB, free: 20.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.02407, allocations: 1.044 MB / 464.2 MB, free: 19.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.02763, allocations: 1.331 MB / 465.6 MB, free: 18.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.02955, allocations: 0.9014 MB / 466.5 MB, free: 17.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003662/0.03321, allocations: 4.287 MB / 470.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.03555, allocations: 1.906 MB / 472.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/0.03878, allocations: 2.913 MB / 475.6 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.04037, allocations: 1.804 MB / 477.4 MB, free: 6.215 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004459/0.04082, allocations: 0.5234 MB / 477.9 MB, free: 5.691 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007351/0.04155, allocations: 0.7378 MB / 478.6 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.04197, allocations: 1.176 MB / 479.8 MB, free: 3.773 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009671/0.04294, allocations: 1.481 MB / 481.3 MB, free: 2.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004034/0.04697, allocations: 7 MB / 488.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.04698, allocations: 0 / 488.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.04698, allocations: 3.938 kB / 488.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.742e-05/0.04703, allocations: 0 / 488.3 MB, free: 11.26 MB / 346.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.00584/0.05287, allocations: 4.44 MB / 492.7 MB, free: 6.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.05291, allocations: 8.031 kB / 492.8 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/0.05504, allocations: 0.8222 MB / 493.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.05772, allocations: 2.422 MB / 496 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.05783, allocations: 251.1 kB / 496.2 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005178/0.05835, allocations: 332.3 kB / 496.6 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004929/0.06328, allocations: 4.666 MB / 0.4895 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.394e-05/0.06333, allocations: 15.89 kB / 0.4895 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.06356, allocations: 144 kB / 0.4896 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.06366, allocations: 154.7 kB / 0.4898 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004276/0.06794, allocations: 3.809 MB / 0.4935 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.07969, allocations: 12.07 MB / 0.5053 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.08269, allocations: 2.413 MB / 0.5076 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.08385, allocations: 1.095 MB / 0.5087 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003097/0.08695, allocations: 2.778 MB / 0.5114 GB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.08698, allocations: 47.56 kB / 0.5115 GB, free: 7.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=115): time 3.136e-06/0.08698, allocations: 3.938 kB / 0.5115 GB, free: 7.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.00628/0.09326, allocations: 4.649 MB / 0.516 GB, free: 2.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.0933, allocations: 64.41 kB / 0.5161 GB, free: 2.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.09472, allocations: 1.518 MB / 0.5176 GB, free: 1.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.09477, allocations: 53.7 kB / 0.5176 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/0.09545, allocations: 1.546 MB / 0.5191 GB, free: 15.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.09567, allocations: 436.3 kB / 0.5195 GB, free: 14.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.09595, allocations: 283.5 kB / 0.5198 GB, free: 14.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.09619, allocations: 301.1 kB / 0.5201 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006653/0.09686, allocations: 0.6286 MB / 0.5207 GB, free: 13.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/0.09775, allocations: 1.16 MB / 0.5218 GB, free: 12.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.09938, allocations: 1.873 MB / 0.5237 GB, free: 10.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.09938, allocations: 7.938 kB / 0.5237 GB, free: 10.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002107/0.1015, allocations: 2.115 MB / 0.5257 GB, free: 8.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.1015, allocations: 12 kB / 0.5258 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.1015, allocations: 16 kB / 0.5258 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.1018, allocations: 142.8 kB / 0.5259 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.1025, allocations: 391.4 kB / 0.5263 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.1044, allocations: 3.101 MB / 0.5293 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.105, allocations: 80.06 kB / 0.5294 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/0.105, allocations: 75.94 kB / 0.5295 GB, free: 4.113 MB / 394.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.001257/0.1063, allocations: 1.048 MB / 0.5305 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.1064, allocations: 170.9 kB / 0.5306 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.1087, allocations: 1.874 MB / 0.5325 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1087, allocations: 12 kB / 0.5325 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.1087, allocations: 12 kB / 0.5325 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.1087, allocations: 3.984 kB / 0.5325 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/0.113, allocations: 3.896 MB / 0.5363 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.113, allocations: 128 / 0.5363 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.1134, allocations: 167.8 kB / 0.5365 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006295/0.114, allocations: 448.1 kB / 0.5369 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.114, allocations: 35.98 kB / 0.5369 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006581/0.1206, allocations: 10.33 MB / 0.547 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.1206, allocations: 4.031 kB / 0.547 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/0.1237, allocations: 2.691 MB / 0.5496 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006585/0.1243, allocations: 310.7 kB / 0.5499 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.1244, allocations: 35.98 kB / 0.55 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.1248, allocations: 55.95 kB / 0.55 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.125, allocations: 104.8 kB / 0.5501 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/0.1251, allocations: 35.98 kB / 0.5502 GB, free: 14.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009979/0.1261, allocations: 1.006 MB / 0.5511 GB, free: 13.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1261, allocations: 4 kB / 0.5512 GB, free: 13.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001391/0.1275, allocations: 0.543 MB / 0.5517 GB, free: 12.67 MB / 426.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.0002799/0.1277, allocations: 158.9 kB / 0.5518 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.1296, allocations: 1.699 MB / 0.5535 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1296, allocations: 4.062 kB / 0.5535 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.1308, allocations: 1.447 MB / 0.5549 GB, free: 9.266 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.1319, allocations: 451.5 kB / 0.5553 GB, free: 8.832 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.138, allocations: 5.505 MB / 0.5607 GB, free: 3.266 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.1392, allocations: 1.765 MB / 0.5624 GB, free: 1.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.1395, allocations: 132.4 kB / 0.5626 GB, free: 1.328 MB / 426.7 MB Notification: Performance of SimCode: time 1.123e-06/0.1395, allocations: 0 / 0.5626 GB, free: 1.328 MB / 426.7 MB Notification: Performance of Templates: time 0.2111/0.3506, allocations: 105.9 MB / 0.666 GB, free: 21.4 MB / 426.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.809781581163406] Failed to read output from testmodel.py, exit status != 0: 0.3570274943485856 0.362676863 0.314172726 Calling exit ...