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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 246.8 MB, free: 13.66 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 190.6 kB / 302 MB, free: 9.16 MB / 238.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04365/0.04365, allocations: 8.927 MB / 366 MB, free: 9.312 MB / 302.1 MB [Timeout remaining time 90] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002573/0.002573, allocations: 86.17 kB / 489.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09336, allocations: 54.4 MB / 0.5314 GB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01621/0.1096, allocations: 13.2 MB / 0.5443 GB, free: 1.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00733/0.1169, allocations: 4.341 MB / 0.5486 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008587/0.1178, allocations: 87.62 kB / 0.5486 GB, free: 13.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.12, allocations: 1.068 MB / 0.5497 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002765/0.1228, allocations: 1.336 MB / 0.551 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.1246, allocations: 0.8718 MB / 0.5518 GB, free: 9.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004248/0.1289, allocations: 4.034 MB / 0.5558 GB, free: 5.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003191/0.1321, allocations: 2.492 MB / 0.5582 GB, free: 3.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002415/0.1345, allocations: 1.939 MB / 0.5601 GB, free: 1.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.1372, allocations: 2.152 MB / 0.5622 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007084/0.1379, allocations: 0.5234 MB / 0.5627 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.1392, allocations: 0.7302 MB / 0.5634 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.1403, allocations: 1.153 MB / 0.5646 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002348/0.1427, allocations: 2.171 MB / 0.5667 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007086/0.1497, allocations: 6.907 MB / 0.5734 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1497, allocations: 0 / 0.5734 GB, free: 3.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1498, allocations: 3.938 kB / 0.5734 GB, free: 3.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.413e-05/0.1498, allocations: 0 / 0.5734 GB, free: 3.637 MB / 382.1 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.01013/0.1599, allocations: 4.546 MB / 0.5779 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.16, allocations: 8.031 kB / 0.5779 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/0.1644, allocations: 0.8456 MB / 0.5787 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/0.1689, allocations: 2.482 MB / 0.5811 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.1691, allocations: 251.1 kB / 0.5814 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005017/0.1696, allocations: 336.1 kB / 0.5817 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007836/0.1774, allocations: 4.504 MB / 0.5861 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.389e-05/0.1775, allocations: 11.94 kB / 0.5861 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003642/0.1778, allocations: 132 kB / 0.5862 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001617/0.178, allocations: 158.7 kB / 0.5864 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006706/0.1847, allocations: 3.809 MB / 0.5901 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02084/0.2055, allocations: 14.06 MB / 0.6038 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00676/0.2123, allocations: 6.034 MB / 0.6097 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/0.2142, allocations: 1.08 MB / 0.6108 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005565/0.2198, allocations: 3.306 MB / 0.614 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.2198, allocations: 47.56 kB / 0.614 GB, free: 8.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 2.495e-06/0.2198, allocations: 0 / 0.614 GB, free: 8.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.0105/0.2303, allocations: 5.267 MB / 0.6192 GB, free: 3.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.2304, allocations: 64.41 kB / 0.6192 GB, free: 3.016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.2328, allocations: 1.686 MB / 0.6209 GB, free: 1.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/0.2329, allocations: 49.7 kB / 0.6209 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.234, allocations: 1.535 MB / 0.6224 GB, free: 15.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.2344, allocations: 440.3 kB / 0.6229 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/0.2349, allocations: 287.5 kB / 0.6231 GB, free: 15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.235, allocations: 301.1 kB / 0.6234 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.2362, allocations: 0.6208 MB / 0.624 GB, free: 14.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.2377, allocations: 1.139 MB / 0.6251 GB, free: 12.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.2405, allocations: 1.869 MB / 0.627 GB, free: 10.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.2405, allocations: 11.92 kB / 0.627 GB, free: 10.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003731/0.2443, allocations: 2.198 MB / 0.6291 GB, free: 8.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.2443, allocations: 12 kB / 0.6291 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.2443, allocations: 16.38 kB / 0.6291 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.2447, allocations: 134.5 kB / 0.6293 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.2463, allocations: 399.3 kB / 0.6297 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.2493, allocations: 3.353 MB / 0.6329 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009861/0.2503, allocations: 75.91 kB / 0.633 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.2504, allocations: 68 kB / 0.6331 GB, free: 4.043 MB / 446.1 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.001621/0.252, allocations: 1.048 MB / 0.6341 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.2523, allocations: 190.8 kB / 0.6343 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/0.2562, allocations: 2.021 MB / 0.6362 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.2562, allocations: 12 kB / 0.6363 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.2562, allocations: 11.94 kB / 0.6363 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.2562, allocations: 7.969 kB / 0.6363 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007749/0.2639, allocations: 4.771 MB / 0.6409 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.264, allocations: 3.984 kB / 0.6409 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007739/0.2647, allocations: 164 kB / 0.6411 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.2659, allocations: 443.8 kB / 0.6415 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.398e-05/0.266, allocations: 35.98 kB / 0.6415 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2031/0.4691, allocations: 11.05 MB / 0.6523 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4691, allocations: 2.375 kB / 0.6523 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/0.4742, allocations: 2.858 MB / 0.6551 GB, free: 105.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009185/0.4751, allocations: 406.8 kB / 0.6555 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003573/0.4754, allocations: 28.53 kB / 0.6556 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.4764, allocations: 61.41 kB / 0.6556 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.4767, allocations: 99.14 kB / 0.6557 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.4769, allocations: 35 kB / 0.6557 GB, free: 105 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001896/0.4788, allocations: 1.155 MB / 0.6569 GB, free: 104.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4788, allocations: 0 / 0.6569 GB, free: 104.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002011/0.4808, allocations: 0.5462 MB / 0.6574 GB, free: 104.5 MB / 462.1 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,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.0002531/0.4811, allocations: 159.8 kB / 0.6576 GB, free: 104.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002743/0.4838, allocations: 1.774 MB / 0.6593 GB, free: 103.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4838, allocations: 0 / 0.6593 GB, free: 103.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.4858, allocations: 1.449 MB / 0.6607 GB, free: 102.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.4878, allocations: 0.5332 MB / 0.6612 GB, free: 102.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007337/0.4952, allocations: 5.746 MB / 0.6668 GB, free: 99.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.4966, allocations: 2.308 MB / 0.6691 GB, free: 98.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.497, allocations: 133 kB / 0.6692 GB, free: 98.58 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.497, allocations: 0 / 0.6692 GB, free: 98.58 MB / 462.1 MB Notification: Performance of Templates: time 0.07023/0.5672, allocations: 105.5 MB / 0.7723 GB, free: 13.71 MB / 478.1 MB [Timeout remaining time 659] 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]