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.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.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 112.4 kB / 16.42 MB, free: 6.445 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.316/1.316, allocations: 222.9 MB / 240.1 MB, free: 4.566 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.001293/0.001293, allocations: 203.6 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03611/0.03611, allocations: 8.786 MB / 349.3 MB, free: 4.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 84.2 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08054/0.08213, allocations: 51.56 MB / 0.5041 GB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_DOL): time 0.2084/0.2906, allocations: 38.32 MB / 0.5415 GB, free: 4.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.3068, allocations: 10.02 MB / 0.5513 GB, free: 2.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005224/0.3121, allocations: 290.9 kB / 0.5516 GB, free: 2.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.021/0.3331, allocations: 10.14 MB / 0.5615 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.346, allocations: 4.037 MB / 0.5654 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007369/0.3533, allocations: 2.378 MB / 0.5677 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01918/0.3725, allocations: 16.38 MB / 0.5837 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04639/0.419, allocations: 31.19 MB / 0.6142 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/0.4317, allocations: 8.517 MB / 0.6225 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01412/0.4459, allocations: 9.32 MB / 0.6316 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005631/0.4516, allocations: 2.418 MB / 0.634 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008215/0.4598, allocations: 2.812 MB / 0.6367 GB, free: 9.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006472/0.4663, allocations: 4.805 MB / 0.6414 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01464/0.4809, allocations: 9.203 MB / 0.6504 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03519/0.5162, allocations: 32.1 MB / 0.6817 GB, free: 11.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5162, allocations: 4 kB / 0.6817 GB, free: 11.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5162, allocations: 0 / 0.6817 GB, free: 11.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008418/0.5171, allocations: 0 / 0.6817 GB, free: 11.42 MB / 494.1 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.05343/0.5705, allocations: 18.67 MB / 0.7 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5706, allocations: 8.031 kB / 0.7 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05034/0.6209, allocations: 8.306 MB / 0.7081 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02024/0.6412, allocations: 10.21 MB / 0.7181 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001001/0.6422, allocations: 1.06 MB / 0.7191 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004488/0.6467, allocations: 1.402 MB / 0.7205 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3943/1.041, allocations: 22.74 MB / 0.7427 GB, free: 134 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003599/1.041, allocations: 21.12 kB / 0.7427 GB, free: 134 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002136/1.044, allocations: 0.5757 MB / 0.7432 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007664/1.044, allocations: 0.7766 MB / 0.744 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03466/1.079, allocations: 21.02 MB / 0.7645 GB, free: 124.9 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0867/1.166, allocations: 72 MB / 0.8348 GB, free: 57.52 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0236/1.189, allocations: 42.39 MB / 0.8762 GB, free: 10.24 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006589/1.196, allocations: 5.174 MB / 0.8813 GB, free: 5.047 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01903/1.215, allocations: 12.68 MB / 0.8937 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.882e-05/1.215, allocations: 86.7 kB / 0.8938 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=498): time 6.573e-06/1.215, allocations: 0 / 0.8938 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=506): time 0.0582/1.273, allocations: 26.36 MB / 0.9195 GB, free: 13.64 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/1.273, allocations: 133.3 kB / 0.9196 GB, free: 13.49 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009285/1.283, allocations: 5.759 MB / 0.9253 GB, free: 7.75 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008023/1.284, allocations: 113.7 kB / 0.9254 GB, free: 7.633 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00372/1.287, allocations: 6.152 MB / 0.9314 GB, free: 1.445 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001776/1.289, allocations: 1.731 MB / 0.9331 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002173/1.291, allocations: 1.461 MB / 0.9345 GB, free: 14.26 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/1.291, allocations: 305.1 kB / 0.9348 GB, free: 13.96 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005317/1.297, allocations: 3.626 MB / 0.9383 GB, free: 10.33 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007025/1.304, allocations: 6.478 MB / 0.9446 GB, free: 2.551 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2168/1.521, allocations: 10.76 MB / 0.9551 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.841e-05/1.521, allocations: 27.41 kB / 0.9552 GB, free: 175.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02068/1.541, allocations: 12.09 MB / 0.967 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/1.541, allocations: 48.75 kB / 0.967 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/1.542, allocations: 95.88 kB / 0.9671 GB, free: 173.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004618/1.546, allocations: 1.598 MB / 0.9687 GB, free: 173 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006366/1.553, allocations: 1.669 MB / 0.9703 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02053/1.573, allocations: 19.68 MB / 0.9895 GB, free: 159.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005601/1.579, allocations: 427.7 kB / 0.9899 GB, free: 159.7 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.58, allocations: 367.4 kB / 0.9903 GB, free: 159.7 MB / 0.5763 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.006873/1.587, allocations: 5.183 MB / 0.9953 GB, free: 157.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.588, allocations: 0.5966 MB / 0.9959 GB, free: 157.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/1.602, allocations: 9.359 MB / 1.005 GB, free: 153.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.862e-05/1.602, allocations: 24.47 kB / 1.005 GB, free: 153.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.602, allocations: 1.688 kB / 1.005 GB, free: 153.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002537/1.605, allocations: 1.35 MB / 1.006 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000953/1.606, allocations: 92.56 kB / 1.006 GB, free: 152.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/1.609, allocations: 282.3 kB / 1.007 GB, free: 152.7 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007327/1.61, allocations: 436.5 kB / 1.007 GB, free: 152.6 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01432/1.624, allocations: 8.941 MB / 1.016 GB, free: 149.5 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01212/1.636, allocations: 10.56 MB / 1.026 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003445/1.639, allocations: 3.31 MB / 1.029 GB, free: 141.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004632/1.644, allocations: 3.884 MB / 1.033 GB, free: 138.1 MB / 0.5763 GB Notification: Performance of Backend: time 3.61e-07/1.644, allocations: 0 / 1.033 GB, free: 138.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.655, allocations: 7.348 MB / 1.04 GB, free: 130.7 MB / 0.5763 GB Notification: Performance of SimCode: time 0.03292/1.688, allocations: 24.08 MB / 1.064 GB, free: 106.7 MB / 0.5763 GB Notification: Performance of Templates: time 0.3453/2.034, allocations: 113 MB / 1.174 GB, free: 181.5 MB / 0.5763 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_DOL.makefile (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)