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.00158/0.00158, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.345/1.345, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001285/0.001285, allocations: 187.8 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03635/0.03635, allocations: 8.79 MB / 349.3 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 83.88 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07841/0.07998, allocations: 51.56 MB / 0.5041 GB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.203/0.283, allocations: 45.32 MB / 0.5483 GB, free: 2.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02021/0.3032, allocations: 11.79 MB / 0.5599 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006573/0.3098, allocations: 354.3 kB / 0.5602 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02634/0.3362, allocations: 12.34 MB / 0.5722 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01575/0.352, allocations: 4.794 MB / 0.5769 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008335/0.3603, allocations: 2.923 MB / 0.5798 GB, free: 72 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0231/0.3834, allocations: 20.94 MB / 0.6002 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05647/0.4399, allocations: 41.95 MB / 0.6412 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01349/0.4535, allocations: 10.98 MB / 0.6519 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01619/0.4697, allocations: 12.02 MB / 0.6637 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005174/0.4749, allocations: 3.133 MB / 0.6667 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0074/0.4823, allocations: 3.542 MB / 0.6702 GB, free: 7.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00539/0.4877, allocations: 6.239 MB / 0.6763 GB, free: 1.336 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01476/0.5025, allocations: 11.9 MB / 0.6879 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4192/0.9216, allocations: 41.42 MB / 0.7283 GB, free: 84.08 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9217, allocations: 4.297 kB / 0.7283 GB, free: 84.08 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9217, allocations: 0 / 0.7283 GB, free: 84.08 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.0008263/0.9225, allocations: 0 / 0.7283 GB, free: 84.08 MB / 0.5138 GB 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.06289/0.9854, allocations: 23.89 MB / 0.7517 GB, free: 78.17 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.9855, allocations: 12.25 kB / 0.7517 GB, free: 78.17 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05998/1.045, allocations: 11.35 MB / 0.7628 GB, free: 75.57 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02272/1.068, allocations: 13.41 MB / 0.7759 GB, free: 70.88 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008871/1.069, allocations: 1.359 MB / 0.7772 GB, free: 70.21 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004883/1.074, allocations: 1.789 MB / 0.7789 GB, free: 68.44 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05417/1.128, allocations: 29.58 MB / 0.8078 GB, free: 38.79 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004723/1.129, allocations: 27.56 kB / 0.8079 GB, free: 38.76 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003394/1.132, allocations: 0.74 MB / 0.8086 GB, free: 38.04 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006505/1.133, allocations: 0.9868 MB / 0.8095 GB, free: 37.05 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04075/1.173, allocations: 27.29 MB / 0.8362 GB, free: 9.734 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1327/1.306, allocations: 92.91 MB / 0.9269 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2351/1.541, allocations: 51.95 MB / 0.9777 GB, free: 202.1 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01116/1.553, allocations: 7.296 MB / 0.9848 GB, free: 202 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02891/1.581, allocations: 20.02 MB / 1.004 GB, free: 195.5 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.999e-05/1.582, allocations: 111.5 kB / 1.004 GB, free: 195.4 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=677): time 8.245e-06/1.582, allocations: 0 / 1.004 GB, free: 195.4 MB / 0.6232 GB Notification: Performance of matching and sorting (n=685): time 0.0729/1.654, allocations: 38.13 MB / 1.042 GB, free: 179.8 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/1.655, allocations: 148.1 kB / 1.042 GB, free: 179.7 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007718/1.662, allocations: 7.111 MB / 1.049 GB, free: 175 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005413/1.663, allocations: 137.7 kB / 1.049 GB, free: 174.9 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002774/1.666, allocations: 7.801 MB / 1.057 GB, free: 167.2 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.667, allocations: 2.332 MB / 1.059 GB, free: 164.9 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00229/1.669, allocations: 1.872 MB / 1.061 GB, free: 163 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 3.332e-05/1.669, allocations: 301.1 kB / 1.061 GB, free: 162.7 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005624/1.675, allocations: 4.852 MB / 1.066 GB, free: 157.8 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006558/1.681, allocations: 8.344 MB / 1.074 GB, free: 147.9 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/1.695, allocations: 13.99 MB / 1.087 GB, free: 132.3 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.99e-05/1.695, allocations: 32 kB / 1.087 GB, free: 132.2 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02071/1.715, allocations: 16.08 MB / 1.103 GB, free: 116 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/1.715, allocations: 52 kB / 1.103 GB, free: 116 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.68e-05/1.715, allocations: 112.8 kB / 1.103 GB, free: 115.8 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005584/1.721, allocations: 2.586 MB / 1.106 GB, free: 113.2 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006739/1.728, allocations: 2.098 MB / 1.108 GB, free: 111.1 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02847/1.756, allocations: 30.78 MB / 1.138 GB, free: 79.27 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006727/1.763, allocations: 0.5325 MB / 1.138 GB, free: 78.74 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006698/1.764, allocations: 456 kB / 1.139 GB, free: 78.29 MB / 0.6232 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.007977/1.772, allocations: 6.77 MB / 1.146 GB, free: 71.51 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.773, allocations: 0.7676 MB / 1.146 GB, free: 70.73 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/1.791, allocations: 13.06 MB / 1.159 GB, free: 57.45 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.733e-05/1.791, allocations: 43.86 kB / 1.159 GB, free: 57.41 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.791, allocations: 3.938 kB / 1.159 GB, free: 57.41 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/1.794, allocations: 1.76 MB / 1.161 GB, free: 55.62 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.795, allocations: 124 kB / 1.161 GB, free: 55.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003599/1.799, allocations: 391.6 kB / 1.161 GB, free: 55.11 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000939/1.8, allocations: 0.5834 MB / 1.162 GB, free: 54.53 MB / 0.6232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01922/1.819, allocations: 12.45 MB / 1.174 GB, free: 42.11 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01608/1.835, allocations: 14.48 MB / 1.188 GB, free: 27.52 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004724/1.84, allocations: 4.609 MB / 1.193 GB, free: 22.88 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.005529/1.845, allocations: 4.786 MB / 1.197 GB, free: 18.12 MB / 0.6232 GB Notification: Performance of Backend: time 1.162e-06/1.845, allocations: 0 / 1.197 GB, free: 18.12 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01407/1.859, allocations: 9.791 MB / 1.207 GB, free: 8.27 MB / 0.6232 GB Notification: Performance of SimCode: time 0.2223/2.082, allocations: 31.34 MB / 1.238 GB, free: 231.1 MB / 0.6232 GB Notification: Performance of Templates: time 0.1989/2.281, allocations: 148.4 MB / 1.382 GB, free: 112.8 MB / 0.6232 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 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1)