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.001605/0.001605, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.351/1.351, allocations: 222.9 MB / 240.1 MB, free: 4.543 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.001298/0.001298, allocations: 188.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03649/0.03649, allocations: 8.793 MB / 349.3 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 79.88 kB / 468.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07839/0.07992, allocations: 51.57 MB / 0.5075 GB, free: 5.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_YD): time 0.1995/0.2795, allocations: 38.63 MB / 0.5452 GB, free: 6.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.2963, allocations: 10.19 MB / 0.5552 GB, free: 2.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005817/0.3021, allocations: 275.8 kB / 0.5554 GB, free: 2.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02047/0.3226, allocations: 10.08 MB / 0.5653 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.3348, allocations: 4.367 MB / 0.5696 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006075/0.3409, allocations: 2.403 MB / 0.5719 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01886/0.3597, allocations: 18.37 MB / 0.5898 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04312/0.4029, allocations: 35.08 MB / 0.6241 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01208/0.415, allocations: 9.417 MB / 0.6333 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01353/0.4285, allocations: 10.3 MB / 0.6433 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003778/0.4323, allocations: 2.68 MB / 0.646 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005567/0.4379, allocations: 3.039 MB / 0.6489 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004121/0.442, allocations: 5.424 MB / 0.6542 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01102/0.453, allocations: 10.19 MB / 0.6642 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03083/0.4839, allocations: 35.68 MB / 0.699 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4839, allocations: 0 / 0.699 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.033e-06/0.4839, allocations: 4 kB / 0.699 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005735/0.4845, allocations: 0 / 0.699 GB, free: 10.93 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.05036/0.5349, allocations: 20.62 MB / 0.7192 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5349, allocations: 12.02 kB / 0.7192 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3907/0.9256, allocations: 10.66 MB / 0.7296 GB, free: 138.3 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02035/0.946, allocations: 11.4 MB / 0.7407 GB, free: 136.6 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009821/0.947, allocations: 1.154 MB / 0.7418 GB, free: 136.1 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003893/0.9509, allocations: 1.511 MB / 0.7433 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0409/0.9918, allocations: 25.48 MB / 0.7682 GB, free: 123.4 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002922/0.9921, allocations: 33.5 kB / 0.7682 GB, free: 123.4 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001683/0.9938, allocations: 0.6261 MB / 0.7688 GB, free: 122.9 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005516/0.9944, allocations: 0.867 MB / 0.7697 GB, free: 122.8 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03305/1.027, allocations: 24.33 MB / 0.7935 GB, free: 99.88 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08959/1.117, allocations: 79.53 MB / 0.8711 GB, free: 19.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02834/1.145, allocations: 39.17 MB / 0.9094 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01037/1.156, allocations: 7.496 MB / 0.9167 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02676/1.183, allocations: 17.25 MB / 0.9335 GB, free: 328 kB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007611/1.19, allocations: 5.34 MB / 0.9387 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=719): time 8.216e-06/1.19, allocations: 0 / 0.9387 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of matching and sorting (n=727): time 0.4451/1.635, allocations: 41.98 MB / 0.9797 GB, free: 177.5 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.636, allocations: 473.2 kB / 0.9802 GB, free: 177 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00721/1.643, allocations: 6.364 MB / 0.9864 GB, free: 174.7 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.0005446/1.643, allocations: 150.9 kB / 0.9865 GB, free: 174.5 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.003625/1.647, allocations: 6.504 MB / 0.9929 GB, free: 169.7 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.001436/1.648, allocations: 2.415 MB / 0.9953 GB, free: 167.9 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002212/1.651, allocations: 1.782 MB / 0.997 GB, free: 167 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 3.372e-05/1.651, allocations: 309.1 kB / 0.9973 GB, free: 166.7 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005627/1.656, allocations: 4.825 MB / 1.002 GB, free: 164.9 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006847/1.663, allocations: 7.84 MB / 1.01 GB, free: 159.3 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/1.676, allocations: 13.19 MB / 1.023 GB, free: 150.6 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.16e-05/1.676, allocations: 23.09 kB / 1.023 GB, free: 150.6 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02053/1.697, allocations: 15.7 MB / 1.038 GB, free: 137.1 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 5.529e-05/1.697, allocations: 44 kB / 1.038 GB, free: 137.1 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-05/1.697, allocations: 94.91 kB / 1.038 GB, free: 137 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006288/1.703, allocations: 2.924 MB / 1.041 GB, free: 134 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005961/1.709, allocations: 1.856 MB / 1.043 GB, free: 132.2 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03281/1.742, allocations: 33.25 MB / 1.075 GB, free: 98.13 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006592/1.749, allocations: 0.5619 MB / 1.076 GB, free: 97.57 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006033/1.749, allocations: 415.9 kB / 1.076 GB, free: 97.16 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.007313/1.756, allocations: 5.895 MB / 1.082 GB, free: 91.25 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.758, allocations: 0.6984 MB / 1.083 GB, free: 90.54 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01893/1.777, allocations: 13.41 MB / 1.096 GB, free: 76.98 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.685e-05/1.777, allocations: 39.86 kB / 1.096 GB, free: 76.94 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.777, allocations: 0 / 1.096 GB, free: 76.94 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0026/1.779, allocations: 1.773 MB / 1.097 GB, free: 75.14 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009946/1.78, allocations: 140 kB / 1.098 GB, free: 75 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003533/1.784, allocations: 407.5 kB / 1.098 GB, free: 74.61 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/1.785, allocations: 0.7044 MB / 1.099 GB, free: 73.9 MB / 0.5764 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02031/1.805, allocations: 13.09 MB / 1.111 GB, free: 60.86 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01708/1.822, allocations: 15.03 MB / 1.126 GB, free: 45.74 MB / 0.5764 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005013/1.827, allocations: 4.876 MB / 1.131 GB, free: 40.84 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.005143/1.833, allocations: 4.314 MB / 1.135 GB, free: 36.54 MB / 0.5764 GB Notification: Performance of Backend: time 3.5e-07/1.833, allocations: 2.156 kB / 1.135 GB, free: 36.54 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.01454/1.847, allocations: 9.732 MB / 1.145 GB, free: 26.74 MB / 0.5764 GB Notification: Performance of SimCode: time 0.2277/2.075, allocations: 27.7 MB / 1.172 GB, free: 172.1 MB / 0.5764 GB Notification: Performance of Templates: time 0.188/2.263, allocations: 146.6 MB / 1.315 GB, free: 61.62 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)