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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) 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.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 184.5 kB / 290.3 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03482/0.03482, allocations: 8.794 MB / 349.3 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 84.08 kB / 412.5 MB, free: 41.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1021, allocations: 51.55 MB / 464.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.04552/0.1476, allocations: 45.33 MB / 0.4975 GB, free: 60 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02542/0.1731, allocations: 11.79 MB / 0.509 GB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009744/0.1829, allocations: 358.8 kB / 0.5093 GB, free: 3.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02734/0.2103, allocations: 12.34 MB / 0.5214 GB, free: 7.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01728/0.2276, allocations: 4.805 MB / 0.5261 GB, free: 2.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2242/0.4518, allocations: 2.922 MB / 0.5289 GB, free: 7.023 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02937/0.4811, allocations: 20.94 MB / 0.5494 GB, free: 6.941 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06406/0.5452, allocations: 41.98 MB / 0.5904 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01803/0.5633, allocations: 10.93 MB / 0.601 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02534/0.5887, allocations: 12.51 MB / 0.6132 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009485/0.5982, allocations: 3.137 MB / 0.6163 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01418/0.6124, allocations: 3.536 MB / 0.6198 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009814/0.6222, allocations: 6.243 MB / 0.6259 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02101/0.6433, allocations: 11.9 MB / 0.6375 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0473/0.6906, allocations: 41.41 MB / 0.6779 GB, free: 12.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.6906, allocations: 0 / 0.6779 GB, free: 12.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.6906, allocations: 0 / 0.6779 GB, free: 12.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008839/0.6915, allocations: 3.844 kB / 0.6779 GB, free: 12.5 MB / 478.1 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.07041/0.762, allocations: 23.89 MB / 0.7013 GB, free: 4.656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.762, allocations: 12.03 kB / 0.7013 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2677/1.03, allocations: 11.34 MB / 0.7123 GB, free: 148.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03263/1.062, allocations: 13.41 MB / 0.7254 GB, free: 146.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001275/1.064, allocations: 1.36 MB / 0.7268 GB, free: 145.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006483/1.07, allocations: 1.79 MB / 0.7285 GB, free: 145.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06544/1.136, allocations: 29.58 MB / 0.7574 GB, free: 128.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007656/1.137, allocations: 20.38 kB / 0.7574 GB, free: 128.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005282/1.142, allocations: 0.7434 MB / 0.7581 GB, free: 127.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008088/1.143, allocations: 0.9907 MB / 0.7591 GB, free: 126.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04962/1.192, allocations: 27.3 MB / 0.7858 GB, free: 99.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1346/1.327, allocations: 92.91 MB / 0.8765 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2363/1.563, allocations: 51.97 MB / 0.9272 GB, free: 107 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0128/1.576, allocations: 7.273 MB / 0.9344 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03715/1.613, allocations: 20.02 MB / 0.9539 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.825e-05/1.613, allocations: 118.2 kB / 0.954 GB, free: 101 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=677): time 7.655e-06/1.613, allocations: 3.938 kB / 0.954 GB, free: 101 MB / 0.4981 GB Notification: Performance of matching and sorting (n=685): time 0.07666/1.69, allocations: 38.13 MB / 0.9913 GB, free: 85.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/1.69, allocations: 148 kB / 0.9914 GB, free: 85.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009733/1.7, allocations: 7.104 MB / 0.9983 GB, free: 81.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001236/1.701, allocations: 137.4 kB / 0.9985 GB, free: 81.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004355/1.705, allocations: 7.809 MB / 1.006 GB, free: 74.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002246/1.708, allocations: 2.326 MB / 1.008 GB, free: 72.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002933/1.711, allocations: 1.87 MB / 1.01 GB, free: 71.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/1.711, allocations: 301.1 kB / 1.01 GB, free: 71.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006148/1.717, allocations: 4.855 MB / 1.015 GB, free: 67.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007481/1.724, allocations: 8.34 MB / 1.023 GB, free: 57.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/1.738, allocations: 13.99 MB / 1.037 GB, free: 42.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.618e-05/1.738, allocations: 32 kB / 1.037 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02345/1.762, allocations: 16.07 MB / 1.053 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-05/1.762, allocations: 52 kB / 1.053 GB, free: 25.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001642/1.762, allocations: 113.6 kB / 1.053 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005711/1.768, allocations: 2.58 MB / 1.055 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007812/1.776, allocations: 2.098 MB / 1.057 GB, free: 21.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03189/1.808, allocations: 30.78 MB / 1.088 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008692/1.816, allocations: 0.5344 MB / 1.088 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002219/1.819, allocations: 456 kB / 1.088 GB, free: 4.254 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * 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 (1089): * Single equations (assignments): 1079 * 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,38.3%), (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.2079/2.027, allocations: 6.76 MB / 1.095 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001768/2.028, allocations: 0.7652 MB / 1.096 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02161/2.05, allocations: 13.08 MB / 1.109 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01246/2.062, allocations: 8.217 MB / 1.117 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001069/2.063, allocations: 27.69 kB / 1.117 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001359/2.063, allocations: 41.58 kB / 1.117 GB, free: 142.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05577/2.119, allocations: 27.93 MB / 1.144 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/2.119, allocations: 4.469 kB / 1.144 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004802/2.123, allocations: 1.108 MB / 1.145 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006538/2.13, allocations: 2.634 MB / 1.148 GB, free: 130.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001523/2.132, allocations: 154.4 kB / 1.148 GB, free: 130.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03484/2.166, allocations: 35.86 MB / 1.183 GB, free: 104.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/2.166, allocations: 4 kB / 1.183 GB, free: 104.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02777/2.194, allocations: 18.77 MB / 1.201 GB, free: 86.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006461/2.201, allocations: 1.759 MB / 1.203 GB, free: 84.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002892/2.204, allocations: 124 kB / 1.203 GB, free: 84.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00494/2.209, allocations: 399.6 kB / 1.203 GB, free: 84.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001827/2.21, allocations: 0.5258 MB / 1.204 GB, free: 83.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009332/2.211, allocations: 196 kB / 1.204 GB, free: 83.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00854/2.22, allocations: 4.793 MB / 1.209 GB, free: 78.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.6e-07/2.22, allocations: 0 / 1.209 GB, free: 78.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01177/2.232, allocations: 3.053 MB / 1.212 GB, free: 75.82 MB / 0.5137 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,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,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.001384/2.233, allocations: 356.3 kB / 1.212 GB, free: 75.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01818/2.251, allocations: 13.38 MB / 1.225 GB, free: 61.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/2.251, allocations: 4 kB / 1.225 GB, free: 61.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.009933/2.261, allocations: 7.563 MB / 1.233 GB, free: 54.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/2.272, allocations: 2.144 MB / 1.235 GB, free: 52.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05344/2.325, allocations: 31.92 MB / 1.266 GB, free: 20.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01353/2.339, allocations: 11.35 MB / 1.277 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008295/2.347, allocations: 3.285 MB / 1.28 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/2.35, allocations: 0.5618 MB / 1.281 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of SimCode: time 1.143e-06/2.35, allocations: 4 kB / 1.281 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of Templates: time 0.3918/2.741, allocations: 126.8 MB / 1.404 GB, free: 53.64 MB / 0.5137 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile (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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1)