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.000779/0.000779, 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.8748/0.8748, allocations: 177.2 MB / 200.2 MB, free: 5.945 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.001007/0.001007, allocations: 152.6 kB / 256.7 MB, free: 13.36 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.02218/0.02218, allocations: 6.66 MB / 319.8 MB, free: 26.77 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 2.024e-06/2.024e-06, allocations: 0 / 446.7 MB, free: 37.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.182e-05, allocations: 4.812 kB / 446.7 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.0183/0.01832, allocations: 33.48 MB / 480.2 MB, free: 3.492 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01847/0.03679, allocations: 10.04 MB / 490.2 MB, free: 9.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006618/0.04341, allocations: 362 kB / 490.5 MB, free: 9.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01111/0.05452, allocations: 10.06 MB / 0.4889 GB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.06484, allocations: 4.237 MB / 0.493 GB, free: 10.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004403/0.06924, allocations: 2.433 MB / 0.4954 GB, free: 8.289 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01491/0.08415, allocations: 17.26 MB / 0.5122 GB, free: 6.969 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02543/0.1096, allocations: 20.35 MB / 0.5321 GB, free: 2.406 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01451/0.1241, allocations: 12.78 MB / 0.5446 GB, free: 5.605 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009917/0.134, allocations: 8.154 MB / 0.5526 GB, free: 13.43 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003853/0.1379, allocations: 2.41 MB / 0.5549 GB, free: 11.02 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003762/0.1416, allocations: 2.839 MB / 0.5577 GB, free: 8.184 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002779/0.1444, allocations: 4.913 MB / 0.5625 GB, free: 3.254 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.352/0.4964, allocations: 6.189 MB / 0.5685 GB, free: 45.73 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02149/0.5179, allocations: 32.62 MB / 0.6004 GB, free: 38.92 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5179, allocations: 0 / 0.6004 GB, free: 38.92 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5179, allocations: 3.219 kB / 0.6004 GB, free: 38.92 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0008098/0.5187, allocations: 0.7188 kB / 0.6004 GB, free: 38.92 MB / 426.8 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.04313/0.5619, allocations: 18.84 MB / 0.6188 GB, free: 27.96 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5619, allocations: 7.688 kB / 0.6188 GB, free: 27.96 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02453/0.5865, allocations: 8.288 MB / 0.6269 GB, free: 24.17 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/0.6052, allocations: 10.35 MB / 0.637 GB, free: 14.91 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006206/0.6058, allocations: 1.062 MB / 0.638 GB, free: 13.86 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005847/0.6116, allocations: 1.392 MB / 0.6394 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04708/0.6587, allocations: 23.1 MB / 0.6619 GB, free: 5.254 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003708/0.6591, allocations: 23.55 kB / 0.662 GB, free: 5.234 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003393/0.6625, allocations: 0.5747 MB / 0.6625 GB, free: 4.672 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005193/0.663, allocations: 0.7793 MB / 0.6633 GB, free: 3.891 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03752/0.7005, allocations: 20.99 MB / 0.6838 GB, free: 14.9 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0976/0.7981, allocations: 63.07 MB / 0.7454 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/0.8133, allocations: 13.89 MB / 0.7589 GB, free: 3.906 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2143/1.028, allocations: 4.729 MB / 0.7636 GB, free: 182.3 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01627/1.044, allocations: 11.42 MB / 0.7747 GB, free: 181.7 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/1.044, allocations: 87.27 kB / 0.7748 GB, free: 181.6 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=498): time 6.171e-06/1.044, allocations: 0 / 0.7748 GB, free: 181.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=506): time 0.0324/1.076, allocations: 25.91 MB / 0.8001 GB, free: 172.5 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/1.076, allocations: 129.3 kB / 0.8002 GB, free: 172.4 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005286/1.082, allocations: 5.531 MB / 0.8056 GB, free: 169.7 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002386/1.082, allocations: 113.4 kB / 0.8057 GB, free: 169.6 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001924/1.084, allocations: 6.362 MB / 0.8119 GB, free: 164 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009115/1.085, allocations: 1.798 MB / 0.8137 GB, free: 162.3 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/1.086, allocations: 1.468 MB / 0.8151 GB, free: 161 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.024e-05/1.086, allocations: 306.4 kB / 0.8154 GB, free: 160.7 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003388/1.09, allocations: 3.635 MB / 0.819 GB, free: 157.6 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003902/1.094, allocations: 6.527 MB / 0.8253 GB, free: 150.5 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007344/1.101, allocations: 10.79 MB / 0.8359 GB, free: 139.3 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-05/1.101, allocations: 28 kB / 0.8359 GB, free: 139.2 MB / 0.5262 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01133/1.112, allocations: 12 MB / 0.8476 GB, free: 127.9 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/1.112, allocations: 44 kB / 0.8477 GB, free: 127.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.375e-05/1.112, allocations: 96 kB / 0.8478 GB, free: 127.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/1.115, allocations: 1.591 MB / 0.8493 GB, free: 126.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/1.118, allocations: 1.677 MB / 0.851 GB, free: 124.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/1.13, allocations: 18.74 MB / 0.8693 GB, free: 105.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003612/1.133, allocations: 419.6 kB / 0.8697 GB, free: 104.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003728/1.134, allocations: 375.9 kB / 0.87 GB, free: 104.5 MB / 0.5262 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.006452/1.14, allocations: 5.191 MB / 0.8751 GB, free: 99.28 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008425/1.141, allocations: 0.5977 MB / 0.8757 GB, free: 98.68 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008786/1.15, allocations: 9.144 MB / 0.8846 GB, free: 89.49 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005114/1.155, allocations: 5.868 MB / 0.8903 GB, free: 83.59 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/1.155, allocations: 16 kB / 0.8903 GB, free: 83.58 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-05/1.155, allocations: 27.91 kB / 0.8904 GB, free: 83.55 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01987/1.175, allocations: 17.98 MB / 0.9079 GB, free: 65.53 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.175, allocations: 8 kB / 0.9079 GB, free: 65.52 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.176, allocations: 0.8698 MB / 0.9088 GB, free: 64.65 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/1.179, allocations: 1.639 MB / 0.9104 GB, free: 62.99 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/1.179, allocations: 131.9 kB / 0.9105 GB, free: 62.86 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/1.192, allocations: 22.04 MB / 0.932 GB, free: 40.14 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.192, allocations: 11.94 kB / 0.932 GB, free: 40.13 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/1.204, allocations: 13.53 MB / 0.9453 GB, free: 26.27 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/1.206, allocations: 1.305 MB / 0.9465 GB, free: 24.96 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004384/1.207, allocations: 100 kB / 0.9466 GB, free: 24.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/1.208, allocations: 283.7 kB / 0.9469 GB, free: 24.59 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000652/1.209, allocations: 440.2 kB / 0.9473 GB, free: 24.16 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/1.209, allocations: 160 kB / 0.9475 GB, free: 24 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.003447/1.212, allocations: 3.594 MB / 0.951 GB, free: 20.43 MB / 0.5262 GB Notification: Performance of sort global known variables: time 4e-08/1.212, allocations: 0 / 0.951 GB, free: 20.43 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.005267/1.218, allocations: 2.336 MB / 0.9533 GB, free: 18.09 MB / 0.5262 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.0004929/1.218, allocations: 312.3 kB / 0.9536 GB, free: 17.79 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.008326/1.227, allocations: 9.455 MB / 0.9628 GB, free: 8.242 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.227, allocations: 1.938 kB / 0.9628 GB, free: 8.242 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.004272/1.231, allocations: 5.152 MB / 0.9678 GB, free: 3.004 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/1.234, allocations: 1.443 MB / 0.9692 GB, free: 1.598 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.183/1.417, allocations: 24.4 MB / 0.9931 GB, free: 190.3 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005634/1.423, allocations: 8.22 MB / 1.001 GB, free: 189.3 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/1.425, allocations: 0.5261 MB / 1.002 GB, free: 188.9 MB / 0.5262 GB Notification: Performance of SimCode: time 1.573e-06/1.425, allocations: 3.844 kB / 1.002 GB, free: 188.9 MB / 0.5262 GB Notification: Performance of Templates: time 0.8362/2.261, allocations: 0.6738 GB / 1.675 GB, free: 91.88 MB / 0.5262 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: 16.44597355928272] Failed to read output from testmodel.py, exit status != 0: 2.266553394496441 2.2731493560000002 1.753754859 Calling exit ...