Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_DOL.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.001096/0.001096, allocations: 73.09 kB / 20.65 MB, free: 3.848 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 1.054/1.054, allocations: 177.1 MB / 201 MB, free: 5.727 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.001362/0.001362, allocations: 156.6 kB / 257.7 MB, free: 12.99 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.05646/0.05646, allocations: 6.663 MB / 320.9 MB, free: 26.38 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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 392.9 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.959e-05, allocations: 5.406 kB / 392.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.1447/0.1447, allocations: 36.62 MB / 429.5 MB, free: 63.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02071/0.1655, allocations: 10.22 MB / 439.7 MB, free: 57.19 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007489/0.1729, allocations: 356.2 kB / 440.1 MB, free: 57.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01238/0.1853, allocations: 10.54 MB / 450.6 MB, free: 48.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01393/0.1993, allocations: 4.235 MB / 454.8 MB, free: 44.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01044/0.2097, allocations: 2.438 MB / 457.3 MB, free: 41.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.04298/0.2527, allocations: 17.27 MB / 474.5 MB, free: 24.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02923/0.2819, allocations: 20.4 MB / 494.9 MB, free: 4.008 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01803/0.2999, allocations: 12.92 MB / 0.496 GB, free: 7.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0116/0.3115, allocations: 9.203 MB / 0.5049 GB, free: 13.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004649/0.3162, allocations: 2.406 MB / 0.5073 GB, free: 11.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005144/0.3213, allocations: 2.839 MB / 0.5101 GB, free: 8.605 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003492/0.3248, allocations: 4.991 MB / 0.5149 GB, free: 3.602 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01051/0.3353, allocations: 6.257 MB / 0.5211 GB, free: 13.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.354, allocations: 15.37 MB / 0.5361 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.354, allocations: 3.984 kB / 0.5361 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.354, allocations: 0 / 0.5361 GB, free: 13.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005654/0.3546, allocations: 4 kB / 0.5361 GB, free: 13.91 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.2957/0.6502, allocations: 18.9 MB / 0.5545 GB, free: 84.97 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.6502, allocations: 10.69 kB / 0.5545 GB, free: 84.97 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02756/0.6778, allocations: 8.251 MB / 0.5626 GB, free: 84.1 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01659/0.6944, allocations: 9.246 MB / 0.5716 GB, free: 81.89 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008176/0.6952, allocations: 1.064 MB / 0.5727 GB, free: 81.41 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004144/0.6994, allocations: 1.402 MB / 0.574 GB, free: 80.95 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/0.7181, allocations: 11.29 MB / 0.5851 GB, free: 74.7 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002413/0.7183, allocations: 22.41 kB / 0.5851 GB, free: 74.68 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009638/0.7193, allocations: 0.5711 MB / 0.5856 GB, free: 74.12 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004384/0.7197, allocations: 0.7775 MB / 0.5864 GB, free: 73.41 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009293/0.729, allocations: 5.163 MB / 0.5914 GB, free: 68.46 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.066/0.795, allocations: 57.35 MB / 0.6474 GB, free: 12.79 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.8051, allocations: 10.31 MB / 0.6575 GB, free: 4.578 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002134/0.8072, allocations: 1.96 MB / 0.6594 GB, free: 2.66 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/0.8184, allocations: 7.884 MB / 0.6671 GB, free: 11.06 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/0.8185, allocations: 93.25 kB / 0.6672 GB, free: 10.96 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 6.452e-06/0.8185, allocations: 0 / 0.6672 GB, free: 10.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.0285/0.847, allocations: 12.63 MB / 0.6795 GB, free: 14.36 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.8471, allocations: 129.3 kB / 0.6797 GB, free: 14.22 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005305/0.8524, allocations: 4.898 MB / 0.6845 GB, free: 10.09 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002419/0.8526, allocations: 109.7 kB / 0.6846 GB, free: 9.973 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00372/0.8563, allocations: 6.707 MB / 0.6911 GB, free: 3.457 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00157/0.8579, allocations: 1.879 MB / 0.6929 GB, free: 1.68 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/0.8596, allocations: 1.658 MB / 0.6946 GB, free: 168 kB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8597, allocations: 476.8 kB / 0.695 GB, free: 15.7 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.8609, allocations: 0.8772 MB / 0.6959 GB, free: 14.82 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003392/0.8643, allocations: 5.204 MB / 0.701 GB, free: 8.039 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1725/1.037, allocations: 6.817 MB / 0.7076 GB, free: 103 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001359/1.037, allocations: 26.88 kB / 0.7076 GB, free: 103 MB / 442.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01318/1.05, allocations: 6.46 MB / 0.7139 GB, free: 102.7 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/1.05, allocations: 43.38 kB / 0.714 GB, free: 102.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001353/1.05, allocations: 93.03 kB / 0.7141 GB, free: 102.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003552/1.054, allocations: 1.342 MB / 0.7154 GB, free: 102.6 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004468/1.058, allocations: 1.54 MB / 0.7169 GB, free: 102.6 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/1.071, allocations: 15 MB / 0.7315 GB, free: 93.28 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005183/1.076, allocations: 285.9 kB / 0.7318 GB, free: 93.28 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.077, allocations: 312.2 kB / 0.7321 GB, free: 93.28 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (865): * Single equations (assignments): 858 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,52.1%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003833/1.081, allocations: 0.6561 MB / 0.7328 GB, free: 93.11 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001806/1.083, allocations: 0.7517 MB / 0.7335 GB, free: 93.1 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007025/1.09, allocations: 4.662 MB / 0.738 GB, free: 92.63 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003312/1.093, allocations: 2.463 MB / 0.7404 GB, free: 92.42 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.705e-05/1.093, allocations: 19.28 kB / 0.7405 GB, free: 92.42 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/1.093, allocations: 27.41 kB / 0.7405 GB, free: 92.42 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02583/1.119, allocations: 14.36 MB / 0.7545 GB, free: 91.15 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-05/1.119, allocations: 8.719 kB / 0.7545 GB, free: 91.15 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/1.122, allocations: 0.7493 MB / 0.7552 GB, free: 91.15 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003897/1.126, allocations: 1.363 MB / 0.7566 GB, free: 90.99 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004109/1.126, allocations: 132 kB / 0.7567 GB, free: 90.99 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/1.14, allocations: 19.22 MB / 0.7755 GB, free: 75.01 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.14, allocations: 7.656 kB / 0.7755 GB, free: 75.01 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/1.15, allocations: 5.883 MB / 0.7812 GB, free: 70.32 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002637/1.152, allocations: 1.105 MB / 0.7823 GB, free: 69.74 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007491/1.153, allocations: 102.8 kB / 0.7824 GB, free: 69.71 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/1.155, allocations: 155.6 kB / 0.7826 GB, free: 69.6 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000876/1.156, allocations: 415.7 kB / 0.783 GB, free: 69.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002887/1.156, allocations: 123.8 kB / 0.7831 GB, free: 69.29 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002838/1.159, allocations: 2.175 MB / 0.7852 GB, free: 67.77 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.11e-07/1.159, allocations: 0 / 0.7852 GB, free: 67.77 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007055/1.166, allocations: 2.336 MB / 0.7875 GB, free: 65.44 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (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,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,5,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006031/1.167, allocations: 313.2 kB / 0.7878 GB, free: 65.19 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.007419/1.174, allocations: 5.522 MB / 0.7932 GB, free: 60.59 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.174, allocations: 0.875 kB / 0.7932 GB, free: 60.59 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003578/1.178, allocations: 3.65 MB / 0.7967 GB, free: 57.37 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/1.182, allocations: 1.501 MB / 0.7982 GB, free: 56.18 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/1.208, allocations: 20.92 MB / 0.8186 GB, free: 35.71 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003696/1.211, allocations: 3.81 MB / 0.8223 GB, free: 31.88 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003259/1.215, allocations: 0.9329 MB / 0.8233 GB, free: 30.94 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/1.217, allocations: 1.497 MB / 0.8247 GB, free: 29.44 MB / 442.8 MB Notification: Performance of SimCode: time 1.813e-06/1.217, allocations: 0 / 0.8247 GB, free: 29.44 MB / 442.8 MB Notification: Performance of Templates: time 0.2924/1.509, allocations: 98.77 MB / 0.9212 GB, free: 102 MB / 458.8 MB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_DOL.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.645812762901187]