Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_YD.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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(HanserModelica.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_YD") translateModel(HanserModelica.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.324/1.324, allocations: 222.9 MB / 240.1 MB, free: 4.379 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.001513/0.001513, allocations: 188.5 kB / 290.4 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03538/0.03538, allocations: 8.81 MB / 349.3 MB, free: 4.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 75.88 kB / 468.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08553/0.08705, allocations: 51.56 MB / 0.5075 GB, free: 5.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_YD): time 0.2459/0.333, allocations: 38.64 MB / 0.5452 GB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02322/0.3563, allocations: 10.19 MB / 0.5552 GB, free: 2.738 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009375/0.3657, allocations: 275.9 kB / 0.5554 GB, free: 2.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02458/0.3903, allocations: 10.15 MB / 0.5654 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01726/0.4076, allocations: 4.468 MB / 0.5697 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008425/0.4161, allocations: 2.395 MB / 0.5721 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02515/0.4412, allocations: 18.38 MB / 0.59 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05676/0.498, allocations: 35.08 MB / 0.6243 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01476/0.5128, allocations: 9.409 MB / 0.6335 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01609/0.5289, allocations: 10.31 MB / 0.6435 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006903/0.5359, allocations: 2.684 MB / 0.6461 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00906/0.545, allocations: 3.039 MB / 0.6491 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007828/0.5528, allocations: 5.424 MB / 0.6544 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01792/0.5708, allocations: 10.19 MB / 0.6644 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0394/0.6102, allocations: 35.69 MB / 0.6992 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.6102, allocations: 0 / 0.6992 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6102, allocations: 0 / 0.6992 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008507/0.6111, allocations: 0 / 0.6992 GB, free: 10.68 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4252 * Number of variables: 4252 Notification: Performance of Generate backend data structure: time 0.06198/0.6731, allocations: 20.62 MB / 0.7193 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.6731, allocations: 8.031 kB / 0.7194 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4345/1.108, allocations: 10.67 MB / 0.7298 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02287/1.131, allocations: 11.39 MB / 0.7409 GB, free: 136.6 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001189/1.132, allocations: 1.157 MB / 0.742 GB, free: 136.1 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004972/1.137, allocations: 1.515 MB / 0.7435 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04891/1.186, allocations: 25.47 MB / 0.7684 GB, free: 123.4 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003707/1.186, allocations: 27.58 kB / 0.7684 GB, free: 123.4 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002478/1.189, allocations: 0.6281 MB / 0.769 GB, free: 122.9 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006235/1.189, allocations: 0.8712 MB / 0.7699 GB, free: 122.7 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04155/1.231, allocations: 24.32 MB / 0.7936 GB, free: 99.59 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1058/1.337, allocations: 79.52 MB / 0.8713 GB, free: 19.12 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02977/1.366, allocations: 39.17 MB / 0.9095 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0118/1.378, allocations: 7.496 MB / 0.9169 GB, free: 1.203 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03414/1.412, allocations: 17.25 MB / 0.9337 GB, free: 36 kB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00871/1.421, allocations: 5.343 MB / 0.9389 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=719): time 1.034e-05/1.421, allocations: 0 / 0.9389 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of matching and sorting (n=727): time 0.5019/1.923, allocations: 41.97 MB / 0.9799 GB, free: 177.5 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.923, allocations: 477.3 kB / 0.9803 GB, free: 177 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008365/1.932, allocations: 6.371 MB / 0.9866 GB, free: 174.6 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.00119/1.933, allocations: 149.9 kB / 0.9867 GB, free: 174.5 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.00453/1.937, allocations: 6.504 MB / 0.9931 GB, free: 169.7 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.002273/1.94, allocations: 2.417 MB / 0.9954 GB, free: 167.9 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002389/1.942, allocations: 1.785 MB / 0.9972 GB, free: 167 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 4.15e-05/1.942, allocations: 301.1 kB / 0.9975 GB, free: 166.7 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005837/1.948, allocations: 4.828 MB / 1.002 GB, free: 164.9 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007368/1.955, allocations: 7.836 MB / 1.01 GB, free: 159.3 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/1.97, allocations: 13.19 MB / 1.023 GB, free: 150.4 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/1.97, allocations: 26.78 kB / 1.023 GB, free: 150.4 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02261/1.993, allocations: 15.71 MB / 1.038 GB, free: 136.8 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 5.883e-05/1.993, allocations: 40 kB / 1.038 GB, free: 136.7 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.475e-05/1.993, allocations: 92 kB / 1.038 GB, free: 136.6 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006244/1.999, allocations: 2.933 MB / 1.041 GB, free: 133.7 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00644/2.006, allocations: 1.852 MB / 1.043 GB, free: 131.8 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03263/2.038, allocations: 33.25 MB / 1.075 GB, free: 97.79 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007565/2.046, allocations: 0.5658 MB / 1.076 GB, free: 97.22 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/2.047, allocations: 416 kB / 1.076 GB, free: 96.82 MB / 0.5764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 408 * Number of states: 0 () * Number of discrete variables: 48 (booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,switchYDQS.logicalDelay[3].tSwitch,$PRE.switchYDQS.logicalDelay[3].tSwitch,switchYDQS.logicalDelay[3].y2,switchYDQS.logicalDelay[3].y1,switchYDQS.logicalDelay[2].tSwitch,$PRE.switchYDQS.logicalDelay[2].tSwitch,switchYDQS.logicalDelay[2].y2,switchYDQS.logicalDelay[2].y1,switchYDQS.logicalDelay[1].tSwitch,$PRE.switchYDQS.logicalDelay[1].tSwitch,switchYDQS.logicalDelay[1].y2,switchYDQS.logicalDelay[1].y1,booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (986): * Single equations (assignments): 979 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 6 systems {(1,1,100.0%), (24,108,31.2%), (1,8,100.0%), (9,25,33.3%), (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.008271/2.056, allocations: 5.887 MB / 1.082 GB, free: 90.91 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/2.057, allocations: 0.7033 MB / 1.083 GB, free: 90.2 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01875/2.076, allocations: 13.41 MB / 1.096 GB, free: 76.64 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.649e-05/2.076, allocations: 35.86 kB / 1.096 GB, free: 76.6 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/2.076, allocations: 0 / 1.096 GB, free: 76.6 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003977/2.08, allocations: 1.778 MB / 1.098 GB, free: 74.8 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/2.081, allocations: 140 kB / 1.098 GB, free: 74.66 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003394/2.085, allocations: 407.5 kB / 1.098 GB, free: 74.26 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/2.086, allocations: 0.7122 MB / 1.099 GB, free: 73.55 MB / 0.5764 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02004/2.106, allocations: 13.09 MB / 1.112 GB, free: 60.52 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01773/2.124, allocations: 15.02 MB / 1.126 GB, free: 45.41 MB / 0.5764 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005251/2.129, allocations: 4.876 MB / 1.131 GB, free: 40.51 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.005653/2.135, allocations: 4.318 MB / 1.135 GB, free: 36.2 MB / 0.5764 GB Notification: Performance of Backend: time 5.11e-07/2.135, allocations: 0 / 1.135 GB, free: 36.2 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.01908/2.154, allocations: 9.737 MB / 1.145 GB, free: 26.4 MB / 0.5764 GB Notification: Performance of SimCode: time 0.2686/2.422, allocations: 27.7 MB / 1.172 GB, free: 172.1 MB / 0.5764 GB Notification: Performance of Templates: time 0.1947/2.617, allocations: 146.6 MB / 1.315 GB, free: 61.23 MB / 0.5764 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_YD.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_YD.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_YD.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_YD.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_YD.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_YD -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_YD.pipe 2>&1)