Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") translateModel(HanserModelica.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 116.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.328/1.328, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001299/0.001299, 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.0357/0.0357, allocations: 8.801 MB / 349.3 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 75.88 kB / 468.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08019/0.08173, allocations: 51.55 MB / 0.5075 GB, free: 6.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Transformer): time 0.2181/0.2998, allocations: 49.49 MB / 0.5558 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02534/0.3252, allocations: 12.89 MB / 0.5684 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00927/0.3346, allocations: 377.6 kB / 0.5688 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03073/0.3653, allocations: 13.82 MB / 0.5823 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0175/0.3828, allocations: 5.422 MB / 0.5876 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009644/0.3925, allocations: 3.241 MB / 0.5907 GB, free: 8.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02781/0.4203, allocations: 24.21 MB / 0.6144 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0669/0.4873, allocations: 46.96 MB / 0.6602 GB, free: 2.789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01834/0.5056, allocations: 12.65 MB / 0.6726 GB, free: 6.129 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01966/0.5253, allocations: 13.82 MB / 0.6861 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00756/0.5329, allocations: 3.625 MB / 0.6896 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.5432, allocations: 4.105 MB / 0.6936 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008121/0.5514, allocations: 7.291 MB / 0.7008 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.02067/0.5721, allocations: 13.79 MB / 0.7142 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.4192/0.9913, allocations: 48.68 MB / 0.7618 GB, free: 86.57 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.9913, allocations: 0 / 0.7618 GB, free: 86.57 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9913, allocations: 0.8125 kB / 0.7618 GB, free: 86.57 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.001127/0.9924, allocations: 0 / 0.7618 GB, free: 86.57 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: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.08161/1.074, allocations: 27.61 MB / 0.7887 GB, free: 72.66 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.074, allocations: 7.625 kB / 0.7887 GB, free: 72.66 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07681/1.151, allocations: 13.94 MB / 0.8024 GB, free: 64.23 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02689/1.178, allocations: 14.99 MB / 0.817 GB, free: 49.9 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009365/1.179, allocations: 1.574 MB / 0.8185 GB, free: 48.35 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00859/1.187, allocations: 2.072 MB / 0.8206 GB, free: 46.29 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08089/1.268, allocations: 34.71 MB / 0.8545 GB, free: 11.52 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006515/1.269, allocations: 35.08 kB / 0.8545 GB, free: 11.48 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00658/1.276, allocations: 0.8589 MB / 0.8553 GB, free: 10.64 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00082/1.276, allocations: 1.153 MB / 0.8564 GB, free: 9.488 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06372/1.34, allocations: 32.33 MB / 0.888 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4035/1.744, allocations: 106.2 MB / 0.9918 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03151/1.775, allocations: 50.86 MB / 1.041 GB, free: 117.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01253/1.788, allocations: 9.778 MB / 1.051 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03143/1.819, allocations: 22.52 MB / 1.073 GB, free: 96.53 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/1.819, allocations: 133.8 kB / 1.073 GB, free: 96.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=894): time 1.064e-05/1.819, allocations: 0 / 1.073 GB, free: 96.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=906): time 0.05575/1.875, allocations: 39.47 MB / 1.112 GB, free: 56.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/1.875, allocations: 168.5 kB / 1.112 GB, free: 56.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/1.886, allocations: 8.348 MB / 1.12 GB, free: 47.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001445/1.887, allocations: 173.7 kB / 1.12 GB, free: 47.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003458/1.891, allocations: 8.676 MB / 1.129 GB, free: 39.06 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002536/1.893, allocations: 3.058 MB / 1.132 GB, free: 36.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003337/1.897, allocations: 2.212 MB / 1.134 GB, free: 33.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.224e-05/1.897, allocations: 305.1 kB / 1.134 GB, free: 33.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007931/1.905, allocations: 6.241 MB / 1.14 GB, free: 27.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00943/1.914, allocations: 9.971 MB / 1.15 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0199/1.934, allocations: 17.23 MB / 1.167 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.578e-05/1.934, allocations: 36 kB / 1.167 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.2527/2.187, allocations: 20.29 MB / 1.187 GB, free: 194.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.721e-05/2.187, allocations: 59.84 kB / 1.187 GB, free: 194.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002166/2.187, allocations: 115.8 kB / 1.187 GB, free: 194.4 MB / 0.6075 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/2.19, allocations: 0.9301 MB / 1.188 GB, free: 194.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00963/2.2, allocations: 2.416 MB / 1.19 GB, free: 194.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009285/2.209, allocations: 12.48 MB / 1.202 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008739/2.218, allocations: 0.6051 MB / 1.203 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/2.219, allocations: 0.5164 MB / 1.203 GB, free: 187.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 531 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStep2QS[3].y,booleanStep2QS[2].y,booleanStep2QS[1].y,booleanStep1QS[3].y,booleanStep1QS[2].y,booleanStep1QS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (204,1.3%)} * 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 {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01082/2.23, allocations: 7.924 MB / 1.211 GB, free: 185 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/2.231, allocations: 0.9069 MB / 1.212 GB, free: 185 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02518/2.257, allocations: 17.01 MB / 1.229 GB, free: 178.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.602e-05/2.257, allocations: 50.16 kB / 1.229 GB, free: 178.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/2.257, allocations: 4 kB / 1.229 GB, free: 178.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004877/2.262, allocations: 2.229 MB / 1.231 GB, free: 177.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001833/2.263, allocations: 162.9 kB / 1.231 GB, free: 177.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004912/2.268, allocations: 486.6 kB / 1.231 GB, free: 177 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001373/2.27, allocations: 0.7917 MB / 1.232 GB, free: 177 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02688/2.297, allocations: 16.77 MB / 1.249 GB, free: 167.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02241/2.319, allocations: 19.26 MB / 1.267 GB, free: 151.1 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006489/2.326, allocations: 6.189 MB / 1.273 GB, free: 144.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008294/2.334, allocations: 5.685 MB / 1.279 GB, free: 139.2 MB / 0.6075 GB Notification: Performance of Backend: time 4.31e-07/2.334, allocations: 0 / 1.279 GB, free: 139.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01888/2.353, allocations: 11.38 MB / 1.29 GB, free: 127.8 MB / 0.6075 GB Notification: Performance of SimCode: time 0.05455/2.407, allocations: 36.89 MB / 1.326 GB, free: 91 MB / 0.6075 GB Notification: Performance of Templates: time 0.4343/2.842, allocations: 177.1 MB / 1.499 GB, free: 158.2 MB / 0.6075 GB make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.makefile (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.sim & ./HanserModelica_HanserModelica.InductionMachines.IMC_Transformer -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_Transformer.pipe 2>&1)