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.001538/0.001538, allocations: 110.4 kB / 16.42 MB, free: 6.473 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.367/1.367, allocations: 222.9 MB / 240.1 MB, free: 4.512 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.001399/0.001399, allocations: 192.4 kB / 290.4 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03602/0.03602, allocations: 8.802 MB / 349.3 MB, free: 4.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 79.88 kB / 464.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08137/0.08305, allocations: 51.56 MB / 0.5041 GB, free: 9.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.216/0.2991, allocations: 45.33 MB / 0.5483 GB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02262/0.3218, allocations: 11.79 MB / 0.5599 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008913/0.3307, allocations: 351.7 kB / 0.5602 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02817/0.3589, allocations: 12.44 MB / 0.5723 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01671/0.3757, allocations: 4.902 MB / 0.5771 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008891/0.3846, allocations: 2.921 MB / 0.58 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02523/0.4098, allocations: 20.94 MB / 0.6004 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06101/0.4709, allocations: 41.95 MB / 0.6414 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01599/0.4869, allocations: 10.98 MB / 0.6521 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01856/0.5055, allocations: 12.02 MB / 0.6639 GB, free: 14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007616/0.5131, allocations: 3.133 MB / 0.6669 GB, free: 10.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01166/0.5248, allocations: 3.539 MB / 0.6704 GB, free: 7.328 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009254/0.5341, allocations: 6.251 MB / 0.6765 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01852/0.5526, allocations: 11.9 MB / 0.6881 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.436/0.9886, allocations: 41.53 MB / 0.7287 GB, free: 84.07 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9887, allocations: 3.797 kB / 0.7287 GB, free: 84.07 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9887, allocations: 0 / 0.7287 GB, free: 84.07 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.0009306/0.9896, allocations: 1.5 kB / 0.7287 GB, free: 84.07 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.0677/1.057, allocations: 24.32 MB / 0.7524 GB, free: 77.47 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.057, allocations: 7.844 kB / 0.7524 GB, free: 77.47 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06107/1.118, allocations: 11.44 MB / 0.7636 GB, free: 74.59 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02618/1.145, allocations: 13.46 MB / 0.7767 GB, free: 69.86 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001183/1.146, allocations: 1.362 MB / 0.7781 GB, free: 69.19 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006129/1.152, allocations: 1.784 MB / 0.7798 GB, free: 67.42 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05616/1.208, allocations: 29.58 MB / 0.8087 GB, free: 37.76 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004776/1.209, allocations: 23.47 kB / 0.8087 GB, free: 37.74 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003694/1.212, allocations: 0.7396 MB / 0.8094 GB, free: 37.02 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006452/1.213, allocations: 0.9946 MB / 0.8104 GB, free: 36.02 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0446/1.258, allocations: 27.29 MB / 0.8371 GB, free: 8.707 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1515/1.409, allocations: 93.14 MB / 0.928 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2464/1.656, allocations: 51.97 MB / 0.9788 GB, free: 200.7 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01244/1.668, allocations: 7.296 MB / 0.9859 GB, free: 200.6 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03798/1.706, allocations: 20.04 MB / 1.005 GB, free: 193.8 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.867e-05/1.706, allocations: 115.2 kB / 1.006 GB, free: 193.8 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=677): time 1.401e-05/1.706, allocations: 0 / 1.006 GB, free: 193.8 MB / 0.6232 GB Notification: Performance of matching and sorting (n=685): time 0.08458/1.791, allocations: 38.53 MB / 1.043 GB, free: 177.8 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/1.791, allocations: 149.4 kB / 1.043 GB, free: 177.7 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/1.802, allocations: 7.117 MB / 1.05 GB, free: 173 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001044/1.803, allocations: 137.7 kB / 1.05 GB, free: 172.9 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.003561/1.807, allocations: 8.065 MB / 1.058 GB, free: 165.2 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002054/1.809, allocations: 2.438 MB / 1.061 GB, free: 162.8 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004216/1.813, allocations: 1.879 MB / 1.063 GB, free: 160.9 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 4.346e-05/1.813, allocations: 309.1 kB / 1.063 GB, free: 160.6 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006634/1.82, allocations: 4.853 MB / 1.068 GB, free: 155.7 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007783/1.827, allocations: 8.336 MB / 1.076 GB, free: 145.8 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/1.842, allocations: 13.98 MB / 1.089 GB, free: 130.2 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.575e-05/1.842, allocations: 36 kB / 1.089 GB, free: 130.1 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02428/1.867, allocations: 16.12 MB / 1.105 GB, free: 113.9 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/1.867, allocations: 56 kB / 1.105 GB, free: 113.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/1.867, allocations: 114.3 kB / 1.105 GB, free: 113.7 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005671/1.872, allocations: 2.574 MB / 1.108 GB, free: 111.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007653/1.88, allocations: 2.105 MB / 1.11 GB, free: 109 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03027/1.91, allocations: 30.82 MB / 1.14 GB, free: 77.09 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00731/1.918, allocations: 0.5268 MB / 1.14 GB, free: 76.56 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001538/1.919, allocations: 456 kB / 1.141 GB, free: 76.11 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.01062/1.93, allocations: 6.766 MB / 1.148 GB, free: 69.33 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002196/1.932, allocations: 0.7996 MB / 1.148 GB, free: 68.53 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02235/1.955, allocations: 13.09 MB / 1.161 GB, free: 55.23 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001232/1.955, allocations: 31.88 kB / 1.161 GB, free: 55.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/1.955, allocations: 3.938 kB / 1.161 GB, free: 55.2 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004134/1.959, allocations: 1.8 MB / 1.163 GB, free: 53.37 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002163/1.961, allocations: 124 kB / 1.163 GB, free: 53.25 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004754/1.966, allocations: 395.6 kB / 1.163 GB, free: 52.86 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001454/1.967, allocations: 0.5852 MB / 1.164 GB, free: 52.28 MB / 0.6232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02284/1.99, allocations: 12.46 MB / 1.176 GB, free: 39.84 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02027/2.01, allocations: 14.52 MB / 1.19 GB, free: 25.21 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005368/2.016, allocations: 4.613 MB / 1.195 GB, free: 20.57 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.007882/2.024, allocations: 4.789 MB / 1.199 GB, free: 15.81 MB / 0.6232 GB Notification: Performance of Backend: time 7.72e-07/2.024, allocations: 0 / 1.199 GB, free: 15.81 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01838/2.042, allocations: 9.815 MB / 1.209 GB, free: 5.914 MB / 0.6232 GB Notification: Performance of SimCode: time 0.2499/2.292, allocations: 31.86 MB / 1.24 GB, free: 231.5 MB / 0.6232 GB Notification: Performance of Templates: time 0.2063/2.498, allocations: 148.4 MB / 1.385 GB, free: 111.3 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)