Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.001782/0.001782, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.568/1.568, allocations: 177.1 MB / 199.7 MB, free: 5.809 MB / 186.7 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.001826/0.001826, allocations: 152.3 kB / 256.3 MB, free: 13.16 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.03731/0.03731, allocations: 6.663 MB / 319.4 MB, free: 26.57 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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 390.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.478e-05/4.727e-05, allocations: 2.312 kB / 390.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.2174/0.2174, allocations: 39.41 MB / 430.3 MB, free: 62.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03135/0.2488, allocations: 11.87 MB / 442.2 MB, free: 53.9 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01471/0.2635, allocations: 430.7 kB / 442.6 MB, free: 53.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02843/0.2919, allocations: 12.25 MB / 454.9 MB, free: 42.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02221/0.3141, allocations: 5.05 MB / 459.9 MB, free: 37.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0121/0.3262, allocations: 3.036 MB / 463 MB, free: 34.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02863/0.3548, allocations: 21.99 MB / 485 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0709/0.4257, allocations: 26.55 MB / 0.4995 GB, free: 1.711 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0491/0.4748, allocations: 16.56 MB / 0.5157 GB, free: 1.129 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02769/0.5025, allocations: 10.5 MB / 0.5259 GB, free: 6.605 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01216/0.5147, allocations: 3.121 MB / 0.529 GB, free: 3.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/0.531, allocations: 3.565 MB / 0.5325 GB, free: 15.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.015/0.546, allocations: 6.37 MB / 0.5387 GB, free: 9.531 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02678/0.5728, allocations: 8 MB / 0.5465 GB, free: 1.516 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4658/1.039, allocations: 42.07 MB / 0.5876 GB, free: 46.27 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/1.039, allocations: 1.938 kB / 0.5876 GB, free: 46.27 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.565e-06/1.039, allocations: 0 / 0.5876 GB, free: 46.27 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001992/1.041, allocations: 0.8125 kB / 0.5876 GB, free: 46.27 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.1056/1.146, allocations: 24.08 MB / 0.6111 GB, free: 31.58 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/1.146, allocations: 11.53 kB / 0.6111 GB, free: 31.58 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07214/1.218, allocations: 14.2 MB / 0.625 GB, free: 21.77 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03643/1.255, allocations: 13.89 MB / 0.6385 GB, free: 8.434 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001722/1.257, allocations: 1.359 MB / 0.6399 GB, free: 7.09 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01166/1.268, allocations: 1.805 MB / 0.6416 GB, free: 5.305 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1147/1.383, allocations: 30.13 MB / 0.6711 GB, free: 6.996 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001253/1.384, allocations: 27.38 kB / 0.6711 GB, free: 6.973 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01023/1.394, allocations: 0.7389 MB / 0.6718 GB, free: 6.25 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001575/1.396, allocations: 0.9868 MB / 0.6728 GB, free: 5.258 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08729/1.483, allocations: 27.33 MB / 0.6995 GB, free: 9.914 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4848/1.968, allocations: 84.06 MB / 0.7815 GB, free: 68.85 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03182/2, allocations: 18.93 MB / 0.8 GB, free: 53.08 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01335/2.013, allocations: 6.715 MB / 0.8066 GB, free: 46.35 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04724/2.06, allocations: 18.1 MB / 0.8243 GB, free: 28.71 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/2.061, allocations: 108.5 kB / 0.8244 GB, free: 28.59 MB / 458.8 MB Notification: Performance of pre-optimization done (n=677): time 1.512e-05/2.061, allocations: 0 / 0.8244 GB, free: 28.59 MB / 458.8 MB Notification: Performance of matching and sorting (n=685): time 0.1109/2.171, allocations: 37.74 MB / 0.8612 GB, free: 6.996 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/2.172, allocations: 147.1 kB / 0.8614 GB, free: 6.836 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02057/2.192, allocations: 6.859 MB / 0.8681 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001803/2.194, allocations: 137.7 kB / 0.8682 GB, free: 15.84 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01077/2.205, allocations: 8.028 MB / 0.876 GB, free: 7.797 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005495/2.21, allocations: 2.401 MB / 0.8784 GB, free: 5.426 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01137/2.222, allocations: 1.851 MB / 0.8802 GB, free: 3.562 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002059/2.222, allocations: 301.1 kB / 0.8805 GB, free: 3.266 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01272/2.235, allocations: 4.887 MB / 0.8853 GB, free: 14.37 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01736/2.252, allocations: 8.299 MB / 0.8934 GB, free: 4.586 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3034/2.555, allocations: 13.9 MB / 0.9069 GB, free: 174.7 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002138/2.556, allocations: 31.09 kB / 0.907 GB, free: 174.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.03848/2.594, allocations: 16.3 MB / 0.9229 GB, free: 172.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/2.594, allocations: 52.38 kB / 0.9229 GB, free: 172.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002466/2.594, allocations: 110.8 kB / 0.923 GB, free: 172.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009424/2.604, allocations: 2.996 MB / 0.926 GB, free: 171.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009752/2.614, allocations: 2.077 MB / 0.928 GB, free: 171.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03586/2.649, allocations: 29.59 MB / 0.9569 GB, free: 150.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/2.66, allocations: 0.5222 MB / 0.9574 GB, free: 150.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003221/2.663, allocations: 457.6 kB / 0.9578 GB, free: 150.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 493 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[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 (1072): * Single equations (assignments): 1062 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(1,1,100.0%), (18,100,41.0%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01618/2.679, allocations: 6.751 MB / 0.9644 GB, free: 144.4 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003141/2.682, allocations: 0.98 MB / 0.9654 GB, free: 143.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02701/2.709, allocations: 12.7 MB / 0.9778 GB, free: 133 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01471/2.724, allocations: 8.2 MB / 0.9858 GB, free: 124.7 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001032/2.724, allocations: 28 kB / 0.9858 GB, free: 124.7 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001607/2.724, allocations: 31.88 kB / 0.9859 GB, free: 124.7 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05452/2.779, allocations: 24.12 MB / 1.009 GB, free: 100.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.095e-05/2.779, allocations: 4 kB / 1.009 GB, free: 100.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005282/2.784, allocations: 1.123 MB / 1.011 GB, free: 99.43 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008585/2.793, allocations: 3.094 MB / 1.014 GB, free: 96.32 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001437/2.794, allocations: 155.9 kB / 1.014 GB, free: 96.17 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03481/2.829, allocations: 34.33 MB / 1.047 GB, free: 61.12 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/2.829, allocations: 4 kB / 1.047 GB, free: 61.12 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03328/2.862, allocations: 18.72 MB / 1.065 GB, free: 42.42 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006001/2.868, allocations: 1.753 MB / 1.067 GB, free: 40.67 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003037/2.871, allocations: 132 kB / 1.067 GB, free: 40.54 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005871/2.877, allocations: 391.5 kB / 1.068 GB, free: 40.16 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002312/2.879, allocations: 0.5607 MB / 1.068 GB, free: 39.59 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001266/2.881, allocations: 207.9 kB / 1.068 GB, free: 39.39 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01026/2.891, allocations: 4.47 MB / 1.073 GB, free: 34.93 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/2.891, allocations: 3.938 kB / 1.073 GB, free: 34.93 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01736/2.908, allocations: 3.065 MB / 1.076 GB, free: 31.87 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,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 (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001984/2.91, allocations: 340.5 kB / 1.076 GB, free: 31.54 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02325/2.933, allocations: 12.81 MB / 1.089 GB, free: 18.58 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-05/2.933, allocations: 7.062 kB / 1.089 GB, free: 18.57 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01314/2.947, allocations: 7.167 MB / 1.096 GB, free: 11.27 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01494/2.961, allocations: 1.997 MB / 1.098 GB, free: 9.367 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3094/3.271, allocations: 32.68 MB / 1.13 GB, free: 152.6 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02969/3.301, allocations: 11.08 MB / 1.14 GB, free: 151.8 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01006/3.311, allocations: 3.213 MB / 1.143 GB, free: 151.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/3.313, allocations: 0.57 MB / 1.144 GB, free: 151.5 MB / 0.4949 GB Notification: Performance of SimCode: time 1.874e-06/3.313, allocations: 0 / 1.144 GB, free: 151.5 MB / 0.4949 GB Notification: Performance of Templates: time 0.1933/3.507, allocations: 122 MB / 1.263 GB, free: 44.07 MB / 0.4949 GB " [Timeout remaining time 656] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.66898995602969]