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.001347/0.001347, allocations: 81.42 kB / 19.18 MB, free: 2.527 MB / 14.72 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.433/1.433, allocations: 177.1 MB / 199.4 MB, free: 8.457 MB / 190.1 MB " [Timeout remaining time 178] 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.001499/0.001499, allocations: 164 kB / 256 MB, free: 4.363 MB / 238.1 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.03986/0.03986, allocations: 6.662 MB / 319 MB, free: 5.434 MB / 302.1 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 2.335e-06/2.335e-06, allocations: 0 / 445.9 MB, free: 25.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.314e-05, allocations: 6.219 kB / 445.9 MB, free: 25.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.02954/0.02957, allocations: 33.49 MB / 479.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.215/0.2446, allocations: 10.04 MB / 489.4 MB, free: 16.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00797/0.2525, allocations: 354.8 kB / 489.8 MB, free: 16.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02411/0.2766, allocations: 10.06 MB / 499.8 MB, free: 16.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01414/0.2908, allocations: 4.242 MB / 0.4923 GB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009166/0.3, allocations: 2.436 MB / 0.4947 GB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02189/0.3218, allocations: 17.24 MB / 0.5115 GB, free: 5.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03826/0.3601, allocations: 20.37 MB / 0.5314 GB, free: 3.949 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02763/0.3877, allocations: 12.79 MB / 0.5439 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01817/0.4059, allocations: 8.143 MB / 0.5518 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00715/0.4131, allocations: 2.41 MB / 0.5542 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01195/0.425, allocations: 2.835 MB / 0.5569 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009412/0.4344, allocations: 4.915 MB / 0.5617 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01695/0.4514, allocations: 6.187 MB / 0.5678 GB, free: 164 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04529/0.4967, allocations: 32.63 MB / 0.5997 GB, free: 300 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4967, allocations: 0 / 0.5997 GB, free: 300 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4967, allocations: 0 / 0.5997 GB, free: 300 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001068/0.4977, allocations: 0 / 0.5997 GB, free: 300 kB / 430.1 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.06555/0.5633, allocations: 18.84 MB / 0.618 GB, free: 13.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.5633, allocations: 15.98 kB / 0.6181 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05113/0.6145, allocations: 8.285 MB / 0.6262 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02458/0.639, allocations: 10.35 MB / 0.6363 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001233/0.6403, allocations: 1.069 MB / 0.6373 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006233/0.6465, allocations: 1.392 MB / 0.6387 GB, free: 8.816 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06049/0.707, allocations: 23.11 MB / 0.6612 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005003/0.7075, allocations: 19.84 kB / 0.6612 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004142/0.7116, allocations: 0.5761 MB / 0.6618 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000847/0.7125, allocations: 0.7793 MB / 0.6626 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4534/1.166, allocations: 20.99 MB / 0.6831 GB, free: 143.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1208/1.287, allocations: 63.06 MB / 0.7447 GB, free: 86.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.021/1.308, allocations: 13.87 MB / 0.7582 GB, free: 74.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00741/1.315, allocations: 4.739 MB / 0.7628 GB, free: 70.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02392/1.339, allocations: 11.43 MB / 0.774 GB, free: 58.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.43e-05/1.339, allocations: 90.77 kB / 0.7741 GB, free: 58.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=498): time 8.847e-06/1.339, allocations: 0 / 0.7741 GB, free: 58.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=506): time 0.05875/1.398, allocations: 25.91 MB / 0.7994 GB, free: 33.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/1.398, allocations: 137.3 kB / 0.7995 GB, free: 33.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006587/1.405, allocations: 5.517 MB / 0.8049 GB, free: 27.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007764/1.405, allocations: 109.7 kB / 0.805 GB, free: 27.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002426/1.408, allocations: 6.364 MB / 0.8112 GB, free: 21.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.409, allocations: 1.797 MB / 0.813 GB, free: 19.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/1.411, allocations: 1.466 MB / 0.8144 GB, free: 18.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.483e-05/1.411, allocations: 305.1 kB / 0.8147 GB, free: 17.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004336/1.415, allocations: 3.634 MB / 0.8182 GB, free: 14.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005446/1.421, allocations: 6.54 MB / 0.8246 GB, free: 6.457 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/1.435, allocations: 10.79 MB / 0.8352 GB, free: 10.34 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.178e-05/1.435, allocations: 24 kB / 0.8352 GB, free: 10.32 MB / 0.4982 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02527/1.46, allocations: 12 MB / 0.8469 GB, free: 14.28 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000154/1.46, allocations: 44 kB / 0.8469 GB, free: 14.23 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002137/1.46, allocations: 92 kB / 0.847 GB, free: 14.14 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005549/1.466, allocations: 1.606 MB / 0.8486 GB, free: 12.52 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007224/1.473, allocations: 1.669 MB / 0.8502 GB, free: 10.85 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2351/1.708, allocations: 18.74 MB / 0.8685 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007891/1.716, allocations: 423.6 kB / 0.8689 GB, free: 152 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/1.718, allocations: 383.9 kB / 0.8693 GB, free: 151.9 MB / 0.5138 GB 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.01173/1.73, allocations: 5.183 MB / 0.8744 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/1.731, allocations: 0.5984 MB / 0.8749 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/1.747, allocations: 9.136 MB / 0.8839 GB, free: 146 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00964/1.757, allocations: 5.869 MB / 0.8896 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.826e-05/1.757, allocations: 15.88 kB / 0.8896 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-05/1.757, allocations: 30.23 kB / 0.8896 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03079/1.788, allocations: 17.98 MB / 0.9072 GB, free: 136.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-05/1.788, allocations: 7.781 kB / 0.9072 GB, free: 136.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004083/1.792, allocations: 0.8674 MB / 0.908 GB, free: 136.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004619/1.797, allocations: 1.641 MB / 0.9096 GB, free: 136 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008101/1.798, allocations: 134.6 kB / 0.9098 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02154/1.819, allocations: 22.03 MB / 0.9313 GB, free: 118.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.819, allocations: 7.938 kB / 0.9313 GB, free: 118.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/1.838, allocations: 13.53 MB / 0.9445 GB, free: 106.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003953/1.841, allocations: 1.306 MB / 0.9458 GB, free: 105.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001367/1.843, allocations: 108 kB / 0.9459 GB, free: 105.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003182/1.846, allocations: 279.7 kB / 0.9462 GB, free: 105.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/1.847, allocations: 444.1 kB / 0.9466 GB, free: 104.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003291/1.847, allocations: 156 kB / 0.9467 GB, free: 104.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004796/1.852, allocations: 3.594 MB / 0.9502 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/1.852, allocations: 4 kB / 0.9502 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008749/1.861, allocations: 2.336 MB / 0.9525 GB, free: 98.8 MB / 0.5138 GB 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.000885/1.862, allocations: 315.8 kB / 0.9528 GB, free: 98.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01386/1.876, allocations: 9.452 MB / 0.9621 GB, free: 88.99 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/1.876, allocations: 0.7656 kB / 0.9621 GB, free: 88.99 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0081/1.884, allocations: 5.148 MB / 0.9671 GB, free: 83.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01261/1.896, allocations: 1.451 MB / 0.9685 GB, free: 82.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0527/1.949, allocations: 24.8 MB / 0.9927 GB, free: 57.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01475/1.964, allocations: 8.493 MB / 1.001 GB, free: 48.96 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008217/1.972, allocations: 2.485 MB / 1.003 GB, free: 46.47 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002508/1.975, allocations: 476.4 kB / 1.004 GB, free: 46 MB / 0.5138 GB Notification: Performance of SimCode: time 1.573e-06/1.975, allocations: 0 / 1.004 GB, free: 46 MB / 0.5138 GB Notification: Performance of Templates: time 0.3702/2.345, allocations: 88.84 MB / 1.091 GB, free: 157 MB / 0.5294 GB " [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=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.938795082271099] Failed to read output from testmodel.py, exit status != 0: 2.353800978511572 2.3654978890000002 1.866197601 Calling exit ...